- 11 Nov, 2008 3 commits
-
-
Keir Fraser authored
iommu_suspend(), iommu_resume(), iommu_enable() translation don't have meaningful return values. Changed their function types to void. Signed-off-by: Allen Kay <allen.m.kay@intel.com>
-
Keir Fraser authored
Move affinity-setting logic into its own function and call from relevant places. From: Jiri Denemark <jdenemar@redhat.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
Keir Fraser authored
net/if.h is a standard header but unfortunately lwip doesn't provide it for any target but linux. Therefore I am adding a net/if.h, with an empty implementation of the declared functions. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
-
- 10 Nov, 2008 1 commit
-
-
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>=
-
- 07 Nov, 2008 2 commits
-
-
Keir Fraser authored
should respect SS size, not CS size. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
Keir Fraser authored
Signed-off-by: Jinsong Liu <jinsong.liu@intel.com>
-
- 06 Nov, 2008 3 commits
-
-
Keir Fraser authored
From: Disheng Su <disheng.su@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
Keir Fraser authored
Signed-off-by: Jan Beulich <jbeulich@novell.com>
-
Keir Fraser authored
which can execute on arbitrary domains. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
- 05 Nov, 2008 5 commits
-
-
Keir Fraser authored
Hugepage support must be enabled via the hypervisor command line option "allowhugepage". There is currently no support in the tools for saving/restoring/migrating guests who use hugepages. Signed-off-by: Dave McCracken <dave.mccracken@oracle.com>
-
Keir Fraser authored
Signed-off-by Kevin Tian <kevin.tian@intel.com>
-
Keir Fraser authored
From: Disheng Su <disheng.su@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
Keir Fraser authored
The net changes of this patch are that the reader-side lock is put into the path of the migration code and the writer lock into the path of the code that handles the changing of the policy. Simultaneous migrations of multiple hosts still work after this lock has been added. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
-
Keir Fraser authored
This patch adds a reader-writer lock primitive to xend since python does not provide it by default. The implementation is based on a condition variable. Some test code is appended at the end of the file. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
-
- 04 Nov, 2008 2 commits
-
-
Keir Fraser authored
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
Keir Fraser authored
bits set. In order to allow 2.6.27's get_user_pages_fast() to correctly detect granted pages (so they would be passed to get_user_pages()), it must be possible to tell the grant table code in Xen to set the three available bits in the pte-s it creates. Signed-off-by: Jan Beulich <jbeulich@novell.com>
-
- 03 Nov, 2008 5 commits
-
-
Keir Fraser authored
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
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: Jan Beulich <jbeulich@novell.com>
-
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: Jan Beulich <jbeulich@novell.com>
-
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: Jinsong Liu <jinsong.liu@intel.com>
-
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: Pat Campbell <plc@novell.com>
-
- 31 Oct, 2008 1 commit
-
-
Keir Fraser authored
timers are fired. The default continues to be 50us, but this can be configured on Xen's command line. Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Wei Gang <gang.wei@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
- 30 Oct, 2008 6 commits
-
-
Keir Fraser authored
Shadowed PV domains may take pagefaults with PFEC_reserved_bit bit set, which are then turned into page-not-present faults by the shadow code. Since that changes the error code in the regs structure, we need to remember the old error code when we later check for spurious page faults or we'll get false positives. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
-
Keir Fraser authored
- retain a page reference when PGT_partial is set on a page (and drop it when clearing that flag) - don't drop a page reference never acquired when freeing the page type of a page where the allocation of the type got preempted (and never completed) - don't acquire a page reference when allocating the page type of a page where freeing the type got preempted (and never completed, and hence didn't drop the respective reference) Signed-off-by: Jan Beulich <jbeulich@novell.com>
-
Keir Fraser authored
flavors of the respective functions. Signed-off-by: Jan Beulich <jbeulich@novell.com>
-
Keir Fraser authored
Add support for C1 FFH (mwait) entry. Meanwhile add timing for C1. The timing for C1 should be accurate for FFH case, but may not for halt case. Signed-off-by: Wei Gang <gang.wei@intel.com>
-
Keir Fraser authored
This patch adds an idx field in the 'struct acpi_processor_cx'. It can simplify some coding lines. Signed-off-by: Guanqun Lu <guanqun.lu@intel.com> Signed-off-by: Wei Gang <gang.wei@intel.com>=
-
Keir Fraser authored
A floppy on HVM can't be read correctly. This fix is taken from upstream bochs-2.3.7. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
-
- 29 Oct, 2008 6 commits
-
-
Keir Fraser authored
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
-
Keir Fraser authored
Some versions of GCC are too stupid to figure out that cpufreq_dom is only used if !!domexist and always set in that case, and complain that it may be used uninitialised. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
-
Keir Fraser authored
Original patch by Jan Beulich. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
Keir Fraser authored
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
-
Keir Fraser authored
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
Keir Fraser authored
Current cpufreq domain is an array cpufreq_dom_map[NR_CPUS]. However, domain number may be sparse or bigger than NR_CPUS. Signed-off-by: Jinsong Liu <jinsong.liu@intel.com>
-
- 28 Oct, 2008 4 commits
-
-
Keir Fraser authored
Tested by Jan Beulich and fixes a memory leak, but there is more to be done here. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
Keir Fraser authored
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
-
Keir Fraser authored
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
Keir Fraser authored
Signed-off-by: Ronghui Duan <ronghui.duan@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-
- 27 Oct, 2008 2 commits
-
-
Keir Fraser authored
Currently the minios headers do this: #define current get_current() Obviously when porting general code to this environment, this can cause problems ! The attached patch arranges for this only to be done if #define __MINIOS__ is declared, which is set up by the makefile in extras/mini-os. Suppressing the namespace pollution is necessary to get recent upstream qemu's to compile, since they (quite properly) use `current' as an ordinary identifier. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
-
Keir Fraser authored
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-