Commit Graph
14659 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain b5179d4756 xen: Remove {nmi_pending,nmi_masked,paused} vcpu bitflags.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-29 18:07:33 +01:00
Tim Deegan 09c1cd6992 Merge 2007-03-29 16:28:34 +00:00
Tim Deegan 9dd742c907 [HVM] Save/restore: PV-on-HVM driver save/restore support
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2007-03-29 16:27:52 +00:00
Tom Wilkie 5e7badb941 Let xm commands use domids with XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
2007-03-29 17:09:49 +01:00
kfraser@localhost.localdomain 90bc7dea0e xen: Get rid of some VCPUF_* flags and move into their own byte fields.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-03-29 16:52:40 +01:00
Tim Deegan 56ada11259 Merge 2007-03-29 15:33:32 +00:00
Tim Deegan f881b16efa [HVM] Save/restore: fix missing return code in USB restore
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-29 15:32:08 +00:00
Tim Deegan 92c541f5a0 [HVM] Save/restore: Allow save/restore of multiple NICs
Signed-off-by: Tim Deegan <Tim.Deegan@xenource.com>
2007-03-29 15:30:01 +00:00
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
Tim Deegan 8de8be3d97 [HVM] Save/restore: backport pcnet save/restore from qemu tip.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-29 15:29:15 +00:00
Tim Deegan 90cc7655d1 [HVM] Save/restore: Save the ACPI PM control register in qemu
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-29 15:28:27 +00:00
Tim Deegan e0638f7e62 [HVM] Save/restore: don't get guest size from "memory_static_min"
since it doesn't mean that any more.  This is a sticking-plaster
to get HVM S/R working until the proper memory-map handling patch
is ready.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-03-29 15:27:18 +00: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
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 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