kaf24@localhost.localdomain
c21d85bf59
[HVM] Change VCPU->LAPIC_ID mapping so that VCPU0 has ID0.
...
This fixes booting of older x86/64 Linux kernels.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-31 12:26:42 +00:00
kaf24@localhost.localdomain
41eabc3d5c
[PV-ON-HVM] Update evtchn interface to match new PV Linux interfaces.
...
Also fix unbind_from_irqhandler() to close event-channel port where
that is appropriate.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-31 11:59:47 +00:00
kaf24@localhost.localdomain
47fad056d3
[LINUX] Extend the event-channel interfaces to provide helper methods
...
for creating interdomain event channels bound to IRQ handlers.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-30 18:23:27 +00:00
kaf24@localhost.localdomain
b8ca0e6839
[HVM] Rationalise OEM and Creator IDs and Table Revisions.
...
Create virtualised IDs and use them consistently.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-30 15:45:13 +00:00
kaf24@localhost.localdomain
c1619c568c
[HVM] Minor HPET fixes/ and cleanups.
...
In particular, the definition of HPET_TN_SIZE_CAP is wrong.
From: Dexuan Cui <dexuan.cui@intel.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-30 12:49:31 +00:00
Ewan Mellor
95fac2786b
Resurrect cset 13174:766eec31afab, with one fix -- pass the fallback flag to
...
gettext.translation so that this module works if the message database is
missing (it's still an optional part of the build).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-29 20:17:01 +00:00
Steven Hand
f8512e1c61
(temporarily) revert cset 13174:766eec31afab since it seems to break 64-bit;
...
a proper fix will arrive in the new year.
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-29 18:17:56 +00:00
Steven Hand
3dcbf823b3
Revert cset 13181:f087c013cf12 since the event channel is already unbound via
...
blkif_free() -> unbind_from_irqhandler() -> unbind_from_irq()
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-29 17:46:40 +00:00
kaf24@localhost.localdomain
8053a62d5a
Fix libxenstore library dependencies.
...
Signed-off-by: Mark Johnson <mark.johnson@sun.com >
2006-12-29 16:24:57 +00:00
kaf24@localhost.localdomain
e7a7e19187
Explicitly use GNU msgfmt on non-GNU systems.
...
Signed-off-by: John Levon <john.levon@sun.com >
2006-12-29 16:23:11 +00:00
kaf24@localhost.localdomain
cc56b92850
[SOLARIS] Fix xentop build.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-29 16:17:53 +00:00
Steven Hand
7526489191
Minor clean ups to shadow logdirty peek / clean.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-29 14:25:03 +00:00
kaf24@localhost.localdomain
7467f810fc
[HVM] Fix HPET timer to support 8-byte accesses, erroneous updates
...
to read-only bits, etc.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-29 14:12:55 +00:00
Steven Hand
bcef756eb4
Remove unused #defines.
...
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-29 13:02:19 +00:00
Steven Hand
c2bb666e08
Remove 'netbuf race' debug output - we get tons of these for ballooned
...
down domains, and there's no way for us to distinguish that from the
(transient) case of network buffers.
Also tidy up comment.
Signed-off-by: Steven Hand <steven@xensource.com >
2006-12-29 13:00:08 +00:00
Ewan Mellor
396b267ecd
Remove a few more explicit type conversions, now that stringify is fixed.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-28 16:52:44 +00:00
Ewan Mellor
a288b774b7
Fix xmlrpclib2's stringify to cope with floats and longs, removing the need
...
for explicit type conversions in XendAPI.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-28 16:30:47 +00:00
Ewan Mellor
dcd6000dae
Improve the documentation of the set add/remove methods.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-28 16:14:48 +00:00
kaf24@localhost.localdomain
b842346faa
[BLK] front: Fix free of event channel.
...
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com >
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-12-28 17:14:41 +00:00
kaf24@localhost.localdomain
b8da5b43b1
[QEMU] Fix a number of signedness issues plus a typo in the version checking in vnc.c.
...
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2006-12-28 17:11:31 +00:00
kaf24@localhost.localdomain
5737d00f0d
[HVM][VMX] Fix regs set/get decoding in VMXAssist.
...
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com >
Signed-off-by: Xin Li <xin.b.li@intel.com >
2006-12-28 17:09:34 +00:00
Ewan Mellor
1238c75163
Add a 1-PIF-per-network limit.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-28 15:54:15 +00:00
Ewan Mellor
a80a083a0e
Format Xen-API error messages nicely.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-28 15:52:31 +00:00
kaf24@localhost.localdomain
d9c6b3982f
Revert 13107:04c5f7b71ff4175ae387b93845bb4c83ffb5efa9.
...
This was preventing W2K3 from installing or booting.
2006-12-28 16:55:17 +00:00
kaf24@localhost.localdomain
0f30bdcf5f
[HVM] Fix assumptions that ISA IRQ 0 connects to GSI 0.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-28 16:33:15 +00:00
Ewan Mellor
b1da15c72b
Added __repr__ implementation, initialise last_login_method to None, and
...
use gettext's ugettext explicitly, rather than using gettext.install. These
things together improve the error messages that you get when using this
module incorrectly in the interactive interpreter.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-28 15:28:45 +00:00
Ewan Mellor
9d26922025
Cope if a VIF is not attached to a network.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-28 15:26:45 +00:00
Ewan Mellor
4bbdd5d689
Do not update the PV_ variables with the values outputted by the bootloader --
...
this gets us into all sorts of trouble when Xend is restarted and then the
domain is rebooted, because we expect to be able to handle the PV_kernel == ''
case by defaulting to pygrub.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-28 15:26:19 +00:00
Ewan Mellor
e5e25973c2
Fix return types for VBD.get_record and VIF.get_record.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-28 15:23:31 +00:00
Ewan Mellor
7917345584
Fix booting caused by recent thinko.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-28 15:00:15 +00:00
Ewan Mellor
6f37f18c79
Fix reboot of PV domains when both kernel and bootloader are unspecified
...
(which is supposed to default to using pygrub).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-28 12:59:58 +00:00
Ewan Mellor
468611d262
Implement network.get_VIFs.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-28 12:26:29 +00:00
Ewan Mellor
6e43af518c
Copy the xm configuration file into the distribution. Comment-out the Xen-API
...
configuration therein, preserving the default behaviour.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-27 16:16:10 +00:00
Ewan Mellor
16d8fd16ce
Fix PV_initrd reference (should be PV_ramdisk).
...
Signed-off-by: Stefan Berger <stefanB@us.ibm.com >
2006-12-27 15:44:40 +00:00
Ewan Mellor
bde11044ca
Added network.{create,destroy}, and PIF.{create,create_VLAN,destroy}, and
...
a first blush at support for VLANs through Xen-API.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-27 15:42:56 +00:00
Ewan Mellor
b16ecf8d4e
Added Brctl.get_state, to support upcoming PIF implementation.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-27 15:39:32 +00:00
Ewan Mellor
85a87721a7
Override logging.Logger.findCaller so that the trace function here does not
...
appear as the source of log messages.
Remove the logger name from the log format -- it's adding no useful information.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-27 15:39:04 +00:00
Ewan Mellor
bbe21e102e
Tidy and fix bindings for the SR class.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-27 11:49:59 +00:00
Ewan Mellor
866cc9cd43
Fix HVM booting through Xen-API when the kernel is unspecified.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-27 00:38:01 +00:00
Ewan Mellor
53211200e3
Tidy up bindings for VDI class.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-27 00:35:27 +00:00
kaf24@localhost.localdomain
175eac1a6d
[HVM] Route ISA IRQ 0 to IOAPIC GSI 2, just like 99% of native systems.
...
This is a built-in assumption of HPET 'legacy' IRQ routing, which is
why we have changed to this routing strategy now.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-26 19:49:11 +00:00
Ewan Mellor
894243ac7b
Implement VM_BAD_POWER_STATE handling.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-25 19:29:05 +00:00
Ewan Mellor
17afe524e1
Added the BAD_VM_STATE error code, and tidy up the error code section.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-25 18:44:27 +00:00
Ewan Mellor
686cfca86a
Persist the VLAN setting.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-25 17:02:16 +00:00
Ewan Mellor
0d46f85d6c
Fix plumbing for PIF calls. Change xen_api_success to convert None to the
...
empty string, to make it easier to write setters.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-25 16:56:46 +00:00
Ewan Mellor
8f56ead6e6
Persist network details when they change.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-25 16:42:24 +00:00
Ewan Mellor
0a8e4657af
Implement network.set_{name_{label,description},default_{gateway,netmask}}.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-25 16:36:48 +00:00
Ewan Mellor
05c6990f46
Implement network.get_{name_{label,description},default_{gateway,netmask}}.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-25 16:32:35 +00:00
Ewan Mellor
d33afed19d
Change the way that networks and PIFs relate to each other -- the PIF holds a
...
reference to the network (and the host) not the other way around. Persist only
the necessary details for the network (not the set of PIFs and VIFs).
Fix the plumbing of the network class inside XendAPI, and implement a few more
functions.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-25 16:26:51 +00:00
Ewan Mellor
c1a482bad3
Cope with corrupt or empty VDI config files. Have to_record return strings
...
rather than integers, as required by the Xen-API spec.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-12-25 16:24:15 +00:00