Ewan Mellor
45e2bb215f
Fix duplicate consts around xc_error declarations.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-03-08 22:33:47 +00:00
Tim Deegan
8ae71c0646
[HVM] Save/restore: tidy PFN handling in the tools.
...
Make the differences clearer between the number of frames, the max PFN
and the size of the pfn array, and handle te framebuffer more cleanly.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-03-08 16:40:35 +00:00
kfraser@localhost.localdomain
c53fa753e2
xend: Platform feature 'multiprocessor suspend' is x86-only for now.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-08 14:57:33 +00:00
kfraser@localhost.localdomain
88d253f238
xend: more flexibility in gathering data from /proc/cpuinfo
...
Add ia64 mapping for cpuinfo data and make the case where #vcpu !=
#pcpu more flexible (don't rely on cpu0 existing).
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2007-03-06 11:53:37 +00:00
Christian Limpach
85afb99cda
[tools] Import ptsname from its new location (after cset 14259:7f0d8e3c538e).
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-03-05 22:42:13 +00:00
kfraser@localhost.localdomain
d7ee1f5383
Move ptsname module under tools/python.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-05 18:54:26 +00:00
Christian Limpach
98b8fba136
[tools] Use auxbin.py to determine libpath at build time.
...
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-03-05 16:43:12 +00:00
kfraser@localhost.localdomain
b3abd36a51
VM.actions_after_[shutdown|reboot|suspend|crash] were not set properly
...
in VM record returned via Xen API.
This patch fixes typos in key name for these fields.
Signed-off-by: Jim Fehlig <jfehlig@novell.com >
2007-03-05 13:18:28 +00:00
kfraser@localhost.localdomain
47a066703b
xend: Fix startup when dom0 does not see all physical cpus.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-02 15:08:26 +00:00
kfraser@localhost.localdomain
573e20d4bc
xend: Catch VmError exception when creating a domain and do
...
appropriate cleanup.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-03-02 14:57:18 +00:00
kfraser@localhost.localdomain
a7c824cbf1
tools: Advertise save/restore multiple VCPU contexts capability.
...
This capability means that save/restore will remember contexts of all
online VCPUs at the time of final guest suspend. Any initialised but
offline VCPUs will not be saved!
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-03-02 12:11:10 +00:00
kfraser@localhost.localdomain
279a6c16e6
Fix Xend domain_lookup error report when looking up an invalid
...
domain: raise the correct error code (XendInvalidDomain instead of
XendError). Also remove redundance exception code that is handled by
domain_lookup.
Signed-off-by: Yung Giang <ygiang@gmail.com >
2007-03-01 13:48:31 +00:00
kfraser@localhost.localdomain
c70b3e5890
More PV save/restore fixes.
...
Related changesets:
14148:b67c253d1cdb4f502dec2
13519:b4a8000e76db6b4b27341
These three changesets must be applied as a set!
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-28 14:13:09 +00:00
kfraser@localhost.localdomain
72e4f39c3f
Loop on actual elfnote array size rather than depending on ELFNOTE_MAX
...
macro.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-28 09:44:59 +00:00
kfraser@localhost.localdomain
1066e48e86
Add xm save -c/--checkpoint option
...
xm save --checkpoint leaves the domain running after creating the
snapshot.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-02-28 09:39:23 +00:00
kfraser@localhost.localdomain
e5d4e1285c
Let xend choose to do hard or soft domain resumption depending on
...
whether the domain advertises support for soft resumption in its
elfnotes.
Signed-off-by: Brendan Cully <brendan@kublai.com >
2007-02-28 09:39:03 +00:00
kfraser@localhost.localdomain
5f7ac4f0bc
Fix off-by-one preventing the last elfnote from being read in xc.c.
...
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-02-28 09:38:14 +00:00
kfraser@localhost.localdomain
e60659a59b
Accelerate IDE PIO on HVM/IA64 [2/3]
...
Add one more page to the guest for IDE PIO.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com >
2007-02-27 15:34:24 +00:00
Ewan Mellor
9b981ee160
Fix exception handling to cope with exceptions that do not have a string as
...
the first argument.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 11:19:25 +00:00
Ewan Mellor
6bd6a1390e
Fix missing bits of the docs from cset 14020, and match that change by removing
...
the similar fields on host_metrics, PIF_metrics, and VM_guest_metrics.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 01:52:27 +00:00
Ewan Mellor
b33bb1e4d9
Implementation of host_metrics.get_all, PIF_metrics.get_all, and docs and
...
bindings for many of the get_all methods elsewhere that Xend already
implemented.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 01:05:32 +00:00
Ewan Mellor
d8309d27a1
Added some more fields to host_cpu.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-27 00:37:27 +00:00
Ewan Mellor
9923350256
Add argument check for xm network-attach command
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-02-26 15:50:50 +00:00
Ewan Mellor
d804137cf6
Fix xm vcpu-set command for when wrong number of VCPU is given
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-02-26 15:41:35 +00:00
Ewan Mellor
bb5e8c6299
Move credit scheduler configuration into XendDomainInfo, so that the domain
...
will be cleaned up correctly if the scheduler parameters are wrong.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-02-26 15:39:34 +00:00
kfraser@localhost.localdomain
4a2a7137e6
Save elfnotes in VM sxpr under image/notes, and load them on restore.
...
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-02-26 09:59:56 +00:00
kfraser@localhost.localdomain
41881805d1
Write Xen ELF notes into xenstore on domain build.
...
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-02-26 09:59:33 +00:00
Ewan Mellor
f8b1ed8706
Remove unused network.default_{gateway,netmask}.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-26 00:07:14 +00:00
Ewan Mellor
51b6900b84
Redefine units of VDI.virtual_size to be bytes, not sectors.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 23:45:39 +00:00
Ewan Mellor
496ee4e22a
Added host.capabilities field.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 23:37:05 +00:00
Ewan Mellor
9421735453
Added a VM.domid field.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 22:31:43 +00:00
Ewan Mellor
0982a6eac0
Fix typo in host record.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 21:53:39 +00:00
Ewan Mellor
bc26603f4b
Added tab completion for methods and object references to xm shell.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 21:52:54 +00:00
Ewan Mellor
5baa3458c5
Added host.API_version_{major,minor,vendor,vendor_implementation} fields.
...
Fix missing host.other_config from the record returned by Xend.
Improve the error diagnosis when we catch TypeError.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-25 17:20:51 +00:00
Keir Fraser
da97fcd329
Support new xm command: xm trigger <Domain> <nmi|reset|init> [<VCPU>]
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com >
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com >
2007-02-24 14:10:27 +00:00
Ewan Mellor
160d895b13
Added host.supported_bootloaders field.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 22:54:30 +00:00
Ewan Mellor
c24f2b2bec
Remove host.create and host.destroy -- these never made any sense.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 22:46:21 +00:00
Ewan Mellor
fa4627735b
Split the VIF I/O statistics fields out into a VIF_metrics class. Implement
...
this in Xend, and fix the VBD_metrics implementation. Implement C bindings
also.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 21:55:11 +00:00
Ewan Mellor
d8d0f7d08c
Split the VBD I/O statistics out into a VBD_metrics class. Document the
...
VBD.type field, and add it to the C bindings (this was already in Xend).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 21:28:19 +00:00
Ewan Mellor
d5ae26ac7a
Replace the X_HANDLE_INVALID error codes with a single HANDLE_INVALID that
...
names the class as a parameter.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-02-20 15:24:01 +00:00
kfraser@localhost.localdomain
fd564aa780
Fix vncdisplay config option for HVM guests.
...
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com >
2007-02-16 09:57:25 +00:00
Wim Colgate
c25f8d6b93
Protect self.domid from being empty
2007-02-14 12:18:32 -08:00
kfraser@localhost.localdomain
b3f09a8a4f
Merge with xenppc-unstable.hg
2007-02-14 19:01:35 +00:00
Ewan Mellor
1f22680150
Fix localtime setting for PV domains.
...
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com >
2007-02-08 16:52:05 +00:00
Tim Deegan
de602931ef
[HVM] Save/restore: don't try to set the console ring MFN
...
in a HVM restore. In particular, don't print an uninitialized stack
variable, which causes XMLRPC exceptions in xend.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-08 15:00:33 +00:00
wim@xen-wim.site
51efffe712
[blktap] Allow HVM booting from blktap device(s)
...
Signed-off-by: wim colgate <wim@xensource.com >
2007-02-07 16:53:01 -08:00
Tim Deegan
431be892ae
[XEND] Open save/restore files with O_LARGEFILE if possible
...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-02-07 17:29:21 +00:00
kfraser@localhost.localdomain
a8d5290171
Improve hotplug script error reporting via xenstore.
...
Use this to detect and report up-front in vif-bridge script whether
the bridge device exists or not.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com >
2007-02-07 16:22:55 +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