option. This patch adds a restart sequence counter to xenstore.
The completion of a VM reboot is detected by observing that
its restart sequence counter changes.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
be under /var/log/xen instead of under /var/log directly. This has
the advantage of cleaning things up a little and also can make it
easier to restrict the permissions needed by xend.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
1. platform_op -- used by dom0 kernel to perform actions on the
hardware platform (e.g., MTRR access, microcode update, platform
quirks, ...)
2. domctl -- used by management tools to control a specified domain
3. sysctl -- used by management tools for system-wide actions
Benefits include more sensible factoring of actions to
hypercalls. Also allows tool compatibility to be tracked separately
from the dom0 kernel. The assumption is that it will be easier to
replace libxenctrl, libxenguest and Xen as a matched set if the
dom0 kernel does not need to be replaced too (e.g., because that
would require vendor revalidation).
From here on we hope to maintain dom0 kernel compatibility. This
promise is not extended to tool compatibility beyond the existing
guarantee that compatibility will not be broken within a three-level
stable release [3.0.2, 3.0.3, etc.].
Signed-off-by: Keir Fraser <keir@xensource.com>
When running 'xm info' it appears thus:
# xm info
host : 10.13.4.252
release : 2.6.17-1.2157_FC5xen0
version : #1 SMP Tue Jul 11 23:30:05 EDT 2006
machine : x86_64
...snipped rest of data...
cc_compile_domain : build.redhat.com
cc_compile_date : Tue Jul 11 22:50:42 EDT 2006
xend_config_format : 2
It will also appear in the SEXPR returned when doing a GET on the
/xend/node path in XenD's HTTP service:
(node
(system Linux)
(host 10.13.4.252)
(release 2.6.17-1.2157_FC5xen0)
(version '#1 SMP Tue Jul 11 23:30:05 EDT 2006')
(machine x86_64)
...snipped rest of data...
(cc_compile_domain build.redhat.com)
(cc_compile_date 'Tue Jul 11 22:50:42 EDT 2006')
(xend_config_format 2)
)
The patch sets the format to value '2' to indicate that we're on the version
with the new style HVM configuration for CDROM devices. The old style having
implicitly been version '1'.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Apply the domain cpumask to each vcpu rather than mapping vcpus to
cpus in the list. This is more inline with the comments for the
cpus parameter and also allows the credit scheduler to balance
vcpus within the domain cpumask.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
1) xend can't start due to xend-config.sxp
2) qemu dm option vncunused should be effective only
when vnc is turned on.
Signed-off-by: Xin Li <xin.b.li@intel.com>
If the port used for the requested display number is in use, try
additional ports until a free port is found.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
There are various reasons it should be daemonized, but the particular
problem we hit was that YaST called "xm create" and waited on output on
stdout/stderr; xm then spawned vncviewer (which never closed its
inherited stdout and stderr); xm then would exit, but YaST still had
open file descriptors, and therefore waited forever. It would be
possible to work around in YaST, but it seemed cleaner to daemonize
vncviewer.
Signed-off-by: Charles Coffing <ccoffing@novell.com>
or of non-existent domain.
I saw the following error message. (A domain of domain name XXX does
not exist.)
# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 1019 2 r----- 29.8
# xm destroy XXX
Error: an integer is required
This patch fixes it to print the following error message.
# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 1019 2 r----- 35.8
# xm destroy XXX
Error: the domain 'XXX' does not exist.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
The device-type was not added to the device details which caused
cdrom devices to appear as harddisks after a reboot.
From: Alex Brett <Alex.Brett@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
the corresponding fields to the PCI bus manager via sysfs nodes:
/sys/bus/pci/drivers/pciback/quirks
/sys/bus/pci/drivers/pciback/permissive
xend reads the policy file every time it creates a new domain that was
assigned a PCI device.
Signed-off-by: Chris Bookholt <hap10@tycho.ncsc.mil>
- add vncviewer option to qemu-dm to spawn a vncviewer process.
- add the `vncconsole' config parameter which enables qemu-dm's vncviewer
option.
Based on a patch from: Don Dugger <donald.d.dugger@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>