Commit Graph
4687 Commits
Author SHA1 Message Date
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
kfraser@localhost.localdomain 9e20e8426f [TOOLS] Avoid void* arithmetic when parsing elf notes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 15:05:20 +00:00
kfraser@localhost.localdomain 2e68ac5f97 [LIBXC] Handle trace-buffer cpumap endianness.
Original patch from Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 14:41:17 +00:00
kfraser@localhost.localdomain e74411be0b [LIBXC] Convert between byte-based and 64-bit bitmap arrays. Use this
for conversion of the domctl_cpumap.
Original patch from Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 14:36:12 +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
john.levon@sun.com e34a812b5d Update pygrub for new Solaris directory names.
Signed-off-by: John Levon <john.levon@sun.com>
2007-01-18 18:19:54 -08:00
kfraser@localhost.localdomain 0511df5aec Merge with xen-ia64-unstable.hg 2007-01-18 18:25:04 +00:00
Christian Limpach a04dec9d77 [ioemu] fix build - prototype for static function needs to be static.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-18 18:09:07 +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
Tim Deegan a5af2a08af [HVM] save restore: guest memory handling
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>

add support for save/restore HVM guest memory
2007-01-18 16:48:08 +00:00
Tim Deegan 9a3e4bbea4 [HVM] save restore: device model support
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>

qemu's save/restore including vga acceleration support
2007-01-18 16:48:07 +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 d74f5aa063 [LIBFSIMAGE] Fix makefile to track version number change
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-17 10:33:13 +00:00
john.levon@sun.com 96002a7e9b Remove useless fsip_fs_free(). Delegate freeing of private data to its plugin
users. Miscellaneous tidy.

Signed-off-by: John Levon <john.levon@sun.com>
2007-01-16 10:54:20 -08:00
Tim Deegan 294b0bdd8b [HVM] save restore: new hyper-call
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>

add a pair of hyper-call for hvm guest context
2007-01-18 16:48:04 +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
Tim Deegan 71c1836f5c Revert 13389; libfsimage version does not need to change after all.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-18 09:24:40 +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
Steven Hand c5d238206d Remove bogus sanity check from xc_linux_save.
(a guest from another host (or an earlier time) can quite validly have
a max_mfn bigger the current max on this host)

Signed-off-by: Steven Hand <steven@xensource.com>
2007-01-15 18:09:16 +00:00
Steven Hand 8d6fcabc22 Comment fix.
Signed-off-by: Steven Hand <steven@xensource.com>
2007-01-15 18:07:32 +00:00
Tim Deegan d50a0b66da [PYGRUB] Make the boot-choice timeout actually time out.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-15 16:04:32 +00:00
kfraser@localhost.localdomain 12d473893b [XEN] Allow stack-address-size to be specified differently from
regular address-size in the emulator.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-15 15:43:20 +00:00
kaf24@localhost.localdomain 6d675a4ad8 [XEN] Emulate MUL/DIV. Tweak test suite build.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-14 12:03:31 +00:00
kaf24@localhost.localdomain ab5c6b8f11 [TESTS] Fix native jump to 1MB absolute address in emulator test.
Fix typo in emulator comment.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-13 21:36:31 +00:00
kfraser@localhost.localdomain c69ab9d431 Extend emulator testing.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-12 17:16:45 +00:00
kfraser@localhost.localdomain 8c338f84ea [LINUX] ipv6: Disable addrconf on Xen bridge device
The ipv6-no-autoconf patch didn't disable IPv6 addrconf completely.
This means that the Xen bridge device still interfered with normal
IPv6 operation by engaging the IPv6 network with a bogus MAC address.

For details please refer to
        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=200360

The following patch completely disables IPv6 on the Xen bridge device
by temporarily setting the MTU to a value less than the minimum
allowed for IPv6.

Upstream will provide a cleaner way to disable IPv6 addrconf in
future, possibly in the form of a proc sysctl.  Of course if the Xen
loopback device is removed it would render this change unnecessary.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2007-01-12 15:23:07 +00:00
kfraser@localhost.localdomain f48232576f Fix trivial bug in xentop main loop.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-12 14:46:21 +00: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
kfraser@localhost.localdomain ce9e6668ac Parse Solaris VTOCs in pygrub.
Signed-off-by: John Levon <john.levon@sun.com>
2007-01-12 14:42:07 +00:00
kfraser@localhost.localdomain 481f5a7ac0 Fix xc_ptrace() for PAE.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-01-12 14:33:36 +00:00
kfraser@localhost.localdomain 54ca5bdead Fix udev check.
Quiesce 'which' invocation, and allow expanding variables in error
message.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-01-12 14:32:41 +00:00
Ewan Mellor baacea8058 This patch does the following:
- renames the XenManagedDomain.py file to XenAPIDomain.py, since this
name better reflects its functionality/purpose
- adds domain tracking to the XenAPIDomain class so that xend-managed
domains can be deleted in an 'atexit' handler upon test case termination
- adds one basic xapi-related test which is part of the grouptests
'xapi'
- refactors the vtpm-related test using xen-api and adds it to the
grouptest 'xapi'
- adds documentation to the README for how to configure xm and xend to
use XML-RPC or Xen-API for communication

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-11 19:00:35 +00:00
Ewan Mellor aeb7c09a66 I added a parameter '-md' to 'runtest.sh' for running the xm test suite
in a mode where all created domains a created as xend-managed domains.

This patch also fixes a problem related to calling 'xm domid' on a
currently suspended domain if that domain is a managed domain. In that
case a 'None' is returned by Xend, which I default to '-1'.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-11 18:56:59 +00:00
Ewan Mellor 2b1f4094a6 Source a file called 'vtpm-impl.alt' if it exists.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-01-11 18:55:18 +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