1. 11 Nov, 2008 3 commits
  2. 10 Nov, 2008 1 commit
    • Keir Fraser's avatar
      vtd: fix interrupt remapping to handle SMI RTE's with uninitialized · 82c97484
      Keir Fraser authored
      reserved fields
      
      Some BIOS does not zero out reserve fields in IOAPIC RTE's.
      clear_IO_APIC() zeroes out all RTE's except for RTE with MSI delivery
      type.  This is a problem when the host OS converts SMI delivery type
      to some other type but leaving the reserved field uninitialized.  This
      can cause interrupt remapping table out of bound error if "format"
      field is 1 and the uninitialized "index" field has a value that that
      is larger than the maximum index of interrupt remapping table.
      
      Signed-off-by: Allen Kay <allen.m.kay@intel.com>=
      82c97484
  3. 07 Nov, 2008 2 commits
  4. 06 Nov, 2008 3 commits
  5. 05 Nov, 2008 5 commits
  6. 04 Nov, 2008 2 commits
  7. 03 Nov, 2008 5 commits
    • Keir Fraser's avatar
      4cd8a74f
    • Keir Fraser's avatar
      x86: Fix GRANT_PTE_FLAGS. · 03dc0c1a
      Keir Fraser authored
      
      Since page table entries created through e.g. GNTTABOP_map_grant_ref
      are being passed through adjust_guest_l1e(), they must not generally
      get _PAGE_USER set - this will be taken care of by adjust_guest_l1e(),
      and it will ensure that these don't get _PAGE_GLOBAL set
      inadvertently.
      
      Due to the implied security aspect here (_PAGE_GLOBAL getting set on
      kernel pages for x86-64), I'd like to ask that this also be applied to
      older maintained branches.
      
      At the same time, set _PAGE_NX for pte-s created for grants (as long
      as hardware supports it), since it should be only data pages that remote
      domains are being given access to.
      Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
      03dc0c1a
    • Keir Fraser's avatar
      x86: simplify page reference handling for partially (in-)validated pages · 18a4292d
      Keir Fraser authored
      
      Simplify general page reference management for preempted (partially
      [in-]validated) pages: Reserve on reference that can be acquired
      without the risk of overflowing the reference count, thus allowing to
      have a simplified get_page() equivalent that cannot fail (but must be
      used with care).
      
      Doing this conversion pointed out a latent issue in the changes done
      previously in this area: The extra reference must be acquired before
      the 'normal' reference gets dropped, so the patch fixes this at once
      in both the alloc_page_type() and free_page_type() paths (it's really
      only the latter that failed to work with the change described above).
      Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
      18a4292d
    • Keir Fraser's avatar
      Cpufreq: Enhance hypervisor px sanity check · 7df6b00a
      Keir Fraser authored
      
      This patch enhances hypervisor px sanity check in 2 level:
      Firstly, move per-cpu-level px sanity check from each cpufreq driver
      to common point (@ hypercall path). Secondly, add per-domain-level px
      sanity check to common point (@ cpufreq_add_cpu).
      Signed-off-by: default avatarJinsong Liu <jinsong.liu@intel.com>
      7df6b00a
    • Keir Fraser's avatar
      xend: ioport & irq persistence thru reboot · 9cec91ab
      Keir Fraser authored
      When a domU is configured for a serial port as documented at:
         http://wiki.xensource.com/xenwiki/InstallationNotes
      
      
      
      the VM does see the serial port, however when dom0 is rebooted and
      the VM started it no longer has access to the serial port.
      
      xm list -l <vm> no longer shows the ioports or irq attributes
      
      Attached patch adds implementation of getDeviceConfiguration(),
      returns details dict and implements waitForDevice() to irqif.py and
      iopif.py.
      
      Also added preprocess_irq() to create.py.
      Signed-off-by: default avatarPat Campbell <plc@novell.com>
      9cec91ab
  8. 31 Oct, 2008 1 commit
  9. 30 Oct, 2008 6 commits
  10. 29 Oct, 2008 6 commits
  11. 28 Oct, 2008 4 commits
  12. 27 Oct, 2008 2 commits