Commit Graph
14997 Commits
Author SHA1 Message Date
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
Keir Fraser 14d89699f4 vnet: Another build fix for finding Linux build tree and version.
Signed-off-by: Robert Valentan <R.Valentan@solid-soft.at>
2007-04-28 09:44:24 +01:00
Keir Fraser 7ca2718722 Fix 'sched=sedf' boot.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-28 09:37:32 +01:00
Keir Fraser 1476bb2606 xen: Fix build with recent GCC (4.1+).
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-28 09:28:00 +01:00
ewan@localhost.localdomain 05c35c5e14 Bump all API version numbers to 1.0.0.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-04-27 18:53:23 -07:00
Jake Wires adfd9f4561 Ensure blk{tap/back}'s vm_area is not freed twice on error case.
Signed-off-by: Jake Wires <jwires@xensource.com>
2007-04-27 17:54:06 -07:00
kfraser@localhost.localdomain 56c09b2443 vnet: Fix build of the vnet module.
- correcting KERNEL_SRC ( ./build-linux... )
- typing errors in Makefile.ver
- module-params
Signed-off-by: Robert Valentan <R.Valentan@solid-soft.at>
2007-04-27 16:27:07 +01:00
kfraser@localhost.localdomain 96a333869f Add INIT INFO block to example init.d/xend file.
Without it SuSE (and others?) will start xend before the
network.
Signed-off-by: Robert Valentan <R.Valentan@solid-soft.at>
2007-04-27 16:21:20 +01:00
Steven Hand e6dc4d5108 Handle EOF on xenstored socket.
Suggested by Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>.

Signed-off-by: Steven Hand <steven@xensource.com>
2007-04-27 16:17:44 +01:00
kfraser@localhost.localdomain 67cc36df17 xend: Auto-balloon a couple megabytes before creating an HVM domain as
Xen will allocate 1MB for shadow memory immediately.
Suggested by Daniel Berrange.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-27 15:22:34 +01:00
kfraser@localhost.localdomain 3734a7eda8 xend: Don't use -q flag to bootloader if activating text console.
In Xen 3.0.3 series release, if one did 'xm create -c someguest' then
you would be shown the pygrub boot menu, allowing one to pick a
kernel. If you didn't use the -c arg, then it'd just pick the default
kernel.

In Xen 3.0.5 testing, xm is forcing the addition of the '-q' flag
whenever the 'bootargs' parameter is not given in the config file. So
if one does not have 'bootargs' specified, and one uses 'xm create -c
someguest' you never get to see the pygrub boot menu.

This patch fixes 'xm create' so that it does not add the '-q' flag
to the bootloader args, if the '-c' flag is given to xm create. This
makes the default user experiance operate closer to user
expectations.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2007-04-27 15:12:48 +01:00
Tom Wilkie 1341c96dca [XEND] make *.get_all_records return dict of ref->record
Also clean up some handling of uuids and refs in xm

signed-of-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-27 15:09:39 +01:00
kfraser@localhost.localdomain cee87f9f44 xen: More 'IS_COMPAT' cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-27 15:06:55 +01:00
Steven Hand b8057a726d Allow dynamic_min/dynamic_max to (temporarily) be out of sync; in practice
we keep them identical but non-atomically.

Signed-off-by: Steven Hand <steven@xensource.com>
2007-04-27 14:45:06 +01:00
Steven Hand ec2ecedd08 Sanity check changes to memory dynamic/static min/max and ensure we cannot
get ourselves into an inconsistent state.

Signed-off-by: Steven Hand <steven@xensource.com>
2007-04-27 14:16:22 +01:00
Steven Smith 04b2c0721a Merge. 2007-04-27 13:31:09 +01:00
Steven Smith ebd759d57e 32 on 64: Don't lock up Xen if you need to do lots of grant operations
in a single batch for a 32-on-64 domain.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2007-04-27 13:25:58 +01:00
Tom Wilkie 21ac7c5fdd [XM] Differentiate between VLAN PIFs and normal PIFs in network-show
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-27 12:51:14 +01:00
Tom Wilkie cd389674c4 [XEND] Fix up PIF class, make it work
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-27 12:49:17 +01:00
Tom Wilkie 2f53778243 [XEND] Used shutil.rename to cope with /tmp and /var on different file systems
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-27 11:03:47 +01:00
Tom Wilkie e65161ebc2 [XM] Fix typo in XenAPI create code
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-27 11:02:47 +01:00
Tim Deegan e0a611976b Merge 2007-04-27 10:54:37 +01:00
Tim Deegan 4685faa09a [HVM] Save/restore: pad save structs up to a multiple of eight bytes.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-04-27 10:54:00 +01:00
Tom Wilkie ad62235514 [XEND] Start cleanly even with bad xml state files
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-27 10:44:11 +01:00
Tim Deegan 144c695d74 [XEN] Replace IS_COMPAT() in the shadow code with pv_32on64_*()
which test for the actual case we're interested in (PV PAE
pagetables disguised as 64bit ones by the compat mm code).
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-04-27 10:24:09 +01:00
kfraser@localhost.localdomain 83832f9dc0 hvm: Take care when checking ->is_compat flag now that HVM as well as
PV guests can assert it.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-26 18:33:34 +01:00
Tom Wilkie 6fb84d0fce Add support for creating networks to xm create XML file
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-26 17:30:56 +01:00
kfraser@localhost.localdomain 56d126ace6 hvmloader: Place SMBIOS tables at 0xE9000. Previous location was lower
than nay native system would place them.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-26 16:45:06 +01:00
Tom Wilkie fc0ab3e65a [XM-TEST] Add test for new network functions
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-26 16:15:08 +01:00
Tom Wilkie 21cdf90f7a [XM-TEST] Move network_utils.py to lib directory
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-26 15:48:09 +01:00
Tom Wilkie 1975a60f78 Add network-del and network-show commands to xm
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-26 15:40:35 +01:00
Tom Wilkie 15ef31e0c5 Add network.destroy() to XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-04-26 15:39:30 +01:00
kfraser@localhost.localdomain faae093917 domain builder: Fix sanity check for gzip size.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-26 15:42:49 +01:00
kfraser@localhost.localdomain 3ad25facec acm: Remove unecessary compat shim from do_acm_op().
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-26 15:36:09 +01:00
kfraser@localhost.localdomain f00713a392 acm: Fix 32-bit build with acm enabled.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-04-26 15:25:09 +01:00
kfraser@localhost.localdomain 03023435b5 blktap: Segments can span multiple clusters with tap:qcow.
In blktap's qcow we need split up read/write requests if the requests
span multiple clusters. However, with our MAX_AIO_REQUESTS define we
assume that there is only ever a single aio request per tapdisk
request and under heavy i/o we can run out of room causing us to
cancel requests.

Dynamically allocate (based on cluster_bits) the various io request
queues the driver maintains.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
2007-04-26 11:29:41 +01:00
kfraser@localhost.localdomain af92b4bbdf hvm ioemu: Fix SCSI initialisation after c/s 14942.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-26 11:18:42 +01:00
kfraser@localhost.localdomain fbc4f61a87 xen x86/64 compat: Fix size of accesses to trap_bounce.cs in asm.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-26 10:51:49 +01:00
kfraser@localhost.localdomain e101034b6c Remove non-ASCII chars in man page.
Signed-off-by: Charles Coffing <ccoffing@novell.com>
2007-04-26 09:52:34 +01:00
kfraser@localhost.localdomain 8482630322 xend: Tidy bootloader device constant.
In XendDomainInfo, BOOTLOADER_LOOPBACK_DEVICE is defined to be
'/dev/xvdp'.  However, there is still one place in this file that has
'/dev/xvdp' hard-coded.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
2007-04-26 09:51:39 +01:00