Commit Graph
1580 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk e935122cf5 [XEND] Compare result of blkdev_name_to_number() explicitly against None.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-02 07:46:06 +00:00
Ewan Mellor c82aef9e98 Return the restored VM at the end of XendDomainInfo.restore.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-01 18:39:33 +00:00
kfraser@localhost.localdomain 8082f8f784 [HVM] Move shadow initialisation into domain-creation hypercall.
Allocate HVM guest memory in the libxc builder function rather
than in xend. Clean up fall out from these changes.

Todo: Fix ia64. Move PV builder to same model (it should allocate the
memory rather than xend doing so -- then it can avoid using
xc_get_pfn_list()).

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-01 18:37:23 +00:00
Ewan Mellor 58afddc807 Return the domain renaming during migration.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-01 18:20:23 +00:00
kfraser@localhost.localdomain 3f4c0e0087 [HVM] HVM is now a flag parameter to domain-creation hypercall.
This cleans up HVM start-of-day in Xen and means that the
HVM status of a domain is maintained from cradle to grave.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-01 16:08:19 +00:00
Ewan Mellor 54ab7bfb1a This patch adds a checking of wrong parameter into xm dmesg command.
If wrong parameter is given, xm dmesg command shows the following
error messages.

Error: No parameter required
Usage: xm dmesg [-c|--clear]

Read and/or clear Xend's message buffer.
  -c, --clear                    Clear dmesg buffer


Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-11-01 15:56:55 +00:00
Ewan Mellor 3c2c455c3b Add full flag to domain(domid), fixing xm list --long VM1.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-01 15:41:35 +00:00
Ewan Mellor cbdc70f049 Create /var/lib/xend/domains on startup if it doesn't exist.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-01 13:50:02 +00:00
Ewan Mellor fb2358c250 Merge xen-api.hg changeset 142:d75413e65ba319d577c764be6c13efa5eae6da1c.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-01 10:40:46 +00:00
kfraser@localhost.localdomain f0d0046d31 [XEND] Improve error message for unparsed disk modes.
Signed-off-by: John Levon <john.levon@sun.com>
2006-10-31 18:24:44 +00:00
kfraser@localhost.localdomain fc229c860b Clean up recent changes to reboot code. This fixes PV save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-31 15:54:03 +00:00
Steven Smith 111a11e5f5 [HVM][LINUX][TOOLS] Split control/reboot_module into control/feature-reboot
and control/feature-sysrq.  This is more consistent with the other
PV device protocols.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-10-31 10:11:53 +00:00
Steven Smith 65ae4fc8cd [HVM][LINUX][TOOLS] Make xm {shutdown|reboot} do something sensible for HVM
domains with PV drivers loaded.  This patch creates a new PV-on-HVM
module, reboot.ko, which, when loaded, creates control/reboot_module
in the store.  The tools notice this, and disable the watch which would
normally destroy HVM domains which are the target of an xm shutdown
command, allowing the reboot module to shut the domain down cleanly.

Signed-off-by: Tetsu Yamamoto <yamamoto.tetsu@jp.fujitsu.com>

(Checkin comments by Steven Smith <sos22@cam.ac.uk>)
2006-10-31 09:54:49 +00:00
Ewan Mellor ad0cc56145 Fix handling of SXP for devices through device_add -- this solves the
Invalid device (uname) problem that breaks just about everything once you've
done xm block-attach.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-29 19:28:26 +00:00
kaf24@localhost.localdomain 25884d981b [XEND] Do not delete VNC password from configuration.
Fixes reboot of HVM guest when VNC authentication is in use.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-27 18:15:14 +01:00
kaf24@localhost.localdomain 9033715d28 [XEND] Do not delete VNC password from configuration.
Fixes reboot of HVM guest when VNC authentication is in use.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-27 18:15:14 +01:00
Ewan Mellor 70c562ec15 Import Xend part of xen-unstable changeset
11922:1e6b0a8a0822a22d313d9058fa0dc10c7a319821.

[IA64][HVM] Add buffer IO mechanism for Xen/VTi domain. Current
implementation can accelerate Windows guest's dense IO operations
at boot time.

Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
2006-10-25 15:29:08 +01:00
kfraser@localhost.localdomain 54a5a3c6b9 [IA64][HVM] Add buffer IO mechanism for Xen/VTi domain. Current
implementation can accelerate Windows guest's dense IO operations
at boot time.

Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
2006-10-25 15:29:08 +01:00
Ewan Mellor 59b7cdb9fa Print the time to xend-debug.log, when starting or restarting Xend.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-25 15:01:51 +01:00
Ewan Mellor 9d8bfdc56a Print the time to xend-debug.log, when starting or restarting Xend.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-25 15:01:51 +01:00
Tim Deegan 67e2961733 [XEND] Be more generous with the default shadow allocation.
Allow enough shadow memory to avoid thrashing the shadow pages,
rather than just enough for safety.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2006-10-25 11:44:58 +01:00
Tim Deegan 3df1dee7fb [XEND] Be more generous with the default shadow allocation.
Allow enough shadow memory to avoid thrashing the shadow pages,
rather than just enough for safety.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2006-10-25 11:44:58 +01:00
kfraser@localhost.localdomain c0b4bd476a [XEND] Open xend-debug.log in append mode.
Signed-off-by: John Levon <john.levon@sun.com>
2006-10-25 10:27:03 +01:00
kfraser@localhost.localdomain 993552511c [XEND] Open xend-debug.log in append mode.
Signed-off-by: John Levon <john.levon@sun.com>
2006-10-25 10:27:03 +01:00
kfraser@localhost.localdomain 570d0a2acd [XM] Print qualified path to config file on domain creation.
From: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-23 12:43:32 +01:00
Ewan Mellor c70026c446 Allow domain config file to specify credit-scheduler parameters.
Imported from xen-unstable 11864:babae8ac84b95ff4fbc1cfe4ac27c59ceaba7e38,
with conflict resolution by Ewan Mellor.

Signed-off-by: Masami Watanabe <masami.watanabe@jp.fujitsu.com>
2006-10-28 18:08:43 +01:00
Ewan Mellor 54aa7f4832 Import the xen-unstable changeset
11863:7633398447846679342b197a79bc375b996d9026, with conflict resolution by
Ewan Mellor.

[XM] Allow empty resource strings (e.g., when creating an empty CDROM
device). Also clean up error/acces-denied path.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-23 12:23:57 +01:00
kfraser@localhost.localdomain 83217cebdf [XM] Print qualified path to config file on domain creation.
From: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-23 12:43:32 +01:00
kfraser@localhost.localdomain 78cb34992b Allow domain config file to specify credit-scheduler parameters.
Signed-off-by: Masami Watanabe <masami.watanabe@jp.fujitsu.com>
2006-10-23 12:28:33 +01:00
kfraser@localhost.localdomain 1a69fbebff [XM] Allow empty resource strings (e.g., when creating an empty CDROM
device). Also clean up error/acces-denied path.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-23 12:23:57 +01:00
kfraser@localhost.localdomain 2a46b1b066 [ACM] Don't use uninitialised struct value if hypercall fails.
From: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-23 09:57:24 +01:00
kfraser@localhost.localdomain 94ee555a3a [ACM] Don't use uninitialised struct value if hypercall fails.
From: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-23 09:57:24 +01:00
kfraser@localhost.localdomain eb6f936011 [XEND] Remove lazy import of signal module.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
2006-10-20 11:00:08 +01:00
Ewan Mellor 8f988fdcc8 Import the Xend parts of xen-unstable changeset
11840:02506a7443155611d6bbf03e49fbf193e96d24db.

[HVM] Implement password authentication of VNC connections.

The specification is as mentioned at
http://lists.xensource.com/archives/html/xen-devel/2006-09/msg00666.html
(However, password came to describe plain text)

The difference is follows.
- protocol_authtype() without the necessity was deleted.
- The check on the protocol version was added.
- And, some small modification.

Signed-off-by: Masami Watanabe <masami.watanabe@jp.fujitsu.com>
2006-11-01 10:30:02 +00:00
kfraser@localhost.localdomain 28100f12bc [XEND] Remove lazy import of signal module.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
2006-10-20 11:00:08 +01:00
kfraser@localhost.localdomain 6c96f33316 [HVM] Implement password authentication of VNC connections.
The specification is as mentioned at
http://lists.xensource.com/archives/html/xen-devel/2006-09/msg00666.html
(However, password came to describe plain text)

The difference is follows.
- protocol_authtype() without the necessity was deleted.
- The check on the protocol version was added.
- And, some small modification.

Signed-off-by: Masami Watanabe <masami.watanabe@jp.fujitsu.com>
2006-10-20 09:50:09 +01:00
Ewan Mellor a81b06e66a Import the Xend portion of xen-unstable changeset
11839:328606e0705f0341bebda14cdd17962e463868e8.

Use the name of the title of the system to boot into (instead of the
kernel version) to determine where to make the entry into the grub
configuration file.

Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-10-20 09:32:16 +01:00
Ewan Mellor f652cfbe00 Raise an exception if blkdev_name_to_number fails, to improve the error message.
Fix came from Glauber de Oliveira Costa, and is one half of xen-unstable
11831:f5321161c649fe4f07027250c4a1f3c4b5fc2ed9.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-28 17:58:00 +01:00
kfraser@localhost.localdomain a75c9af600 Use the name of the title of the system to boot into (instead of the
kernel version) to determine where to make the entry into the grub
configuration file.

Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-10-20 09:32:16 +01:00
kfraser@localhost.localdomain 22323d5911 [XEND] Two small fixes/improvements from Glauber de Oliveira Costa.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-19 15:53:12 +01:00
kfraser@localhost.localdomain 2b30fc3c70 [SOLARIS] More tools fixes.
Many of the tools use C99 features such as bool, or expect certain functions.
Fix the CFLAGS to enable these on Solaris.

Also make sure the correct $CC is passed to Python.

Signed-off-by: John Levon <john.levon@sun.com>
2006-10-18 18:13:57 +01:00
kfraser@localhost.localdomain aec48f2d9d [ACM] Fix the resource representations in the resource_label
file. Without this patch, multiple representations of the same
resource can co-exist in the resource label file and lead to errors
during operation.

Ensures that all resource file names are stored with absolute
path name and are unique. Setting labels of phy-resources, relative
paths will automatically be pre-pended with '/dev/'; labeling
file-resources with relative paths will raise an error.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
2006-10-18 17:54:58 +01:00
kfraser@localhost.localdomain 22241b17fe [SOLARIS] Xen daemons are managed separately, so we need a way to start
just xend, and we need to disable xend's self-restarter.

Signed-off-by: John Levon <john.levon@sun.com>
2006-10-17 18:52:17 +01:00
kfraser@localhost.localdomain b7fe460763 [SOLARIS] The hotplug scripts live in a different place on Solaris.
Signed-off-by: John Levon <john.levon@sun.com>
2006-10-17 18:28:27 +01:00
kfraser@localhost.localdomain b1415bc0d6 [SOLARIS] Add the correct machine name for Solaris to arch.py.
Signed-off-by: John Levon <john.levon@sun.com>
2006-10-17 18:23:24 +01:00
kfraser@localhost.localdomain dae75267fd [XEND] Check for and fail on non-existent floppy-drive file when starting HVM guest.
The qemu device model hangs when a non-existent floppy file is passed
via 'fda' or 'fdb'. The attached patch checks whether the floppy file
exists and raises an error if it does not.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-10-15 09:19:26 +01:00
kfraser@localhost.localdomain 741fad235c [XEND] Add missing line from changeset 11653:3b7e11cbeb940
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-10 16:02:30 +01:00
kfraser@localhost.localdomain 6b24e654ee [XM] Fix 'xm help' when called on a command-name prefix.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-10-05 16:17:06 +01:00
Ewan Mellor 56906a3ab2 [XEND] Fix pygrub when run server-side on a domain with blktap disks.
Equivalent fix to xen-unstable 11706:bf0deb09facd847db87ab59ed377db6eb0f5a3ad.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-10-28 17:45:43 +01:00
kfraser@localhost.localdomain 2abd5d1c78 [XM] Fix 'xm help' when called on a command-name prefix.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-10-05 16:17:06 +01:00