Commit Graph
3615 Commits
Author SHA1 Message Date
emellor@leeni.uk.xensource.com e7e16fef9d Fix the unit test to match the new way of allocating VNC ports.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-09 10:13:37 +01:00
emellor@leeni.uk.xensource.com bdbb3176b8 Added a couple of unit tests for the sxp parsing.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-09 10:13:36 +01:00
emellor@leeni.uk.xensource.com 9f60fd73a8 Fix reference to buf in parsing of ocaml escapes.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-09 10:13:34 +01:00
emellor@leeni.uk.xensource.com 03b3d1627f Better diagnosis of the failure when Xend crashes. Thanks to Hollis Blanchard
for diagnosis.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-09 09:52:43 +01:00
chris@kneesaa.uk.xensource.com ff3a405c4d [qemu patches] Refresh patches.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-08 11:28:35 +01:00
chris@kneesaa.uk.xensource.com 7c45b14c84 [qemu patches] Update patches for changeset 10974:415614d3a1ee.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-08 11:27:12 +01:00
sos22@douglas.cl.cam.ac.uk 68fb557e74 [hvm/qemu] Flip the device model over to using the new Xen event channels
support.

Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-08 11:19:29 +01:00
kaf24@firebug.cl.cam.ac.uk 33351e725f [XENSTAT] Ignore domains that are being created/destroyed during get_info call.
Currently, xenstat_get_node exits with a failure and returns NULL if a
VM is deleted between the time the list of VMs is obtained and the time
it attempts to collect information about the VMs. This patch modifies xenstat
to ignore domains that transition during the call.

Signed-off-by: Simon Graham <Simon.Graham@stratus.com>
2006-08-08 10:36:32 +01:00
kaf24@firebug.cl.cam.ac.uk 70858a054e [XEND] Daemonise vncviewer when it is spawned from xend.
There are various reasons it should be daemonized, but the particular
problem we hit was that YaST called "xm create" and waited on output on
stdout/stderr; xm then spawned vncviewer (which never closed its
inherited stdout and stderr); xm then would exit, but YaST still had
open file descriptors, and therefore waited forever.  It would be
possible to work around in YaST, but it seemed cleaner to daemonize
vncviewer.

Signed-off-by:  Charles Coffing <ccoffing@novell.com>
2006-08-08 10:21:51 +01:00
kaf24@firebug.cl.cam.ac.uk e5d1731cea [XEND] Fix fallback and error path for domain destruction by domid,
or of non-existent domain.

I saw the following error message. (A domain of domain name XXX does 
not exist.)

# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     1019     2 r-----    29.8
# xm destroy XXX
Error: an integer is required

This patch fixes it to print the following error message.

# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     1019     2 r-----    35.8
# xm destroy XXX
Error: the domain 'XXX' does not exist.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-08-08 10:03:30 +01:00
kaf24@firebug.cl.cam.ac.uk dfcd4f6e10 [LIBXC] Do not gzclose() after close() on a gzdopen()'ed fd.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
2006-08-08 09:57:24 +01:00
kaf24@firebug.cl.cam.ac.uk 74d7945b4d [HVMLOADER] Only install hvmloader if it is built.
This reverts a broken change in changeset 10948 that broke
the ia64 build.
Signed-off-by: Al Stone <ahs3@fc.hp.com>
2006-08-08 09:51:08 +01:00
kaf24@firebug.cl.cam.ac.uk 122373c2a7 Add RH-ish localhost to xend-relocation-hosts-allow in xend-config.sxp
Signed-off-by: Jim Dykman <dykman@us.ibm.com>
2006-08-08 09:33:38 +01:00
kaf24@firebug.cl.cam.ac.uk a3c844bd07 [PYGRUB] Flesh out some of pygrub's functionality as was originally
intended. Changes include:
 * Addition of basic command line mode much like grub's so that you can
   boot things without having them specified in the config file
 * Edit/append mode for modifying kernel command lines, etc
 * Fix handling of case where the grub config didn't have a default
   specified

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2006-08-08 09:30:11 +01:00
kaf24@firebug.cl.cam.ac.uk c304f4e249 [HVM] Fix hvm boot when acpi=1 is specified.
Signed-off-by: Winston Wang <winston.l.wang@intel.com>
2006-08-08 09:25:46 +01:00
chris@kneesaa.uk.xensource.com ae5534e54e [qemu patches] Update patches for changesets 10957:08a11694b109 - 10959:06e2a95d3395.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-07 18:28:50 +01:00
chris@kneesaa.uk.xensource.com 93a961f49b [qemu] Update ioemu to qemu 0.8.2.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-07 18:27:27 +01:00
chris@kneesaa.uk.xensource.com 21d94d9388 [qemu] Update ioemu to qemu 0.8.2. (.CVS files)
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-07 18:26:20 +01:00
chris@kneesaa.uk.xensource.com b5d8830efe [qemu] Update ioemu to qemu 0.8.2.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-07 18:25:30 +01:00
jchesterfield@wicket.uk.xensource.com acf531c565 Limit blktap static link to just libaio. 2006-08-07 18:11:59 +01:00
kaf24@firebug.cl.cam.ac.uk a6e8b7effa Change DOM0_PERFCCONTROL: remove array limit.
Descriptors and values are passed by two distinct buffers.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-08-07 15:53:06 +01:00
chris@kneesaa.uk.xensource.com 3923c6638e [xend] Fix reboot for hvm domains with cdrom devices.
The device-type was not added to the device details which caused
cdrom devices to appear as harddisks after a reboot.

From: Alex Brett <Alex.Brett@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-07 11:59:31 +01:00
kfraser@localhost.localdomain 5eeca68ffd [HVMLOADER] HVM loader initialises hypercall shim and uses
it to interrogate Xen version information. Also add support
for HVM hypercall execution on 64-bit host.

Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-04 20:30:12 +01:00
chris@kneesaa.uk.xensource.com 47b577e71c [qemu patches] Update patches for changeset 10945:baa6d08e62a0.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 11:36:07 +01:00
chris@kneesaa.uk.xensource.com 1f401924d5 [qemu] Add missing semicolon.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 11:35:51 +01:00
chris@kneesaa.uk.xensource.com 41df99f54e [qemu patches] Update patches for changeset 10943:1de1bb6a51c5.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 11:34:01 +01:00
chris@kneesaa.uk.xensource.com c4a18a0435 [qemu] Update acpi timer to not use a qemu timer.
Compute the acpi timer's value when it is accessed instead of using
a qemu timer to keep it uptodate.

From: Wang, Winston L <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 11:33:41 +01:00
chris@kneesaa.uk.xensource.com a5da231f56 [hvm firmware] Update hvm acpi dsdt table.
1)Code style clean up
2)Mininor fix for pci bus 0, dev 4 apic IRQ number
3)Add support for HCT "unreported IO and Memory" test by reporting low
640 MB mem as motherboard resource

Signed-off-by: Winston Wang <winston.l.wang@intel.com>
2006-08-04 11:03:17 +01:00
chris@kneesaa.uk.xensource.com 28f1d62e49 [qemu patches] Refresh patches.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:57:34 +01:00
chris@kneesaa.uk.xensource.com 16304772eb [qemu patches] Update patches for changeset 10939:5980fb28b050.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:57:13 +01:00
chris@kneesaa.uk.xensource.com 1670f1a422 [qemu] Free page_array when it's no longer used.
Seems no special reason for keeping page_array, free it
to avoid memroy leak in Qemu.

Signed-off-by : Zhang xiantao<xiantao.zhang@intel.com>
2006-08-04 10:56:53 +01:00
chris@kneesaa.uk.xensource.com 6321bfff99 [qemu patches] Refresh patches.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:53:11 +01:00
chris@kneesaa.uk.xensource.com f2021fe86c [qemu patches] Update patches for changeset 10936:a0b3cf802d99.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:52:49 +01:00
chris@kneesaa.uk.xensource.com 300af9fa6e [qemu] Fix qemu memory access beyond 3G @VTi side.
Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
2006-08-04 10:52:25 +01:00
chris@kneesaa.uk.xensource.com 6297f1d9d3 [qemu patches] Refresh patches.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:43:02 +01:00
chris@kneesaa.uk.xensource.com 24bb37df7f [qemu patches] Update patches for changeset 10933:386990d004b8.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:42:02 +01:00
chris@kneesaa.uk.xensource.com 621578a369 [qemu] Add switch to control whether acpi bridge is enabled.
Signed-off-by: Winston Wang <winston.l.wang@intel.com>
2006-08-04 10:41:27 +01:00
chris@kneesaa.uk.xensource.com 63c4050403 [qemu patches] Update patches for changeset 10931:3ea0a6847198.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:29:18 +01:00
chris@kneesaa.uk.xensource.com 0a30ab0071 [qemu] Make sure disk writes really made it to disk before we report I/O
completion to the guest domain.  The DMA_MULTI_THREAD functionality
from the qemu-dm IDE emulation should make the performance overhead
of synchronous writes bearable, or at least comparable to native
hardware.

Signed-off-by: Rik van Riel <riel@redhat.com>
2006-08-04 10:28:51 +01:00
chris@kneesaa.uk.xensource.com e71d659c42 [qemu patches] Update patches for changeset 10929:4dd640c6ce57.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:20:33 +01:00
chris@kneesaa.uk.xensource.com ccdaf36c89 [qemu] Fix memset arguments in qemu audio code.
The arguments for the calls to memset are reversed in audio.c.

Signed-off-by:  Charles Coffing <ccoffing@novell.com>
2006-08-04 10:19:53 +01:00
chris@kneesaa.uk.xensource.com a3188a47d8 [HVM] Wnable sound card support for qemu.
Need a sound card to pass some benchmark check.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
2006-08-04 09:31:06 +01:00
chris@kneesaa.uk.xensource.com 73bf5288a0 [qemu patches] Update patches for changeset 10926:e47aad0605a3.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 09:28:34 +01:00
chris@kneesaa.uk.xensource.com 256050aba5 [qemu] Always allow --disable-sdl since there's always vnc support.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 09:27:52 +01:00
chris@kneesaa.uk.xensource.com c421252d5a [blktap] Add dependencies to Makefiles and simplify to avoid needless rebuilds.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-03 19:45:14 +01:00
chris@kneesaa.uk.xensource.com fff236de34 [qemu patches] Update patches for changeset 10923:155385a02d.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-03 19:19:27 +01:00
chris@kneesaa.uk.xensource.com 2a33cbb5db [qemu] Write the port number where the vnc server is listening to xenstore.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-03 19:14:41 +01:00
chris@kneesaa.uk.xensource.com c944f2233f [qemu patches] Update patches for changeset 10921:4c2fab8f8c34.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-03 18:34:03 +01:00
chris@kneesaa.uk.xensource.com ae97d42025 [qemu] Use xenstore to configure ioemu block devices.
- read ioemu block device config from xenstore
- don't require the ioemu: prefix on block devices any longer
- allow change of media associated with cdrom drives
- replace cdrom= option by :cdrom suffix on regular block device config:
  'file:/root/mytest.iso,hdc:cdrom,r'
- don't create default cdrom drive anymore - to create default empty
  cdrom drive use: ',hdc:cdrom,r'

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-03 18:28:29 +01:00
vhanquez@gwig.uk.xensource.com 04f6e36b47 remove '=' between command line name/argument.
ease parsing without getopt.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2006-08-03 13:44:05 +00:00