kfraser@localhost.localdomain
e7f13aefbd
Dom0 VNC server should not drop any of teh 8 supported mouse button
...
event types.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com >
2007-02-07 16:20:28 +00:00
kfraser@localhost.localdomain
b64ef24e2f
hvm: Add PCI subsystem ID to emulated devices.
...
This patch adds the PCI Subsystem ID 5853:0001 to the virtual
devices emulated by qemu (ide, nic, vga).
Signed-off-by: Gerd Hoffmann <kraxel@suse.de >
2007-02-07 16:08:47 +00:00
Tim Deegan
01d0fc79ac
[HVM] Save/restore: dynamically calculate the size of the save buffer
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-07 12:41:46 +00:00
Tim Deegan
b364d04f1d
Revert 13805: losetup -r is not portable
...
which breaks CD support on Debian Sarge, FC4, probably others.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-07 12:25:18 +00:00
kfraser@localhost.localdomain
bec98603f5
Fix up xentrace record extraction in xentrace_format for 64-bit
...
architectures.
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com >
2007-02-06 23:10:05 +00:00
kfraser@localhost.localdomain
09a4bf86cf
[TPM] Set tcpa calls in the rombios and other fixes.
...
This patch places some tcpa calls into the rombios that had previously
not applied anymore or were not set.
Force the reads from MMIO memory locations that the compiler otherwise
optimizes away (-O2) if there was an immediate write to the same
memory location before.
Use #define'd constants wherever possible.
Fix all remaining compiler warnings.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-02-06 23:01:35 +00:00
kfraser@localhost.localdomain
9c3844a97e
[TPM] TIS dm suspend code fix
...
This fixes a bug in the TPM TIS device model's state suspend code and
adds some casts to variables to avoid compiler warnings.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-02-06 22:59:35 +00:00
Ewan Mellor
0ea3c30b5b
Fix xm sched-credit when given an invalid domain name.
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-02-06 16:05:29 +00:00
Ewan Mellor
19bcd321c5
Fix XendLogging to work on Python 2.4.0 and 2.4.1 (the logging library interface
...
changed with 2.4.2, not 2.4.0).
Signed-off-by: Qing He <qing.he@intel.com >
2007-02-06 15:37:11 +00:00
Ewan Mellor
85a6129e55
Pass the -r flag to losetup for read-only devices.
...
Signed-off-by: Daniel P. Berrange <berrange@redhat.com >
2007-02-06 15:35:18 +00:00
Brendan Cully
350318c598
Make sure OptVals.quiet is always present (fixes xm shutdown -w).
...
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-01-31 11:05:36 -08:00
Tim Deegan
ed40790462
[QEMU] Unmap video RAM before telling the guest to free it.
...
This avoids a lot of "freeing in-use page" errors.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-05 16:40:19 +00:00
kfraser@localhost.localdomain
34814f4465
New domain builder arch_setup hook clean up.
...
arch_setup_early -> arch_setup_meminit
arch_setup_middle -> arch_setup_bootearly
arch_setup_late -> arch_setup_bootlate
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-02-02 15:50:27 +00:00
kfraser@localhost.localdomain
44480a0820
libxc: Domain builder must align initial virtual mapping to 4MB
...
boundaries.
From: Gerd Hoffmann <kraxel@suse.de >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-02 15:41:45 +00:00
Ewan Mellor
8ae342b80b
Added default for the vcpus_params key.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-02 14:32:48 +00:00
Ewan Mellor
8389ab43f5
Added host.dmesg method.
...
Also, fixed all of the host methods, which had been broken by the introduction
of the host_metrics class.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-02 10:25:17 +00:00
Ewan Mellor
d650ce4366
Remove VM_power_state value ShuttingDown. This should be indicated with
...
an in-progress task, when known.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-02 10:07:58 +00:00
Ewan Mellor
437919c58f
Remove some obsolete constants (XEN_API_DRIVER_TYPE, XEN_API_BOOT_TYPE).
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-02 10:03:21 +00:00
Ewan Mellor
a98eadf63a
Improved the example to show creation of a VNC console, and the difference
...
between HVM and PV domains.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 19:02:55 +00:00
Ewan Mellor
948fd9f5a1
Added support for maps inside structs, so that we can send the HVM boot params
...
and VCPU params.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 19:02:13 +00:00
Ewan Mellor
f72dfefae2
Make the string->string map and int->float map allocation functions set the
...
map size on allocation.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 19:00:17 +00:00
Ewan Mellor
d1e7d46990
Clean up some cruft.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 18:45:50 +00:00
Ewan Mellor
f51cfb888b
Treat the empty string as an absent UUID, not an invalid one. Fix to_sxp
...
wrt dictionaries.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 18:15:36 +00:00
Ewan Mellor
19b7983432
Return the stored vcpus_params if the domain is not running.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 18:14:40 +00:00
john.levon@sun.com
437359ebc8
Fix Solaris build - use $(MAKE) not make.
...
Signed-off-by: John Levon <john.levon@sun.com >
2007-02-01 08:41:36 -08:00
Ewan Mellor
fa39434f9a
Fix SDL option for HVM domains.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 15:44:00 +00:00
Ewan Mellor
c3bf42e922
Fix handling of HVM boot.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 15:32:16 +00:00
Ewan Mellor
f9d2dae496
Fix merge conflict between new HVM console handling and new HVM boot handling.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 15:31:34 +00:00
Ewan Mellor
d6f8b69ced
Fix HVM save/restore wrt console handling.
...
From Tim Deegan <Tim.Deegan@xensource.com >.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 15:30:22 +00:00
Tim Deegan
45d4d259a2
Merge
2007-02-01 15:03:55 +00:00
Tim Deegan
479f9c8a5d
[PYGRUB] Invoke pygrub with TERM=vt100
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-01 15:03:37 +00:00
Ewan Mellor
edb08a7488
Use the new xen-python-path to set PYTHONPATH, rather than trying to do it in
...
XmTestLib.__init__ (and getting it wrong).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 14:41:58 +00:00
Ewan Mellor
a84714b11c
Break out the Python path interrogation into a separate script. This has the
...
advantage that the temporary path manipulation cannot affect the main script,
and that it can be shared with other programs, such as xm-test.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 12:48:53 +00:00
Ewan Mellor
73c92d7bb2
Change VM.HVM_boot to VM.HVM_boot_policy and VM.HVM_boot_params.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 11:55:31 +00:00
Ewan Mellor
6880c9f6b7
Copy the definition of DOM0_UUID into XenDomain so that we don't need to import
...
large swathes of the server to run the Xen-API tests.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-01 11:42:50 +00:00
Ian Campbell
9c4ed974a4
[TOOLS] Remove a debug message which is spamming the logs during live
...
migration.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-02-01 10:21:42 +00:00
Tim Deegan
f099a2a635
Merge
2007-01-31 17:22:17 +00:00
Tim Deegan
782821bcb0
[HVM] Save/restore: clean up the new hypercall interface
...
Pass a buffer and size through instead of fixed-size structure.
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com >
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-31 17:22:00 +00:00
Emmanuel Ackaouy
64459d4ba6
merge
2007-01-31 15:25:04 +00:00
Emmanuel Ackaouy
e42527954e
[TOOLS] Fix typos which breaks readnotes transparent gunzipping ...
...
From: Gerd Hoffmann <kraxel@suse.de >
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com >
2007-01-31 15:23:51 +00:00
Alastair Tse
68429d2e80
[XEND] Fix typos in vfb/vnc detect in image.py
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-31 15:22:33 +00:00
Alastair Tse
ddffd1ed7d
[XENAPI] Add VDI.location support and test c prog for HVM test.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-31 15:08:29 +00:00
Alastair Tse
ad643e3ef0
[XENAPI] Remove some deprecated fields from the Xen API test script.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-31 15:06:40 +00:00
Alastair Tse
48af590de3
[XEND] Use VDI.location rather than VDI.image_uri/uri for Xen API
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-31 15:05:58 +00:00
Alastair Tse
975e8c9154
[XEND] Make sure other_config is by default an empty string map.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-31 15:04:06 +00:00
Alastair Tse
1f66881925
[XEND] Make VBD.bootable in XendConfig kept as int.
...
This will prevent it from being displayed as 'False' and 'True'
everywhere in the device SXP.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-31 15:03:22 +00:00
Alastair Tse
f32d400767
[XEND] Hide other_config from console and vfb SXP to prevent string
...
representation of dict to appear in SXP.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-31 15:02:20 +00:00
Alastair Tse
c8cce1eddd
[XEND] Fix VCPU_params to return string map.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-31 15:01:09 +00:00
Alastair Tse
f492dd97fb
[XEND] Merge VFB support for PV and HVM guests.
...
This patch merges the way VFB are represented inside Xend by making
HVM VNC consoles use the VFB as its configuration object.
It preserves the way options are specified through xm but will create
a new VFB device that is used by image.py to put vnc config into
qemu-dm's command line. The parsing is moved into image.py's
parseDeviceModel() rather than in configVNC().
Through the Xen API, you can create a 'console' of protocol 'rfb' and
end up with a VNC console, on both HVM and PV guests. The location of
the connecting port is stored in the location attribute of the console
object. This is updated on each XendDomainInfo.update() if it
changes.
Also fixes missing read of the vnclisten and HVM_boot from the
config when initialised via xm. Makes sure bootable attribute for VBD
is store as an int when making SXP config.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-31 13:20:36 +00:00
Alastair Tse
6501ac6994
[XEND] Make python-pam warning only appear if using XenAPI
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-31 12:58:41 +00:00