kfraser@localhost.localdomain
29f97ec479
Fix pygrub for IA64 support.
...
Signed-off-by: Shinya Kuwamura <kuwa@jp.fujitsu.com >
Signed-off-by: Tomohiro Takahashi <takatom@jp.fujitsu.com >
2007-04-11 15:36:04 +01:00
kfraser@localhost.localdomain
a6954d648b
pygrub: Support GPT (GUID Partition Table) as used by EFI.
...
Signed-off-by: Shinya Kuwamura <kuwa@jp.fujitsu.com >
Signed-off-by: Tomohiro Takahashi <takatom@jp.fujitsu.com >
2007-04-11 15:27:14 +01:00
kfraser@localhost.localdomain
94ffc9e546
libfsimage: Fix data types for 64-bit architectures.
...
In particular __u32 instead of ulong.
Signed-off-by: Tomohiro Takahashi <takatom@jp.fujitsu.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-11 15:17:17 +01:00
Tim Deegan
cc73b915ae
Merge
2007-04-11 14:45:43 +01:00
Tim Deegan
d11bec8a19
[HVM] Save/restore: merge xc_linux_save and xc_hvm_save
...
into xc_domain_save, like we did for xc_domain_restore
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
--HG--
rename : tools/libxc/xc_linux_save.c => tools/libxc/xc_domain_save.c
2007-04-11 14:45:14 +01:00
kfraser@localhost.localdomain
b8680a8065
xend: Store canonical vnif config info in /vm/<uuid>/device
...
rather than in frontend store directory. Two advantages are that the
frontend cannot mess with the config information; also an
ioemu-specific vif does nto need a frontend directory at all. This
avoids confusing netfront pv-on-hvm driver.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-11 14:30:56 +01:00
Jake Wires
9a549acc99
[TAPDISK] Fix qcow initialization bug.
...
fd_end was being incorrectly initialized upon open, leading to data corruption.
Signed-off-by: Jake Wires <jwires@xensource.com >
2007-04-10 11:40:43 -07:00
Ewan Mellor
9853a49dd9
Added docs and bindings for VM.{send_trigger,send_sysrq}.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-10 17:29:16 +01:00
Tom Wilkie
b586bb55ad
Make date time handling slightly more permissive
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-10 17:01:40 +01:00
Ewan Mellor
6492f2ffbf
Added documentation, C bindings, and a test for VM_metrics.{start_time,
...
VCPUs_CPU,VCPUs_params}.
Changed VM_metrics.start_time to be a DateTime, not an integer.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-09 17:09:21 +01:00
Ewan Mellor
668fbded84
Make host.sched_policy read-only. Added docs, bindings, and a test for
...
host.cpu_configuration and host.sched_policy.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-09 12:20:35 +01:00
Ewan Mellor
1a2d0aa902
Added bindings and documentation for host.send_debug_keys and host.get_log.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-09 11:39:27 +01:00
Ewan Mellor
0e20ef60f8
Add bindings and docs for the host.dmesg_clear call.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-08 23:03:16 +01:00
kfraser@localhost.localdomain
e2492c5e9e
Fix PV guest restore.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-10 13:46:28 +01:00
kfraser@localhost.localdomain
1d37a61c52
xend: Destroy information about the domain in case an error occurs
...
during resume of a domain.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-04-10 10:28:11 +01:00
Keir Fraser
1bb4ad8e20
hvm ioemu: Avoid accessing invalid pseudophysical addresses in HVM
...
guest's memory map.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-09 12:05:26 +01:00
Keir Fraser
4a96848dc8
libxc: Fix save/restore code for style.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-09 11:11:23 +01:00
kfraser@localhost.localdomain
5166d94a6a
libxc: Clarify xc_mmu interface and make it private.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-06 22:48:25 +01:00
Alex Williamson
a449ed227c
merge with xen-unstable.hg
2007-04-06 10:08:30 -06:00
Keir Fraser
97c4f107f9
ia64: Fix libxenguest build after save/restore interface changes.
...
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2007-04-06 10:14:02 +01:00
Ewan Mellor
8a2926fac2
Serialize string string maps.
...
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-04-05 18:47:04 +01:00
Tim Deegan
fdcf726e9d
[HVM] Save/restore: qemu-dm should calculate bitmap size from maximum gpfn
...
like xc_save does.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-04-05 18:12:21 +01:00
Alex Williamson
f694450239
[IA64] Fix xm dump-core with vti domain
...
Share privregs with domain and assign it to pseudo physical
address space as para virtualized domain.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-04-05 09:18:49 -06:00
Tim Deegan
b6293b0c3a
Merge
2007-04-05 15:11:49 +01:00
Tim Deegan
538a65bcc3
[HVM] Save/restore: merge xc_linux_restore and xc_hvm_restore
...
into one function (and one file) since they share a lot of code
Signed-off-by: Tim Deegan <Tim.Deegan@øensource.com>
--HG--
rename : tools/libxc/xc_linux_restore.c => tools/libxc/xc_domain_restore.c
2007-04-05 15:11:22 +01:00
kfraser@localhost.localdomain
aeb2e1298b
PV-on-HVM: Add new ioreq 'invalidate' for zapping ioemu-dm mapccahe
...
after balloon operations in an HVM guest.
This removes the I/O port hack from the guest OS, and from ioemu.
Also we flush on reservation *increases* as well as decreases. This is
necessary until qemu-dm can demand-fault page mappings into existing
valid buckets.
Signed-off-by: Steven Hand <steven@xensource.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-05 14:29:18 +01:00
Ewan Mellor
8f38cefadc
Remove task.error_code -- it's redundant, as we can use the first element of
...
task.error_info instead.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-05 13:35:54 +01:00
Ewan Mellor
c342161cbd
Remove unimplemented host.set_sched_policy.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-04 18:50:11 +01:00
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