kfraser@localhost.localdomain
d5cd127e3b
ia64: nvram setup.
...
From: "Zhang, Xing Z" <xing.z.zhang@intel.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-05-24 09:54:03 +01:00
Steven Hand
1a46ed999b
This patch fixes the issue with waiting for devices to disconnect during the end
...
stage of migration in Xend. The problem was cause by a deletion of the VM domain
ID which is used by testDevicecompleComplete ->deviceIDs->backendRoot() to get
the virtual backend device path. The virtual backend device path is used to
check if a device still exists in xenstore.
Signed-off-by: Yung Giang <yung.giang@gmail.com >
2007-05-22 15:32:50 +01:00
Alex Williamson
bbe11c9e2e
[IA64] memmap: ia64 domVTi memmap info support
...
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp >
2007-05-21 14:08:19 -06:00
Tom Wilkie
6bc7665374
Fix default return value for VM_Metrics.get_state
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-05-17 11:42:46 +01:00
Tom Wilkie
61b5419d95
Fix recent XenRT Failure re: xm block-list via XenAPI
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-05-17 11:18:58 +01:00
Ian Campbell
6fc1e1272c
[XEND] Write the default ABI to the xenstore entry for each frontend
...
device.
This allows to run older kernels in a 32on64 mixed environment.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-05-15 19:00:48 +01:00
Ian Campbell
f32a69e588
[BUILDER] Propagate the native protocol ABI for a guest out of the
...
domain builder and in to python code.
This knowledge will be useful to allow us to pre-seed the protocol
field in a VBD entry in xenstore which will allow us to run older
kernels in a 32on64 mixed environment.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-05-15 17:54:48 +01:00
Tom Wilkie
b794da2ef6
Add some fields from XenAPI docs to implementation.
...
Add stefan's patch to swap mtu and mac, so they're correct.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-05-15 17:01:57 +01:00
kfraser@localhost.localdomain
59f97292fa
xenapi: Small fix to the host.get_name_description call
...
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-05-15 10:49:10 +01:00
Keir Fraser
253a9fcaf4
xend: configuration option 'localtime = 1' is not honored for PV domains.
...
This patch fixes an oversight when platform_* config options were
collected in a dictionary.
Signed-off-by: Jim Fehlig <jfehlig@novell.com >
2007-05-12 12:44:20 +01:00
Christian Limpach
8c083820fd
[qemu] Use qemu's -vnc option to specify the interface to listen on.
...
Domain config files still use the original syntax with vnc and vnclisten.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com >
2007-05-10 15:02:05 +01:00
kfraser@localhost.localdomain
2f7f40357b
xend hvm: Fix 'monitor=1' handling in domain config file.
...
Fix wrong python list assignment for "monitor=1". The old assignment
only works when using qemu-dm.debug in configure file.
Signed-off-by: You YongKang <yongkang.you@intel.com >
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com >
2007-05-08 10:21:23 +01:00
kfraser@localhost.localdomain
82cd1fd00e
[Xen-API] Fix the rtc/timeoffset entry.
...
It cannot be 'None' as this is not parseable by the Java xmlrpc
library.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2007-05-08 10:17:46 +01:00
Keir Fraser
90829b52d7
Fix Xen API's Host.get_record method.
...
Currently it returns supported_bootloaders as a string. This patch
returns supported_bootloaders as a 'string set' - per the spec. The
c-bindings fail to parse response, expecting a set but only finding a
string.
Signed-off-by: Jim Fehlig <jfehlig@novell.com >
2007-05-05 11:23:55 +01:00
kfraser@localhost.localdomain
0d03dd60a1
xend: Revert changeset 15002. Breaks xend restart in some cases.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-05-03 11:22:58 +01:00
Tom Wilkie
ffed4cf8e8
[XEND] Move Vifctl.network('start') earlier in Xend startup so XendNode can find networks when its initialised.
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-05-02 17:14:52 +01:00
Tom Wilkie
7601e982d4
Fix the fix for XendPIF
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-05-02 16:43:45 +01:00
Tom Wilkie
2623ab58fe
Fix PIFIsPhysical exception when starting Xend
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-05-02 16:33:05 +01:00
Tom Wilkie
f48f5ded45
[XM] Fix some small bugs in XenAPI create code.
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-05-01 11:40:40 +01:00
Tom Wilkie
2b076853ac
[XM] Fix get_single_vm bug
...
Stops traceback when given a bad domain name
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-05-01 11:36:44 +01:00
Keir Fraser
12c9bce65c
xend: Fix use of PIFIsPhysical (takes no arguments).
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-05-01 22:24:01 +01:00
kfraser@localhost.localdomain
1f2d7a821f
xend: Fix SrvDomain.op_save.
...
The xen.xend.server.SrvDomain class provides an op_save method for
saving guests. This just calls into the domain_save method on
xen.xend.XenDomain The latter recently gained an extra 'checkpoint'
argument, but the SrvDomain class is not providing this. The attached
patch simply makes the 'checkpoint' arg default to 'False' if not
provided by the caller which makes old calling convention.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com >
2007-05-01 14:01:01 +01:00
kfraser@localhost.localdomain
f92b83e597
xend: Ensure 2MB free before creating any domain. All domain creations
...
have an implicit memory overhead.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-05-01 10:20:55 +01:00
kfraser@localhost.localdomain
47d265319b
xend: Fix spurious store changes on rename/migrate
...
_storeChanged() was incorrectly comparing a string to an sxpr, thus
always firing and causing unnecessary watches to be fired in the
domU.
Signed-off-by: John Levon <john.levon@sun.com >
2007-05-01 10:18:11 +01:00
kfraser@localhost.localdomain
dc8f50b150
xend: Ensure bootable flag is set in internal xend config for tap
...
devices.
Original patch by: Jim Fehlig <jfehlig@novell.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-05-01 10:15:08 +01:00
ewan@localhost.localdomain
05c35c5e14
Bump all API version numbers to 1.0.0.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2007-04-27 18:53:23 -07:00
kfraser@localhost.localdomain
67cc36df17
xend: Auto-balloon a couple megabytes before creating an HVM domain as
...
Xen will allocate 1MB for shadow memory immediately.
Suggested by Daniel Berrange.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-27 15:22:34 +01:00
kfraser@localhost.localdomain
3734a7eda8
xend: Don't use -q flag to bootloader if activating text console.
...
In Xen 3.0.3 series release, if one did 'xm create -c someguest' then
you would be shown the pygrub boot menu, allowing one to pick a
kernel. If you didn't use the -c arg, then it'd just pick the default
kernel.
In Xen 3.0.5 testing, xm is forcing the addition of the '-q' flag
whenever the 'bootargs' parameter is not given in the config file. So
if one does not have 'bootargs' specified, and one uses 'xm create -c
someguest' you never get to see the pygrub boot menu.
This patch fixes 'xm create' so that it does not add the '-q' flag
to the bootloader args, if the '-c' flag is given to xm create. This
makes the default user experiance operate closer to user
expectations.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com >
2007-04-27 15:12:48 +01:00
Tom Wilkie
1341c96dca
[XEND] make *.get_all_records return dict of ref->record
...
Also clean up some handling of uuids and refs in xm
signed-of-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-27 15:09:39 +01:00
Steven Hand
b8057a726d
Allow dynamic_min/dynamic_max to (temporarily) be out of sync; in practice
...
we keep them identical but non-atomically.
Signed-off-by: Steven Hand <steven@xensource.com >
2007-04-27 14:45:06 +01:00
Steven Hand
ec2ecedd08
Sanity check changes to memory dynamic/static min/max and ensure we cannot
...
get ourselves into an inconsistent state.
Signed-off-by: Steven Hand <steven@xensource.com >
2007-04-27 14:16:22 +01:00
Tom Wilkie
21ac7c5fdd
[XM] Differentiate between VLAN PIFs and normal PIFs in network-show
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-27 12:51:14 +01:00
Tom Wilkie
cd389674c4
[XEND] Fix up PIF class, make it work
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-27 12:49:17 +01:00
Tom Wilkie
2f53778243
[XEND] Used shutil.rename to cope with /tmp and /var on different file systems
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-27 11:03:47 +01:00
Tom Wilkie
e65161ebc2
[XM] Fix typo in XenAPI create code
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-27 11:02:47 +01:00
Tom Wilkie
ad62235514
[XEND] Start cleanly even with bad xml state files
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-27 10:44:11 +01:00
Tom Wilkie
6fb84d0fce
Add support for creating networks to xm create XML file
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-26 17:30:56 +01:00
Tom Wilkie
1975a60f78
Add network-del and network-show commands to xm
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-26 15:40:35 +01:00
Tom Wilkie
15ef31e0c5
Add network.destroy() to XenAPI
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-26 15:39:30 +01:00
kfraser@localhost.localdomain
8482630322
xend: Tidy bootloader device constant.
...
In XendDomainInfo, BOOTLOADER_LOOPBACK_DEVICE is defined to be
'/dev/xvdp'. However, there is still one place in this file that has
'/dev/xvdp' hard-coded.
Signed-off-by: Charles Coffing <ccoffing@novell.com >
2007-04-26 09:51:39 +01:00
Tom Wilkie
369e63f97c
[XEND] No need to refresh bridges under new model...
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-25 16:18:34 +01:00
Tom Wilkie
ebfb34834f
[XEND] Fully implement XenAPI network and PIF classes.
...
Now support creation of Networks and PIFs. Auto discover current network settings.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-25 16:17:51 +01:00
Tom Wilkie
1176bb2c6c
[XEND] Remove autoplug class signatures, have it all handled in the class now
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-25 16:16:21 +01:00
Tom Wilkie
0207b91bee
[XEND] Make existing autoplug classes implement new XendBase
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-25 16:14:20 +01:00
Tom Wilkie
de8d95c660
[XM] Fix network-attach when a bridge is specified, add network-new command to create new XenAPI network
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-25 16:12:41 +01:00
Tom Wilkie
edb909c878
[XEND] Add more exceptions and error messages
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-25 16:11:20 +01:00
Tom Wilkie
2ecc034a6a
Use new instance store to resolve network uuid to bridge name
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-25 15:42:34 +01:00
Tom Wilkie
876a24c0c8
Change how XendStateStore store XML for persistance.
...
Make it explicity store empty dicts and list.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-25 15:39:48 +01:00
Tom Wilkie
e9b41a4385
Add new base class and instance store for new autoplugged api classes
...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-25 15:38:04 +01:00
Tom Wilkie
9ad27d5eda
If bridge name hasn't been recorded in XendConfig then try and work it out using Brctl.
...
This is needed when a VIF is created without specifying a bridge.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com >
2007-04-25 13:55:18 +01:00