aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused import.Ewan Mellor2007-04-031-1/+0
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Fix "xm migrate" hang on failure.kfraser@localhost.localdomain2007-04-031-2/+6
| | | | | | | | 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>
* Fix the ia64 build after save/restore cleanups.kfraser@localhost.localdomain2007-04-031-18/+25
| | | | Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* xend: Map re.compile on hosts_allow for XMLRPCServer.kfraser@localhost.localdomain2007-04-021-2/+2
| | | | | | | | | 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>
* Some save/restore cleanups.Steven Hand2007-04-0211-112/+132
| | | | Signed-off-by: Steven Hand <steven@xensource.com>
* xentop: Fix memory leak.kfraser@localhost.localdomain2007-04-021-0/+2
| | | | Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
* libxc: Fix the build with some versions of gcc.Keir Fraser2007-03-312-4/+4
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* xend: Implement auto-ballooning for Solaris.Keir Fraser2007-03-313-17/+53
| | | | | | | /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>
* libxc: User-space grant table device.Keir Fraser2007-03-312-0/+215
| | | | | | Changes to libxc to enable easy access to the grant table device. Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
* xm: Fix an indentation bug.Keir Fraser2007-03-311-4/+4
| | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* blktap: Fix qcow2raw.Keir Fraser2007-03-311-7/+2
| | | | | | | | | | | | | | 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>
* Add support for HVM domains to new xm XenAPI create codeTom Wilkie2007-03-302-24/+113
| | | | signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* Add config files for testing xm via XendAPITom Wilkie2007-03-303-0/+240
| | | | signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* Managed HVM guests are not displayed by 'xm list' after restarting xend.Jim Fehlig2007-03-131-2/+2
| | | | | | | | 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>
* Made tracing thread safe, and also print thread name.Magnus Carlsson2007-03-291-44/+50
|
* xend: Fix shutdown method after PV-on-HVM save/restore patch.kfraser@localhost.localdomain2007-03-291-8/+7
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* acm: Provide the possibility to choose the VM label of domain-0 in thekfraser@localhost.localdomain2007-03-292-10/+52
| | | | | | | | | | | | 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>
* MergeTim Deegan2007-03-291-4/+14
|\
| * Let xm commands use domids with XenAPITom Wilkie2007-03-291-4/+14
| | | | | | | | signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* | [HVM] Save/restore: PV-on-HVM driver save/restore supportTim Deegan2007-03-293-5/+41
|/ | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* MergeTim Deegan2007-03-294-31/+41
|\
| * Finish off network in xm via XenAPITom Wilkie2007-03-292-24/+22
| | | | | | | | signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
| * Make network.name_label == bridge nameTom Wilkie2007-03-292-7/+19
| | | | | | | | signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* | [HVM] Save/restore: fix missing return code in USB restoreTim Deegan2007-03-291-0/+1
| | | | | | | | Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* | [HVM] Save/restore: Allow save/restore of multiple NICsTim Deegan2007-03-293-12/+16
| | | | | | | | Signed-off-by: Tim Deegan <Tim.Deegan@xenource.com>
* | [HVM] Save/restore: backport pcnet save/restore from qemu tip.Tim Deegan2007-03-291-0/+56
| | | | | | | | Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* | [HVM] Save/restore: Save the ACPI PM control register in qemuTim Deegan2007-03-291-0/+18
| | | | | | | | Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* | [HVM] Save/restore: don't get guest size from "memory_static_min"Tim Deegan2007-03-293-24/+15
|/ | | | | | | 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>
* Fix bad behaviour of xm when calling event.next(), by adding a different errorEwan Mellor2007-03-292-2/+5
| | | | | | code (SESSION_NOT_REGISTERED). Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Minor fix.Ewan Mellor2007-03-291-3/+3
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added asynchronous event notification through the Xen-API. Added a new command,Ewan Mellor2007-03-2910-27/+851
| | | | | | | xm event-monitor, a new test program for the C bindings, and new bindings themselves. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Fix the xen-api-server option parsing, so that we default to listening onEwan Mellor2007-03-291-10/+10
| | | | | | | | all interfaces when only a port is given. This was broken by cset 14601:966c65f0ddba. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Fix PIF_metrics_methods declaration, which has broken PIF.Ewan Mellor2007-03-291-1/+1
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* This patch adds serialization of sets with strings. I recursified theEwan Mellor2007-03-291-52/+80
| | | | | | serialization. Only sets with strings are supported so far. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Remove unused import; library movedTom Wilkie2007-03-281-1/+0
| | | | signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* [ACM] Allow version information to be embedded in the XML representation ofkfraser@localhost.localdomain2007-03-284-51/+108
| | | | | | | | | 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>
* Fix to let TCP server run without SSL installed.Tom Wilkie2007-03-281-4/+3
| | | | signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* [ioemu] Don't enable monitor or serial console on virtual consoles by default.Christian Limpach2007-03-281-3/+2
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* [ioemu] Revert 14585:3375391fb0c9 since this removes useful functionality.Christian Limpach2007-03-282-13/+0
| | | | Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
* Editing long lines in pygrub interactively could lead to tracebacks.Tim Deegan2007-03-281-10/+7
| | | | | | Attached patch fixes things. Signed-off-by: Jeremy Katz <katzj@redhat.com>
* Fix missing import.Ewan Mellor2007-03-282-1/+1
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Fix diagnosis of unhandled exceptions.Ewan Mellor2007-03-281-5/+4
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Fix typo.Ewan Mellor2007-03-281-1/+1
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added HTTPS support to Xend. There are new configuration options for theEwan Mellor2007-03-276-40/+249
| | | | | | | Xen-API and legacy XML-RPC servers to set key and certificate files, and xm simply needs to be configured use an https rather than an http URL. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Added comment regarding a Python bug.Ewan Mellor2007-03-271-0/+1
| | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Move the client-specific parts of xmlrpclib2 into xmlrpcclient.py. This meansEwan Mellor2007-03-275-79/+102
| | | | | | that clients do not need to import swathes of server code. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Add auto-start and auto-stop functionality.Ewan Mellor2007-03-273-3/+39
| | | | | | Patch by Alastair Tse <atse@xensource.com>. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Use the new blkback sysfs statistics/{rd,wr}_sect to get a more accurateEwan Mellor2007-03-271-11/+5
| | | | | | | | bandwidth measurements for VBD I/O. Patch by Alastair Tse <atse@xensource.com>. Signed-off-by: Ewan Mellor <ewan@xensource.com>
* Fix typo in VDB_metrics_methods in XenAPITom Wilkie2007-03-271-1/+1
| | | | signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* Make xm sysrq work via XenAPI re: PAUSED state problemTom Wilkie2007-03-271-4/+5
| | | | signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>