kfraser@localhost.localdomain
efa2dca17a
Fix failure to localise xm by preventing cd from writing to stdout
...
which gets incorrectly captured as a value for the bash for loop.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-22 17:07:16 +00:00
kfraser@localhost.localdomain
11f063545a
[PVFB] Set keyboard layout of PVFB from configuration file.
...
For example:
keymap = "ja"
Default remains en-us.
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com >
Signed-off-by: Tomohiro Takahashi <takatom@tokyo.ssg.fujitsu.com >
Signed-off-by: Masami Watanabe <masami.watanabe@jp.fujitsu.com >
2007-01-22 16:27:03 +00:00
kfraser@localhost.localdomain
f4e8a7e419
Implement clean return from save/restore failure (so that original
...
domain can continue execution).
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com >
2007-01-22 15:15:32 +00:00
Tim Deegan
7f39243d68
[PYGRUB] Plumb bootloader I/O through xenconsole.
...
- xend forwards console traffic between the running bootloader and a pty
which it writes to the store so the xenconsole client can see it.
- the xenconsole client handles the domain's console pty changing.
- xm create no longer runs the bootloader.
- pygrub gets '-i' option to explicitly request an interactive session.
- xend unlocks the domain list during bootloading so that "xm console"
can see the domain and attach to its console pty.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com >
2007-01-22 11:49:14 +00:00
kfraser@localhost.localdomain
115209d91b
[XEN] New event-channel reset operation.
...
Plumbed through libxenctrl to python.
From: Andrei Petrov <andrei.petrov@xensource.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-19 17:20:57 +00:00
kfraser@localhost.localdomain
b686a7d235
xenstore: add XS_RESUME command; export it to xend.
...
This clears the shutdown flag for a domain in xenstore, allowing
subsequent shutdowns of the same domain to fire the appropriate
watches.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-01-19 15:28:34 +00:00
kfraser@localhost.localdomain
e105919b01
Add resumedomain domctl to resume a domain after checkpoint.
...
Export resumedomain domctl to libxc, xend.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca >
2007-01-19 15:23:41 +00:00
Ewan Mellor
61a18d9c54
Tidy up the restore path following HVM save/restore patches.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-19 10:12:39 +00:00
kfraser@localhost.localdomain
0511df5aec
Merge with xen-ia64-unstable.hg
2007-01-18 18:25:04 +00:00
Ewan Mellor
ca662595dc
Allow vcpu_avail to be specified in the configuration file. Rationalise our
...
use of online_vcpus and max_vcpu_id, keeping track of the configured value in
vcpus_number.
Fix HVM SMP configuration to use the XendDomainInfo.getVCpuCount() call that
is used everywhere else, rather than parsing it out of the device config.
Fix xm list to show the configured VCPU count when the VM is down.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-18 17:48:59 +00:00
Alastair Tse
b8a73ce6fe
Fix get_config_value fix
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-18 17:24:40 +00:00
Ewan Mellor
1ab8a4153b
Fix get_config_value call.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-18 17:01:44 +00:00
awilliam@xenbuild2.aw
9b7ae1d44f
merge with xen-unstable.hg
2007-01-17 21:31:22 -07:00
kfraser@localhost.localdomain
727e8b4154
[XEND] Fix warning about 'cpus' option on domain creation.
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-01-17 14:54:59 +00:00
kfraser@localhost.localdomain
edf5361fb2
Add scheduler name to 'xm info' output.
...
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-01-17 14:54:06 +00:00
Tim Deegan
4a13cf1b70
[HVM] save restore: frame work
...
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com >
frame work for HVM save restore in Control Panel
2007-01-18 16:48:03 +00:00
Alastair Tse
53a668c52d
[XEND] Change SrvServer to not require sockets to be non-blocking.
...
Set all spawned server threads to be daemonic and make sure their
sockets are closed properly using shutdown() and close(), otherwise
reload will complain about the "Address still in use."
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-18 15:52:23 +00:00
john.levon@sun.com
d5ff71aae1
Solaris should used a netback of type 'SUNW_mac' and 'vif-vnic' as the
...
vif-script by default.
Signed-off-by: David Edmondson <dme@sun.com >
2007-01-16 19:44:09 -08:00
Ewan Mellor
674fb7f63e
Allow xend configuration via Solaris SMF as well as the config file.
...
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-18 15:07:51 +00:00
Ewan Mellor
2dd9828c75
Rename XendRoot to XendOptions.
...
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-18 15:03:06 +00:00
Alastair Tse
292c6bcd6a
[XEND] Fix order of kernel argument construction to prevent arg repeat bug
...
Make sure user specified kernel args are appended at the end but also
make sure that we do not duplicate root= and ip=.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-18 15:04:59 +00:00
Steven Hand
236c16423b
Enable lazy (on-demand) allocation of memory to a guest being restored; this
...
means that ballooned down domains only require as much memory as is currently
being used (rather than their max) when being restored from save, or when
being migrated.
Signed-off-by: Steven Hand <steven@xensource.com >
2007-01-16 10:02:50 +00:00
awilliam@xenbuild2.aw
b5a65552a9
merge with xen-unstable.hg
2007-01-15 15:15:26 -07:00
kfraser@localhost.localdomain
8c8d60ad1a
Add vfb config examples.
...
From: Markus Armbruster <armbru@redhat.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-12 14:43:50 +00:00
Alastair Tse
b156729779
[XEND] Device update should handle SXP without 'device' as first
...
param.
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-11 17:03:11 +00:00
Alastair Tse
85bc6f4326
[XEND] Fix broken block-configure.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-11 16:36:46 +00:00
awilliam@xenbuild2.aw
a77c31c882
merge with xen-unstable.hg
2007-01-10 08:40:47 -07:00
awilliam@xenbuild2.aw
6ed3af384f
[IA64] Clean up VTi memory initialization logic
...
This patch makes the logic in setup_guest() more clear.
domain_translate_gpfn_list() is now gone, so we can make
memory initializtion code simple.
Xend passes memory size which is a sum of normal memory
size and GFW memory to QEMU and Libxc. This patch fixes
this issue.
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com >
2007-01-10 08:00:50 -07:00
Tim Deegan
db442369b3
When booting via xm, only run the bootloader if it's in non-interactive mode:
...
otherwise we lose the user's named kernel and try to bootload the temporary
file pygrub returned.
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-09 13:24:45 +00:00
Tim Deegan
38d6397a83
Fix xm create direct call to XendBootloader
...
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-09 13:24:44 +00:00
Tim Deegan
eb568d6624
Fix bootloader = "pygrub" via 'xm create'.
...
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-09 13:24:43 +00:00
Tim Deegan
662e32f5cc
Fix auto-bootloading via 'xm create'.
...
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-09 13:24:42 +00:00
Tim Deegan
8c119d2ee4
Pass in kernel/ramdisk settings to pygrub; if specified, don't try to use
...
grub.conf; this allows hands-off bootloading in the absence of a grub.conf.
It's also useful for specifying temporary changes etc.
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-09 13:24:40 +00:00
Tim Deegan
b624e752bd
Fix for pygrub path on Solaris.
...
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-09 13:24:40 +00:00
Ewan Mellor
2166b8b539
Do not call refreshShutdown in XendDomain for VM-list operations, as this
...
is unnecessary and expensive.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-09 11:52:15 +00:00
Emmanuel Ackaouy
e975e81c9b
[TOOLS] Improve information displayed by the xm sched-credit command.
...
The improvement is as follows.
1. The display form is changed like the xm sched-sedf command.
2. When -d option is omitted, information on all domains is
displayed.
Examples:
# xm sched-credit -d vm1
Name ID Weight Cap
vm1 1 512 100
# xm sched-credit
Name ID Weight Cap
Domain-0 0 256 0
vm1 1 512 100
vm2 2 512 50
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2007-01-06 11:17:52 +00:00
Alastair Tse
8843b4291c
Add support to list VDIs and SRs in xapi.py
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-05 17:27:30 +00:00
Alastair Tse
1f2d77695e
[XEND] Fix some Xen API error declarations.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-05 17:24:55 +00:00
Ewan Mellor
9bff7e28c6
Catch exception from dumpCore when inside refreshShutdown.
...
Thanks to John Levon <levon@movementarian.org > for diagnosis and suggesting the
fix.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 16:11:49 +00:00
Ewan Mellor
8787be2922
Record the last shutdown reason for each VM in the store.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 15:38:01 +00:00
Ewan Mellor
79a9f1f484
Rename the 3DNOW and 3DNOWEXT API constants to THREEDNOW, so that they may be
...
used directly as identifiers in bindings.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 15:34:47 +00:00
Ewan Mellor
e821b95d39
Fix bindings for PIF_set_MAC and PIF.set_MTU.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 12:33:23 +00:00
Ewan Mellor
972656054c
Fix missing import, and a small tidyup.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 12:32:40 +00:00
Ewan Mellor
957eed7252
Remove broken and unused set_u32.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-01-05 12:31:49 +00:00
kfraser@localhost.localdomain
c082fcbec5
Xen 3.0.3 pre-pended all configuration prior to the user-specified
...
args in the boot cmdline. Restore this behaviour to fix
incompatabilities with fragile parsers in some domU kernels.
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-05 11:03:16 +00:00
kfraser@localhost.localdomain
71314211e9
Fix xend stop if we're run directly instead of via the caretaker parent.
...
Signed-off-by: John Levon <john.levon@sun.com >
2007-01-05 10:58:48 +00:00
Ian Campbell
47fde3df04
[TOOLS] Fix typo in XenDomainInfo:device_configure.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-05 10:39:45 +00:00
Alastair Tse
ab452d0667
[XEND] Fix block-list for dom0 in xm.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-04 16:42:44 +00:00
Alastair Tse
4b166e2a17
[XEND] Prevent exception if PIF does not have a network.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-04 16:34:19 +00:00
Alastair Tse
eddd713445
[XEND] Add VBD_MODE enum from XenAPI.
...
Signed-off-by: Alastair Tse <atse@xensource.com >
2007-01-04 16:31:29 +00:00