Commit Graph
14648 Commits
Author SHA1 Message Date
Tom Wilkie 82669d3a5e Finish off network in xm via XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-29 16:29:31 +01:00
Tom Wilkie 0067711047 Make network.name_label == bridge name
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-29 15:59:53 +01:00
Ewan Mellor d05727902f Fix bad behaviour of xm when calling event.next(), by adding a different error
code (SESSION_NOT_REGISTERED).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-29 16:18:39 +01:00
Ewan Mellor c7dfb7d170 Minor fix.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-29 15:51:04 +01:00
Ewan Mellor 5a1f59a822 Added asynchronous event notification through the Xen-API. Added a new command,
xm event-monitor, a new test program for the C bindings, and new bindings
themselves.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-29 15:46:30 +01:00
Ewan Mellor ebbc8fb301 Fix the xen-api-server option parsing, so that we default to listening on
all interfaces when only a port is given.

This was broken by cset 14601:966c65f0ddba.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-29 15:22:02 +01:00
Ewan Mellor b4fffaec01 Fix PIF_metrics_methods declaration, which has broken PIF.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-29 15:10:26 +01:00
Ewan Mellor 4967c65c8c This patch adds serialization of sets with strings. I recursified the
serialization. Only sets with strings are supported so far.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-03-29 15:06:12 +01:00
kfraser@localhost.localdomain 0491c8a6d2 xen: Split domain_flags into discrete first-class fields in the
domain structure. This makes them quicker to access, and simplifies
domain pause and checking of runnable status.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-29 15:14:26 +01:00
kfraser@localhost.localdomain fbe52a1dd1 xen: Pause domain when changing debug status.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-29 13:29:24 +01:00
kfraser@localhost.localdomain 132c5f356a hvm: Avoid separate nested-page-table control-register logic in SVM code.
Clean up VMX set_cr0() function a little to avoid unnecesasry diffs
with SVM version.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-29 12:04:35 +01:00
kfraser@localhost.localdomain 7662f34cd1 hvm: Remove extremely verbose debugging from SVM code.
It would be too verbose to actually turn on to find any non-subtle
bugs, and severely bloats the vmexit handler (making it hard to find
the real code amongst the debugging code).
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-29 11:01:41 +01:00
kfraser@localhost.localdomain 4ecd171efc hvm vmx: Better management of VMX control bitmaps.
Distinguish between 'nice to have' and 'must have' features.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-29 10:41:37 +01:00
Keir Fraser abaff6993d pciback: Devices can lose config space info on D3->D0 transition, yet
they may not (and even if they try, can not) restore the BARs. Since
Linux does not do this for us, pciback must do it for itself manually.

Possible todo: Restore all first 64 bytes of the config space?

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-28 20:19:11 +01:00
Keir Fraser 3340fde0ca ia64: Remove list_move() implementation. Now implemenetd in generic list.h.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-03-28 18:48:54 +01:00
Keir Fraser 228c4fa338 hvm: Clean up handling of exception intercepts.
Only intercept #DB/#BP if a debugger is attached.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-28 18:47:17 +01:00
Keir Fraser 08710a9816 hvm svm: Inject #UD exception if guest tries to execute any SVM-related
function (except VMMCALL).
Signed-off-by: Mats Petersson <mats.petersson@amd.com>
2007-03-28 16:52:05 +01:00
Tim Deegan 92d2a92d43 Merge 2007-03-28 15:04:14 +00:00
Tim Deegan 26f7e5fa79 [SVM] Inject a "fake" interrupt if we delay an interrupt for an exception
(instead of just waiting for the next vmexit to inject the pending
interrupt, since that could be some arbitrary number of instructions later).

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-28 15:02:54 +00:00
Steven Hand e547338c5c Don't trap int3 instructions by default - can have a major overhead in
certain cases, and typically not used for anything.

Signed-off-by: Steven Hand <steven@xensource.com>
2007-03-28 15:58:42 +01:00
Tom Wilkie 97fef381d6 Remove unused import; library moved
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-28 15:31:17 +01:00
kfraser@localhost.localdomain 6a6ebb9210 linux pciback: Proper fix for build failure.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-28 15:01:24 +01:00
kfraser@localhost.localdomain 34b9819184 xen: Sync the list.h macros to Linux 2.6.18.
This also pulls in RCU-related functions, superceding a patch from Mike Day.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-28 14:43:41 +01:00
kfraser@localhost.localdomain 573fcbc6f4 linux: Fix the pciback build (temporary hack).
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-28 14:42:54 +01:00
kfraser@localhost.localdomain a10e171a41 [ACM] Allow version information to be embedded in the XML representation of
the ACM policy. The translation tool has been adapted to parse the
version found in the XML representation and put it into the binary
policy. Xen has been adapted to remember the version information and
report it when asked for the current policy.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2007-03-28 14:00:56 +01:00
kfraser@localhost.localdomain 8588d662d4 xenbus: check function return values of functions declared with
__must_check post-2.6.18.

This implies completely suppressing frontend/backend operations if the
respective bus or device registration failed.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-28 13:56:22 +01:00
kfraser@localhost.localdomain 3352268c6c pciback: check function return values of functions declared with
__must_check post-2.6.18.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-03-28 13:55:01 +01:00
kfraser@localhost.localdomain 6321b76c28 Remove page_is_removable arch hook. Now the ia64 p2m semantic becomes
same as the x86 p2m table so that the hook is unnecessary any more.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2007-03-28 13:53:27 +01:00
kfraser@localhost.localdomain 2405a261cd linux evtchn: Read function in evtchn driver requires locking.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-28 13:52:03 +01:00
Tom Wilkie 7a45bd6202 Fix to let TCP server run without SSL installed.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-28 12:38:13 +01:00
Christian Limpach a712e471e2 [linux] Fix xenbus device to allow replies larger than 4096 bytes.
Also fix reply_queue mutex across fragmented replies and for concurrent
readers.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-03-28 11:01:58 +01:00
kfraser@localhost.localdomain 350d1d46e7 Merge with xen-ia64-unstable.hg 2007-03-28 10:41:53 +01:00
kfraser@localhost.localdomain 8e90ca4a3d Merge with xen-ia64-unstable.hg 2007-03-28 10:38:41 +01:00
Christian Limpach 2aace8a8f9 [ioemu] Don't enable monitor or serial console on virtual consoles by default.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-03-28 10:36:49 +01:00
Tim Deegan d3454d2db9 Editing long lines in pygrub interactively could lead to tracebacks.
Attached patch fixes things.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2007-03-28 09:12:16 +00:00
Christian Limpach 7575ba257f [ioemu] Revert 14585:3375391fb0c9 since this removes useful functionality.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-03-28 10:05:37 +01:00
Ewan Mellor 493cba058f Fix missing import.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-28 10:05:03 +01:00
Ewan Mellor 16320c2cdf Fix diagnosis of unhandled exceptions.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-28 10:04:32 +01:00
Tim Deegan e8130031cf Merge 2007-03-28 08:44:08 +00:00
Tim Deegan 323f941287 [HVM][HAP] Fix up some memory allocation bugs
The attached patch initializes count_info of newly allocated hap page
with 0, and removes unnecessary page deallcation when destroying monitor
table. Without this patch, destroying hap domain will fail.

Signed-off-by: Wei Huang (wei.huang2@amd.com)
2007-03-28 08:40:42 +00:00
Ewan Mellor 3dc7643871 Fix typo.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-28 01:09:14 +01:00
Ewan Mellor b843dd7af8 Added HTTPS support to Xend. There are new configuration options for the
Xen-API and legacy XML-RPC servers to set key and certificate files, and
xm simply needs to be configured use an https rather than an http URL.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 23:23:01 +01:00
Ewan Mellor 2a5cee571c Added comment regarding a Python bug.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 23:03:32 +01:00
Ewan Mellor 823ab3fd0c Move the client-specific parts of xmlrpclib2 into xmlrpcclient.py. This means
that clients do not need to import swathes of server code.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 22:34:22 +01:00
awilliam@xenbuild2.aw 9f1f36509c merge with xen-unstable.hg 2007-03-27 12:21:48 -06:00
Ewan Mellor ff7c54e3c3 Add auto-start and auto-stop functionality.
Patch by Alastair Tse <atse@xensource.com>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 16:52:56 +01:00
Ewan Mellor cc3d7515f9 Use the new blkback sysfs statistics/{rd,wr}_sect to get a more accurate
bandwidth measurements for VBD I/O.

Patch by Alastair Tse <atse@xensource.com>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-03-27 16:33:26 +01:00
kfraser@localhost.localdomain 784b3edfaa hvm svm: Do not deliver virtual interrupts concurrently with virtual exceptions.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-27 19:05:48 +01:00
kfraser@localhost.localdomain a84bf3595a hvm svm: Initialise VMCB CR4 and shadow CR4 with 0 when VMCB is being
constructed under nested paging mode. It complies with recent
reset_to_realmode change in hvmloader.
Signed-off-by: Wei Huang <wei.huang2@amd.com>
2007-03-27 18:53:05 +01:00
kfraser@localhost.localdomain 04559b620d hvm: Clean up intr_assist() functions (both VMX and SVM,. but mainly
the latter!).
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-27 18:51:07 +01:00