Commit Graph
7130 Commits
Author SHA1 Message Date
iap10@firebug.cl.cam.ac.uk 4bc0323bff Don't define vectors for IPIs we don't use in Xen
Signed-off-by: ian@xensource.com
2005-09-29 16:57:23 +01:00
kaf24@firebug.cl.cam.ac.uk c43f604d05 Slight rejig avoids grant entry warning message on xm save.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-29 16:39:32 +01:00
vh249@kneesaa.uk.xensource.com 188c38b7c8 full devices expect to be able to read the partition table during xlvbd_add
but couldn't because the device was not marked as BLKIF_CONNECTED and thus
blkif_queue_request discarded the read request. fix bug #220

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-09-29 11:25:50 -04:00
kaf24@firebug.cl.cam.ac.uk 756af00b03 Define new notify_remote_via_irq() interface which is a
safe version for drivers to use that is aware of
save/restore. Post-restore notifications are silently
dropped, in the expectation that xenbus will eventually
get round to telling the driver it needs to reconnect.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-29 15:49:54 +01:00
kaf24@firebug.cl.cam.ac.uk eb3abaa7a2 Change semantics of bind_evtchn_to_xxx and
unbind_evtchn_from_xxx. The bind now returns the IRQ
number on success. The unbind takes this as a parameter
instead of the event-channel port. Also, unbind closes
down the underlying event-channel port if it is still
live.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-29 15:14:03 +01:00
kaf24@firebug.cl.cam.ac.uk 434a7023be VIRQs and IPIs on VCPU#0 are automatically re-bound on save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-29 13:05:43 +01:00
kaf24@firebug.cl.cam.ac.uk 9eda1f79a8 Reindent more xenlinux files. Remove defunct header file.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-29 11:10:27 +01:00
kaf24@firebug.cl.cam.ac.uk 709c2fe3d3 Set guest selectors to be null if it's not valid when switch to
protected-mode in the guest firmware.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
2005-09-29 09:59:46 +01:00
kaf24@firebug.cl.cam.ac.uk 47fa53bbb4 Fix fixed-point long multiplication used in time delta
calculations. The carry flag was clobbered before it was
added to the result.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-28 22:18:30 +01:00
kaf24@firebug.cl.cam.ac.uk e248d45a29 merge 2005-09-28 21:06:49 +01:00
kaf24@firebug.cl.cam.ac.uk 93dc2b5a8f Fix gnttab setup, which I broke 2 changesets ago.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-28 18:21:09 +01:00
kaf24@firebug.cl.cam.ac.uk 810d33a0c9 This patch fixes a race between when the disable cpu is marked online
and binding IPIs back to the CPU.  In some cases, an IPI would be sent
to CPU1 before it had allocated a new evtchn.  Moving smp_resume() call
before setting the cpu online fixes this race.  This fixes bug #228
(http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=228).

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2005-09-28 18:03:20 +01:00
kaf24@firebug.cl.cam.ac.uk 9783e5ee2a Reindent grant-table kernel code and reserve first few
entries for tools use.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-28 18:01:40 +01:00
kaf24@firebug.cl.cam.ac.uk 3ed926b571 Fix netif save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-28 17:51:24 +01:00
kaf24@firebug.cl.cam.ac.uk 7b96a65903 Fixes for blkif save/restore. A 'dd if=/dev/sda1 of=/dev/null'
seems to lock up the domU kernel on restore still (can be
pinged but not ssh'ed). This still needs investigation.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-28 17:25:08 +01:00
emellor@ewan 82e3e14c86 Merge. 2005-09-28 17:02:17 +01:00
emellor@ewan 4075caad61 Remove unused domain_devtype_get.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-28 17:00:22 +01:00
emellor@ewan 182124af7b Remove unused xend_domain_device.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-28 16:59:34 +01:00
emellor@ewan 1106624d57 Change device IDs to be integers, as required now by DevController. Remove
unused op_device.  Remove broken code to show the domain configuration using
the HTTP server.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-28 16:59:13 +01:00
kaf24@firebug.cl.cam.ac.uk b0f49f74b7 Remove broken assertion in 64-bit shadow pagetable code. 2005-09-28 16:15:20 +01:00
emellor@ewan f955af1faa Nothing. 2005-09-28 15:09:45 +01:00
emellor@ewan 3896bc2b68 Minor tidy up.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-28 15:09:24 +01:00
emellor@ewan 55da9243e8 Added new classmethod xstransact.ListRecursive, and use this inside
DevController to tidy up the code there.  Change the semantics of
xstransact.list and List to return the empty list rather than None if there
are no entries or the directory is not present, as this is easier to handle
for the client.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-28 15:06:48 +01:00
emellor@ewan 5d7d6aff18 Nothing. 2005-09-28 15:03:27 +01:00
emellor@ewan c8bdffa10a Merged. 2005-09-28 15:03:00 +01:00
emellor@ewan 5481d1d22c Merged. 2005-09-28 15:02:42 +01:00
emellor@ewan d92c9d26b0 Merged. 2005-09-28 15:02:26 +01:00
emellor@ewan fa2bf7265c Merged. 2005-09-28 15:02:09 +01:00
emellor@ewan 9ae829ffad Merge. 2005-09-28 15:01:09 +01:00
kaf24@firebug.cl.cam.ac.uk 1efef3efb2 Fix preemptible uses of smp_processor_id() in page fault
handler.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-28 15:00:48 +01:00
emellor@ewan a348233185 Fix returning of results broken by last change.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-28 15:00:11 +01:00
jrb44@plym.cl.cam.ac.uk 31c338e4c2 Changed -xen x86-32 defconfig CONFIG_EXT2_FS=y
Was previously a module, caused LTP test sysfs01 to fail. Compiling in to
the kernel brings this in to line with our own -xen x86-64 kernel and
vendor kernels.

Signed-off-by: James Bulpin <james@xensource.com>
2005-09-28 14:29:35 +01:00
jrb44@plym.cl.cam.ac.uk 800749d2fa Changed -xen x86-32 defconfig CONFIG_SECURITY_CAPABILITIES=y
Was previously a module, which wasn't getting loaded and causing the
LTP capset01 test to fail. Compiling in to the kernel brings this in to
line with our own -xen x86-64 kernel and vendor kernels.

Signed-off-by: James Bulpin <james@xensource.com>
2005-09-28 14:21:29 +01:00
kaf24@firebug.cl.cam.ac.uk 460d77e2da merge? 2005-09-28 14:08:52 +01:00
yjiang5@vtsmp-build.sh.intel.com a51b17cfb5 Initialize pointer array for set mapping.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
2005-09-28 14:07:57 +01:00
kaf24@firebug.cl.cam.ac.uk 82c66523be imported patch ../tmp/fix_free_monitor_pagetable.patch 2005-09-28 14:07:25 +01:00
yjiang5@vtsmp-build32.sh.intel.com ba17dc3655 Save immediate operand into mcip structure.
Some opcode like and/or need the immediate info when return from DM, we should save it before sending io request.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
2005-09-28 14:06:41 +01:00
kaf24@firebug.cl.cam.ac.uk ae4846b8e4 With this patch, we can enable VMXAssist to bring up APs of SMP VMX
guest. On entry to VMXAssist:
 1) %edx is the processor number, i.e. vcpu id, and for BSP it's 0.
 2) %ebx is the vector number from SIPI.
Also removed some ugly tailing space.

Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Jun Nakajima  <jun.nakajima@intel.com>
2005-09-28 14:05:58 +01:00
emellor@ewan 34a989b221 Added logging of exceptions coming through callInfo, for better debugging.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-28 14:03:06 +01:00
emellor@ewan bcf976db0e Minor tidy.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-28 14:02:38 +01:00
kaf24@firebug.cl.cam.ac.uk 69f773c572 Currently the mmio_operands assumes writing to memory when operand 0 is
register or immediate, this is false for cmp/test opcode.
This patch resolve this problem, please review.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima  <jun.nakajima@intel.com>
2005-09-28 13:49:33 +01:00
emellor@ewan 85506dfc97 Improve HTML output.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-28 13:44:15 +01:00
emellor@ewan ad1a856c94 Added missing quote to HTML output.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-28 13:43:33 +01:00
emellor@ewan 0b7f903b29 Added behaviour to read() to read directly from the transaction's path if no
arguments are specified.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-28 13:43:07 +01:00
emellor@ewan d391a2dddc Handle exceptions caused during processing of requests, to improve error
reporting.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-28 13:41:44 +01:00
emellor@ewan 817fbb6432 Remove unused import, mark unused variables.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-27 22:09:46 +01:00
emellor@ewan d67469375a Remove unused imports, variables.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-27 22:09:12 +01:00
emellor@ewan 92e31dac79 Fix final misuse of prettyprint parameters. 2005-09-27 22:08:07 +01:00
emellor@ewan 6269dad649 Remove unused imports, and unused progress parameters from domain_save, domain_restore. Rename one instance of id to domid. 2005-09-27 22:06:15 +01:00
emellor@ewan e33f948908 Added getDeviceSxprs, to support xm block-list. 2005-09-27 22:05:03 +01:00