Keir Fraser
bbf3a3eebd
linux: vmalloc_sync_all() is not a no-op when running in PAE mode on Xen.
...
Also vmalloc_sync_all() is only defined for x86 architectures so make
use of it in driver code conditional on CONFIG_X86.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-17 13:26:33 +00:00
kfraser@localhost.localdomain
0d1df40b65
Fix 64-bit build.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-17 09:59:00 +00:00
Jake Wires
b3fb1294fa
[TAPDISK] add tapdisk support for image chaining
...
Enables tapdisk to chain an arbitrary number of VDIs, propagating reads of
holes in children to their parent images. Introduces two new functions to the
tapdisk interface to facilitate this. Modifies the QCoW plugin to take
advantage of these changes, thus providing support for arbitrarily long chains
of QCoW image types.
2007-02-16 20:31:27 -08:00
kfraser@localhost.localdomain
3bddff4a58
x86-64: fix Lx_DISALLOW_MASK
...
x86-64's Lx_DISALLOW_MASK values weren't properly taking care of the
NX bit, L3 and L4 were needlessly customized, and the compat mode L3
one wasn't really matching native PAE.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-16 16:34:28 +00:00
kfraser@localhost.localdomain
e77ed40f70
linux/x86_64: miscellaneous initialization code cleanup
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-16 16:05:01 +00:00
kfraser@localhost.localdomain
2d420d93a6
hvm: Processor Objects require unique IDs.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-16 15:50:02 +00:00
kfraser@localhost.localdomain
938d51e10e
hvm: Dynamically generate the correct number of ACPI Processor Objects
...
in an SSDT.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-16 15:33:51 +00:00
Tim Deegan
a61c420101
[XEN] Set p2m page count-info fields properly on allocation.
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-16 13:10:00 +00:00
Tim Deegan
bd25d1048e
[HVM] Save/restore: explicitly name MSRs in save format
...
Signed off by: Mats Petersson (Mats.Petersson@amd.com )
2007-02-16 12:34:30 +00:00
kfraser@localhost.localdomain
29438379b9
Fix grant-table initialisation so that domain destruction does not barf.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-16 12:13:33 +00:00
kfraser@localhost.localdomain
090fa70b37
linux: remove {lock,unlock}_vm_area(). Instead use vmalloc_sync_all()
...
in alloc_vm_area().
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-16 11:24:10 +00:00
kfraser@localhost.localdomain
fd564aa780
Fix vncdisplay config option for HVM guests.
...
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com >
2007-02-16 09:57:25 +00:00
kfraser@localhost.localdomain
8d0689ddbe
hvm: Fix acpi processor id in MADT LAPIC entries.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-15 19:03:09 +00:00
kfraser@localhost.localdomain
d715d3e17b
ia64: Fix build failure
...
Signed-off-by: Alex WIlliamson <alex.williamson@hp.com >
2007-02-15 18:05:05 +00:00
Tim Deegan
789a25c656
[HVM] Save/restore: remove u8 from publich header
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-15 14:58:43 +00:00
kfraser@localhost.localdomain
4008fb3e4d
Remove unnecessary check from HVM builder.
...
Thanks to Guy Zana for spotting this.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-15 14:38:08 +00:00
kfraser@localhost.localdomain
cfafd88d92
Lift physical address restriction in save/restore code.
...
Bump this to 44 bits for x86-32 and 52 bits for x86-64.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-15 14:28:01 +00:00
kfraser@localhost.localdomain
073f9d922a
Propagate error return from elf_xen_parse().
...
From: Jan Beulich <jbeulich@novell.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-15 14:25:58 +00:00
kfraser@localhost.localdomain
eb9ec1a8a8
x86: fix NMI delivery to dom0
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-15 14:24:11 +00:00
kfraser@localhost.localdomain
56c508cce0
Bring TPM driver files to 2.6.18 level. Remove the tpm.c so that the
...
one from the kernel can be used and reduce changes to a minimum
required to compile the xen-specific driver.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-02-15 14:21:50 +00:00
kfraser@localhost.localdomain
5c4256ca47
[ACM] Update the xensec_ezpolicy ACM policy generation tool so
...
that it works with wxPython under Python 2.5.
Signed-off by: Reiner Sailer <sailer@us.ibm.com >
2007-02-15 14:20:05 +00:00
kfraser@localhost.localdomain
a5333b24d5
minios: build system cleanups.
...
- Added ARCH_LDFLAGS for architecture specific LDFLAGS
- Fixed build dependencies after changing makerule files
- Fixed ARCH_CFLAGS for 64bit guest, added ARCH_ASFLAGS
- Couple of variable renames
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com >
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk >
2007-02-15 14:18:21 +00:00
kfraser@localhost.localdomain
a917e6d478
Disable GCC stack protector for ROMBIOS.
...
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2007-02-15 14:17:00 +00:00
kfraser@localhost.localdomain
3169b9cf23
linux: miscellaneous changes after upgrade through 2.6.17.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-15 14:12:32 +00:00
kfraser@localhost.localdomain
ae79131cf1
linux: e820 handling adjustments
...
In certain places, machine_e820 should be used rather than e820.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-15 14:05:58 +00:00
kfraser@localhost.localdomain
620b8b957c
linux: user user_mode_vm() in place of user_mode() where necessary.
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-15 13:51:25 +00:00
kfraser@localhost.localdomain
07c2f1f3b0
linux: avoid need to modify include/linux/pfn.h
...
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-15 13:49:04 +00:00
kfraser@localhost.localdomain
a190e7e3da
linux: early_printk adjustments
...
This is a little more than a pure merge with 2.6.17, to remove a few
more non-Xen items.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-15 13:40:33 +00:00
kfraser@localhost.localdomain
2b41f02c7a
linux: proper mutex use in balloon driver
...
Mutexes are supposed to not use the old semaphore technique anymore.
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-02-15 13:38:59 +00:00
kfraser@localhost.localdomain
86531075d4
[VTPM] Add a missing initialization of a state variable in the TIS
...
device model so that the first response received after a resume is not
aborted.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-02-15 13:36:58 +00:00
kfraser@localhost.localdomain
a5c9d9c243
libxc: Fix xc_vcpu_{set,get}_affinity (Xen-bugzilla No.900).
...
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=900
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-02-15 13:36:00 +00:00
kfraser@localhost.localdomain
5ce8fafa94
Dynamic grant-table sizing.
...
Signed-off-by: Christopher CLark <christopher.clark@cl.cam.ac.uk >
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-15 10:54:12 +00:00
kfraser@localhost.localdomain
5e5b5b68b4
Remove unuseful and noisy seg-fixup warning message.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-15 10:34:21 +00:00
kfraser@localhost.localdomain
af9049b580
Remove old elf-parsing code from tools and from Xen.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-15 10:25:39 +00:00
Wim Colgate
c25f8d6b93
Protect self.domid from being empty
2007-02-14 12:18:32 -08:00
kfraser@localhost.localdomain
6422b05e11
Export PRI_xen_pfn rather than PRIpfn: less polluting of namespace.
...
libxc continues to use PRIpfn internally, #defined to PRI_xen_pfn.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-14 19:17:41 +00:00
kfraser@localhost.localdomain
b3f09a8a4f
Merge with xenppc-unstable.hg
2007-02-14 19:01:35 +00:00
kfraser@localhost.localdomain
9efb2db0a3
libelf: use xen code style.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-14 16:06:10 +00:00
kfraser@localhost.localdomain
ced24e96c7
linux: quieten some driver printk logging.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-14 16:05:28 +00:00
kfraser@localhost.localdomain
df8a199bd0
Another domctl fix to insert missing copy_to_guest.
...
Signed-off-by: Gerd Hoffmann <kraxel@suse.de >
2007-02-14 15:54:47 +00:00
Tim Deegan
46bb52f8a1
Merge
2007-02-14 14:47:05 +00:00
Tim Deegan
4e5334d94c
[XEN] Snapshot PAE l3es when they are shadowed.
...
We don't update the shadows so we mustn't look at the guest l3es
or we'll be confused by them if they change.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-14 14:46:18 +00:00
Tim Deegan
34bac08a56
[XEN] Re-sync PAE l3 shadows when PV guests change them
...
-in particular, for PAE Solaris guests
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-14 14:44:07 +00:00
kfraser@localhost.localdomain
56d4085f50
Make libelf not fail on unknown elf notes.
...
Signed-off-by: Gerd Hoffmann <kraxel@suse.de >
2007-02-14 12:37:13 +00:00
kfraser@localhost.localdomain
b3fa47dbc8
Add missing breaks to {set,get}_address_size domctls.
...
Signed-off-by: Gerd Hoffmann <kraxel@suse.de >
2007-02-14 12:35:36 +00:00
kfraser@localhost.localdomain
ed160caea0
Fix DEC instruction decode. Turn into SUB, not OR. :-)
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-14 12:14:49 +00:00
kfraser@localhost.localdomain
e036449798
Support INC/DEC in mmio decoder. Opcodes 0xFE and 0xFF.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-14 12:10:01 +00:00
Tim Deegan
22d7d00f7e
[XEN] New paging-assistance interface.
...
Adds paging_* functions, wrapping the existing shadow_* ones,
so that later hardware paging assistance can be hooked in at this level.
Separates p2m maintenance code into its own files.
Adjusts shadow code to comply with the new interfaces.
Changes all callers in arch/x86 to use the new interfaces.
Signed-off-by: Wei Huang <Wei.Huang2@amd.com >
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-14 12:02:20 +00:00
Ian Campbell
193ca2e8bb
[LINUX] Call ctrl_alt_del() to trigger a reboot so we benefit from the
...
generic infrastructure for cad_pid etc.
Add a ctrl_alt_del() implemenation to the PV on HVM compatibility
layer since ctrl_alt_del() is not exported on native kernels.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-02-13 15:32:25 +00:00
Hollis Blanchard
db31d0821d
[POWERPC][XEN] Use libelf for dom0 construction.
...
- Remove old 32-bit ELF loader hack.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2007-02-09 14:43:22 -06:00