Ewan Mellor
fccf5da0dd
Expose the method-listing call as host.list_methods.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-04 18:42:20 +01:00
Ewan Mellor
3a7400aa86
Remove docs and bindings for unimplemented VDI.resize and VDI.snapshot.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-04 15:00:57 +01:00
Ewan Mellor
f521621420
Send INTERNAL_ERROR rather than ERROR_TODO if device creation fails.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-04 14:53:52 +01:00
Ewan Mellor
5adf114d68
Remove docs and bindings for unimplemented SR.{create,destroy,clone}.
...
Implement PBD class, matching existing docs and bindings.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-04 14:49:38 +01:00
kfraser@localhost.localdomain
5967572aab
hvm: x86 ioemu-dm does not need a memory-size parameter on the command line.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 18:41:42 +01:00
kfraser@localhost.localdomain
6b2fe8aecf
hvm ioemu x86: Avoid assumptions about memory map.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 17:58:06 +01:00
kfraser@localhost.localdomain
d5f5ff766f
Clean up save/restore state record handling. No need for Python to
...
read out the 'p2m size' field. Also that field is not needed at all
for HVM guests.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 16:34:56 +01:00
kfraser@localhost.localdomain
087d43326a
hvm: Lazy memory allocation during HVM restore. General cleanup and
...
reduce gross assumptions about memory-map layout.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 16:18:28 +01:00
kfraser@localhost.localdomain
4edabeff5a
Remove hvm_drain_io() hypercall, simplify qemu main loop and do not
...
pause the domain on reboot (not necessary and defeats new deferred
shutdown logic).
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 10:42:58 +01:00
Christian Limpach
2bdbd3e193
[hvm] Keep track of time offset between domain time and dom0 time.
...
On each rtc time update from the hvm domain, we send an ioreq request
to qemu which then updates the time offset xenstore entry. The time
offset is preserved across reboot and can be set on domain creation
by setting the rtc_timeoffset variable in a config file.
From: Andrei Petrov <andrei.petrov@xensource.com >
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-04-03 13:22:37 +01:00
Ewan Mellor
9123bf1da6
Remove unused import.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-03 10:36:31 +01:00
kfraser@localhost.localdomain
9bea671737
Fix "xm migrate" hang on failure.
...
If a domain fails to restore, report back an error and close the
connection. This still leaves a confusing error from 'xm migrate' in
many cases, but it's much better than just sitting there.
Signed-off-by: John Levon <john.levon@sun.com >
2007-04-03 09:03:51 +01:00
kfraser@localhost.localdomain
ebecb5a9d3
Fix the ia64 build after save/restore cleanups.
...
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2007-04-03 09:03:03 +01:00
kfraser@localhost.localdomain
f884964985
xend: Map re.compile on hosts_allow for XMLRPCServer.
...
Changeset 14601 removed a re.compile() map on hosts_allow,
hence breaking the tcp xmlrpc api ('str' has no attribute match
in xend-debug.log).
From: Pascal Bouchareine <pascal@gandi.net >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-02 17:34:00 +01:00
Steven Hand
e2a44bc7a4
Some save/restore cleanups.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2007-04-02 16:46:52 +01:00
kfraser@localhost.localdomain
eeafc64a2a
xentop: Fix memory leak.
...
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com >
2007-04-02 13:08:05 +01:00
Keir Fraser
3e2ea003c4
libxc: Fix the build with some versions of gcc.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-31 16:52:36 +01:00
Keir Fraser
6fb7ede847
xend: Implement auto-ballooning for Solaris.
...
/proc/xen/balloon is Linux-specific. Implement a Solaris backend
too. Also fix the FMRI for xend.
Signed-off-by: Ryan Scott <ryan.scott@sun.com >
2007-03-31 14:05:57 +01:00
Keir Fraser
7aeca46425
libxc: User-space grant table device.
...
Changes to libxc to enable easy access to the grant table device.
Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk >
2007-03-31 14:03:17 +01:00
Keir Fraser
29f999ff69
xm: Fix an indentation bug.
...
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-03-31 12:26:04 +01:00
Keir Fraser
f5db79b294
blktap: Fix qcow2raw.
...
qcow2raw would hang the conversion just short of 100%, because the
final write queue was never being submitted. If a blktap drivers read
synchronously, then "submit_events" and "complete" variables are
checked before getting set, so the fact that reads have finished is
not noticed, so the final write queue was never submitted.
Note that I have also removed the variables write_complete and
read_complete. They were unused, and they were also not set correctly
in the synchronous case.
Signed-off-by: Charles Coffing <ccoffing@novell.com >
2007-03-31 12:24:55 +01:00
Tom Wilkie
978632e730
Add support for HVM domains to new xm XenAPI create code
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-30 17:28:54 +01:00
Tom Wilkie
c3df8d6442
Add config files for testing xm via XendAPI
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-30 11:55:34 +01:00
Jim Fehlig
1598680350
Managed HVM guests are not displayed by 'xm list' after restarting xend.
...
This patch prevents writing empty configuration items to the domain's
sexpr configuration file. Without the empty items, the sexpr is
parsed properly when xend is started.
Signed-off-by: Jim Fehlig <jfehlig@novell.com >
2007-03-13 18:13:11 -06:00
Magnus Carlsson
f25b2f271c
Made tracing thread safe, and also print thread name.
2007-03-29 14:27:46 -07:00
kfraser@localhost.localdomain
76b2ca09df
xend: Fix shutdown method after PV-on-HVM save/restore patch.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-29 23:31:58 +01:00
kfraser@localhost.localdomain
7f6d8fe5c9
acm: Provide the possibility to choose the VM label of domain-0 in the
...
kernel line in grub.conf. The format is
ssidref=<ssidref>:sHype:<policy name>:<vm label>. The name of the
policy specified here must be the same name as the in the policy
provided as a module during boot, otherwise the policy will not be
accepted and the system then starts without a policy. The user tool
for 'xm dumppolicy' has been adapted to show which entry in the binary
policy is used by domain-0.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-03-29 19:26:13 +01:00
Tim Deegan
09c1cd6992
Merge
2007-03-29 16:28:34 +00:00
Tim Deegan
9dd742c907
[HVM] Save/restore: PV-on-HVM driver save/restore support
...
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com >
2007-03-29 16:27:52 +00:00
Tom Wilkie
5e7badb941
Let xm commands use domids with XenAPI
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-29 17:09:49 +01:00
Tim Deegan
56ada11259
Merge
2007-03-29 15:33:32 +00:00
Tim Deegan
f881b16efa
[HVM] Save/restore: fix missing return code in USB restore
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-29 15:32:08 +00:00
Tim Deegan
92c541f5a0
[HVM] Save/restore: Allow save/restore of multiple NICs
...
Signed-off-by: Tim Deegan <Tim.Deegan@xenource.com >
2007-03-29 15:30:01 +00:00
Tom Wilkie
82669d3a5e
Finish off network in xm via XenAPI
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-29 16:29:31 +01:00
Tim Deegan
8de8be3d97
[HVM] Save/restore: backport pcnet save/restore from qemu tip.
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-29 15:29:15 +00:00
Tim Deegan
90cc7655d1
[HVM] Save/restore: Save the ACPI PM control register in qemu
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-29 15:28:27 +00:00
Tim Deegan
e0638f7e62
[HVM] Save/restore: don't get guest size from "memory_static_min"
...
since it doesn't mean that any more. This is a sticking-plaster
to get HVM S/R working until the proper memory-map handling patch
is ready.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-29 15:27:18 +00:00
Ewan Mellor
d05727902f
Fix bad behaviour of xm when calling event.next(), by adding a different error
...
code (SESSION_NOT_REGISTERED).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-29 16:18:39 +01:00
Tom Wilkie
0067711047
Make network.name_label == bridge name
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-29 15:59:53 +01:00
Ewan Mellor
c7dfb7d170
Minor fix.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-29 15:51:04 +01:00
Ewan Mellor
5a1f59a822
Added asynchronous event notification through the Xen-API. Added a new command,
...
xm event-monitor, a new test program for the C bindings, and new bindings
themselves.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-29 15:46:30 +01:00
Ewan Mellor
ebbc8fb301
Fix the xen-api-server option parsing, so that we default to listening on
...
all interfaces when only a port is given.
This was broken by cset 14601:966c65f0ddba.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-29 15:22:02 +01:00
Ewan Mellor
b4fffaec01
Fix PIF_metrics_methods declaration, which has broken PIF.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-29 15:10:26 +01:00
Ewan Mellor
4967c65c8c
This patch adds serialization of sets with strings. I recursified the
...
serialization. Only sets with strings are supported so far.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-03-29 15:06:12 +01:00
Tom Wilkie
97fef381d6
Remove unused import; library moved
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-28 15:31:17 +01:00
kfraser@localhost.localdomain
a10e171a41
[ACM] Allow version information to be embedded in the XML representation of
...
the ACM policy. The translation tool has been adapted to parse the
version found in the XML representation and put it into the binary
policy. Xen has been adapted to remember the version information and
report it when asked for the current policy.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-03-28 14:00:56 +01:00
Tom Wilkie
7a45bd6202
Fix to let TCP server run without SSL installed.
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-03-28 12:38:13 +01:00
Christian Limpach
2aace8a8f9
[ioemu] Don't enable monitor or serial console on virtual consoles by default.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-03-28 10:36:49 +01:00
Christian Limpach
7575ba257f
[ioemu] Revert 14585:3375391fb0c9 since this removes useful functionality.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-03-28 10:05:37 +01:00
Tim Deegan
d3454d2db9
Editing long lines in pygrub interactively could lead to tracebacks.
...
Attached patch fixes things.
Signed-off-by: Jeremy Katz <katzj@redhat.com >
2007-03-28 09:12:16 +00:00