Commit Graph
15036 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 369bafdb1c xen: Big changes to x86 start-of-day:
1. x86/64 Xen now relocates itself to physical high memory. This is
    useful if we have devices that need very low memory, or if in
    future we want to grant a 1:1 mapping of low physical memory to a
    special 'native client domain'.

 2. We now only map low 16MB RAM statically. All other RAM is mapped
    dynamically within the constraints of the e820 map. It is
    recommended never to map MMIO regions, and this change means that
    Xen now obeys this constraint.

 3. The CPU bootup trampoline is now permanently installed at
    0x90000. This is necessary prereq for CPU hotplug.

 4. Start-of-day asm is generally cleaned up and diff between x86/32
    and x86/64 is reduced.

Signed-off-by: Keir Fraser <keir@xensource.com>
2007-05-10 18:02:55 +01:00
Christian Limpach 46f15346a6 [qemu patches] Update patches upto changeset 15032:8f510bf078c7.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-10 16:22:27 +01:00
Christian Limpach 31c9eb8003 [qemu patches] Update patches upto changeset 15032:8f510bf078c7.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-10 16:05:31 +01:00
Christian Limpach 5048ecdd7c [qemu] Remove atomic_set_bit, atomic_clear_bit and ia64_intrinsic.h and its
users.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-10 15:58:35 +01:00
Christian Limpach d5464e2ef3 [qemu] Remove unused -timeoffset option.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-10 15:39:28 +01:00
Christian Limpach 32eca924c4 [qemu] Remove -vnclisten option since the same functionality is now
available using the -vnc option.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-10 15:17:20 +01:00
Christian Limpach ca6028921d [qemu] Remove no longer needed change.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-10 15:10:16 +01:00
Christian Limpach 8c083820fd [qemu] Use qemu's -vnc option to specify the interface to listen on.
Domain config files still use the original syntax with vnc and vnclisten.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-10 15:02:05 +01:00
Christian Limpach a75c552442 [qemu] Fix shift key for non-graphical vnc displays (like the monitor).
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-10 14:44:45 +01:00
Christian Limpach 2dd343a99d [qemu] Sync data to disk if write cache is disabled.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-10 13:57:13 +01:00
Christian Limpach a8ab3e9d3a [qemu] Fix typo in previous ia64 build fix (my fault).
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-09 22:50:26 +01:00
Christian Limpach ac671b5fb8 [qemu] Fix ia64 build.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-05-09 22:12:20 +01:00
Ian Campbell 310ae8d009 [BUILDER] Ensure that the L3 page table page for a PAE guest which does not
support the extended-cr3 format is below the 4G boundary.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2007-05-09 18:53:02 +01:00
kfraser@localhost.localdomain 90bb7914c8 hvm: Save/restore register state across hypercalls.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-05-09 15:31:37 +01:00
Christian Limpach c74a52ad23 [ioemu] Update to qemu 0.90.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-09 14:17:15 +01:00
Christian Limpach 15f6eaada9 [qemu patches] Update patches upto changeset 15013:b78d611d1b.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
3.1.0-branched
2007-05-08 10:38:06 +01:00
Tim Deegan 1b542cb692 Merge 2007-05-08 10:32:38 +01:00
Tim Deegan b672b7a5c4 [HVM] Fix shadow remove-write-access heuristic for 64bit w2k3 linear map.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-05-08 10:32:05 +01:00
kfraser@localhost.localdomain 2f7f40357b xend hvm: Fix 'monitor=1' handling in domain config file.
Fix wrong python list assignment for "monitor=1". The old assignment
only works when using qemu-dm.debug in configure file.

Signed-off-by: You YongKang <yongkang.you@intel.com>
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
2007-05-08 10:21:23 +01:00
kfraser@localhost.localdomain 82cd1fd00e [Xen-API] Fix the rtc/timeoffset entry.
It cannot be 'None' as this is not parseable by the Java xmlrpc
library.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-05-08 10:17:46 +01:00
Keir Fraser 21bff006da ia64, linux: Import linux git changeset 5ee7737379b1d7f0c977c0f1661fbaf01a8d4721
Without this, IA64 vcpu hot plug/remove or domain save/restore cause
kernel panic.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-05-07 13:58:42 +01:00
Keir Fraser 52fbe1b974 linux: Add two arch hooks xen_pre_suspend() and xen_post_suspend() for
suspend/resume. Xen/ia64 needs them.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-05-07 13:57:18 +01:00
Keir Fraser 176aa1b08c ioemu: Fix typo in the ISO_Level3_Shift patch which prevents AltGr key working.
Signed-off-by: Cedric Schieli <cschieli@gmail.com>
2007-05-07 13:54:51 +01:00
Keir Fraser 19bfd597b4 xenstat: Remove the "vbd-%d-%d is a VBD." debugging statement.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-05-07 13:52:50 +01:00
Keir Fraser 199e9b6f53 hvm: Domains must be at least 2MB in size.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-05-05 13:48:05 +01:00
Keir Fraser 90829b52d7 Fix Xen API's Host.get_record method.
Currently it returns supported_bootloaders as a string.  This patch
returns supported_bootloaders as a 'string set' - per the spec.  The
c-bindings fail to parse response, expecting a set but only finding a
string.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
2007-05-05 11:23:55 +01:00
kfraser@localhost.localdomain 5ea167dcd7 blktap: Fix qcow max_aio_reqs calculation.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-05-03 19:25:47 +01:00
Christian Limpach 9d604d2ead [qemu patches] Update patches upto changeset 14986:1ddaf2650633.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-03 15:39:45 +01:00
kfraser@localhost.localdomain 0d03dd60a1 xend: Revert changeset 15002. Breaks xend restart in some cases.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-05-03 11:22:58 +01:00
kfraser@localhost.localdomain 320061b18e [IA64] Presently pygrub only looks in /efi/redhat/elilo.conf. It
should check for other distributions, plus a couple fallback
locations.

Signed-off-by: Aron Griffis <aron@hp.com>
2007-05-03 09:33:12 +01:00
kfraser@localhost.localdomain a20b52e572 ia64 doesn't use /usr/lib64 on any distribution. When it's present, it's a symlink to /usr/lib
Signed-off-by: Aron Griffis <aron@hp.com>
2007-05-03 09:32:35 +01:00
kfraser@localhost.localdomain dea6904c01 Even though 3.1.0 won't have an implementation for it, reserve
VCPUOP_register_vcpu_info anyway so that we can start talking about
the interface on the guest side.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
2007-05-03 09:29:07 +01:00
Brendan Cully 5d93b6f183 Put blktap character device back into /dev/xen.
Changeset 14895:800aa9f5cec9 accidentally moved it into /var/run/tap
along with the control FIFOs.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
2007-05-02 09:42:43 -07:00
Tom Wilkie ffed4cf8e8 [XEND] Move Vifctl.network('start') earlier in Xend startup so XendNode can find networks when its initialised.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-05-02 17:14:52 +01:00
Tom Wilkie 7601e982d4 Fix the fix for XendPIF
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-05-02 16:43:45 +01:00
Tom Wilkie 2623ab58fe Fix PIFIsPhysical exception when starting Xend
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-05-02 16:33:05 +01:00
Tom Wilkie f48f5ded45 [XM] Fix some small bugs in XenAPI create code.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-05-01 11:40:40 +01:00
Tom Wilkie 2b076853ac [XM] Fix get_single_vm bug
Stops traceback when given a bad domain name

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-05-01 11:36:44 +01:00
kfraser@localhost.localdomain 2816d048c5 xend: Interface capability identifiers are statically xen-3.0-*,
rather than being dynamically generated from actual Xen version
major/minor pair.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-05-02 15:25:02 +01:00
Tim Deegan e00a29ecd2 [HVM] Save/restore: fix cset 14995
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-05-02 14:53:27 +01:00
Tim Deegan b171a0d5e0 [HVM] Save/restore: save pending interrupts/events on HVM vcpus
along with the rest of the cpu state.  This stops us from dropping
interrupts after the vlapic has recorded them in the ISR but before the
guest has actually taken them.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-05-02 14:41:51 +01:00
Keir Fraser 12c9bce65c xend: Fix use of PIFIsPhysical (takes no arguments).
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-05-01 22:24:01 +01:00
Christian Limpach 596f933f56 [pv console] Move console information in xenstore to serial/0/.
Support information in console/ in a backwards compatible fashion.
This puts the serial port information for pv domains at the same
location where it is for hvm domains.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-05-01 14:17:01 +01:00
kfraser@localhost.localdomain 1f2d7a821f xend: Fix SrvDomain.op_save.
The xen.xend.server.SrvDomain class provides an op_save method for
saving guests. This just calls into the domain_save method on
xen.xend.XenDomain The latter recently gained an extra 'checkpoint'
argument, but the SrvDomain class is not providing this. The attached
patch simply makes the 'checkpoint' arg default to 'False' if not
provided by the caller which makes old calling convention.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2007-05-01 14:01:01 +01:00
kfraser@localhost.localdomain f92b83e597 xend: Ensure 2MB free before creating any domain. All domain creations
have an implicit memory overhead.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-05-01 10:20:55 +01:00
kfraser@localhost.localdomain 47d265319b xend: Fix spurious store changes on rename/migrate
_storeChanged() was incorrectly comparing a string to an sxpr, thus
always firing and causing unnecessary watches to be fired in the
domU.

Signed-off-by: John Levon <john.levon@sun.com>
2007-05-01 10:18:11 +01:00
kfraser@localhost.localdomain bb4adad4e1 save/restore: If ENABLE_LOGDIRTY fails, it may be because it is
already active. To find out, attempt to disable and then reenable the
mode.

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
2007-05-01 10:16:26 +01:00
kfraser@localhost.localdomain dc8f50b150 xend: Ensure bootable flag is set in internal xend config for tap
devices.

Original patch by: Jim Fehlig <jfehlig@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-05-01 10:15:08 +01:00
kfraser@localhost.localdomain e1064ed499 linux blkback/blktap: Request/response identifiers are u64, not long.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-05-01 10:08:36 +01:00
kfraser@localhost.localdomain e050e9784b Handle ISO_Level3_Shift keysym as AltGr in ioemu/vncfb.
The modern (xkb) way of mapping the AltGr key (113) seems to be using
the ISO_Level3_Shift keysym (0xFE03) instead of the obsolete
Mode_switch keysym (0xFF7E).

This patch let the "keysym to scancode" translator handle the
ISO_Level3_Shift correctly, enabling the use of characters like
~#{[|`\^@]} on a french keyboard.

From: Cedric Schieli <cschieli@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-30 15:06:34 +01:00