Commit Graph
5205 Commits
Author SHA1 Message Date
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
Ewan Mellor 493cba058f Fix missing import.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-28 10:05:03 +01:00
Ewan Mellor 16320c2cdf Fix diagnosis of unhandled exceptions.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-28 10:04:32 +01:00
Ewan Mellor 3dc7643871 Fix typo.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-28 01:09:14 +01:00
Ewan Mellor b843dd7af8 Added HTTPS support to Xend. There are new configuration options for the
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>
2007-03-27 23:23:01 +01:00
Ewan Mellor 2a5cee571c Added comment regarding a Python bug.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 23:03:32 +01:00
Ewan Mellor 823ab3fd0c Move the client-specific parts of xmlrpclib2 into xmlrpcclient.py. This means
that clients do not need to import swathes of server code.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 22:34:22 +01:00
Ewan Mellor ff7c54e3c3 Add auto-start and auto-stop functionality.
Patch by Alastair Tse <atse@xensource.com>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 16:52:56 +01:00
Ewan Mellor cc3d7515f9 Use the new blkback sysfs statistics/{rd,wr}_sect to get a more accurate
bandwidth measurements for VBD I/O.

Patch by Alastair Tse <atse@xensource.com>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 16:33:26 +01:00
Tom Wilkie aa306dd463 Fix typo in VDB_metrics_methods in XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-27 17:43:36 +01:00
Tom Wilkie d867315e3c Make xm sysrq work via XenAPI re: PAUSED state problem
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-27 15:47:02 +01:00
kfraser@localhost.localdomain 08542da82e Fix 'xm list' long output to skip legacy 'cpus'.
Fixes bugzilla report #935.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-03-27 16:45:37 +01:00
kfraser@localhost.localdomain 5893fef229 hvm: Remove access to QEMU monitor in VNC server
This fixes a RHEL5 errata and CVE-2007-0998.

The monitor is still accessible in debug builds of ioemu (debug=y).

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2007-03-27 16:23:52 +01:00
kfraser@localhost.localdomain aacef84b33 In order to allow building as non-root with a non-default CC (which
root may not have access to through its $PATH), defer the generation
of an error until CC is actually needed.

Original patch by Jan Beulich <jbeulich@novell.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-27 14:50:17 +01:00
Ewan Mellor 4d5a404460 Do not issue a warning on XendDomainInfo.recreate for dom0 -- this is normal
on a clean machine.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 14:34:34 +01:00
Ewan Mellor 6ed1133818 Fix some fields so that they are declared as read-only (always should have
been) and implement {VBD,VIF}_metrics.get_all.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 14:22:29 +01:00
Tom Wilkie 95303f6196 Fix typo in VIF_metrics_methods in XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-27 13:45:30 +01:00
Ewan Mellor a4ae757f0f Fix the default for the is_a_template flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 11:31:25 +01:00
Tom Wilkie 38ef20418f Fix xm network-attach via XenAPI re: paused domain state
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-26 17:22:45 +01:00
Tom Wilkie 17a7dd0661 Fix up xm vcpu-pin via XenAPI, change types of new VM Metrics feilds
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-26 16:48:20 +01:00
Tom Wilkie 54a101a7dd Make 06_destroy_dom0_neg pass with xm via XenAPI.
Make check case insensitive.

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-26 16:18:16 +01:00
Tom Wilkie c549108730 Fix xm info etc since changes to Session in XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-26 16:04:24 +01:00
Tom Wilkie 70a47391ce Add option to xm create to skip DTD checks.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-26 15:09:24 +01:00
Tom Wilkie dd6bd5adf4 Add autodetect to xm create for xml files
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-26 14:57:12 +01:00
Ewan Mellor 4d3817aae9 Convert XendPIFMetrics into an autoplug class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 00:54:05 +01:00
Ewan Mellor 4b24edbf8b Convert XendVMMetrics into an autoplug class. Tidy up our destroy methods
on the way -- metrics classes cannot be destroyed.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 00:48:46 +01:00
Ewan Mellor 99b271fd7d Added network.other_config map. To make this easier, add a new automatic
plumbing facility from the XendNetwork class into XendAPI (credit to Tom
Wilkie for the idea).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 00:19:20 +01:00
Ewan Mellor 6b8760eaba Trivial tidyup.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 00:15:07 +01:00
Ewan Mellor 1bf63f099d This patch replaces tab with 4 whitespaces in xensec_gen/main.py.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-03-26 14:10:19 +01:00
Ewan Mellor c24f98944d Don't set memory_dynamic_max when xm mem-set is called. Save the VM
configuration unconditionally when either the max or the target memory values
are set.

Thanks to Masaki Kanno for pointing out the first problem.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 14:09:36 +01:00
Ewan Mellor c322cc7717 Fix xm mem-set on non-running domains. Closes bug #934.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-03-26 13:59:36 +01:00
Ewan Mellor 10e9ec0d21 Fix the xm mem-max command. Closes bug #933.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-03-26 13:50:33 +01:00
Tom Wilkie 09502ab38f Make 05_block_attach_and_dettach_device_repeatedly_pos pass on xm via XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-26 13:46:07 +01:00
Tom Wilkie 6f9deffd5b Fix vbd_create etc, add devices to paused domains
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-26 13:29:27 +01:00
Tim Deegan 0f9a40c194 [HVM] Intercept ACPI pm-timer registers
Bring the PM1a_STS and PM1a_EN registers into Xen and use them to deliver
SCI to the guest before it sees the MSB of the pm-timer change.
Also correct some of the semantics of the registers.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-26 09:13:03 +00:00
Ewan Mellor ab49221978 Create the new VM with the default crash behaviour set.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:40:34 +01:00
Ewan Mellor 0b438dc835 Replace tabs with spaces.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:30:10 +01:00
Ewan Mellor 275caa6d09 Added I/O debugging mode.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:17:17 +01:00
Ewan Mellor c664b94562 Fix memory values -- they should be in bytes.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:16:40 +01:00
Ewan Mellor 5382908367 Tidy up use of stdout vs stderr.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:12:19 +01:00
Ewan Mellor d4eac439d5 Fix the VM.is_a_template flag for domain 0.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:09:00 +01:00
Ewan Mellor 9c052c30d6 Implement session.last_active, session.this_host, session.get_record,
session.get_uuid.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-26 00:08:13 +01:00
Ewan Mellor 231f7bf638 Added C bindings and docs for recent addition VM.set_VCPUs_number_live.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-25 22:17:30 +01:00