Commit Graph
6643 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk 1e14a86e33 Destroy domain before cleaning it up.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-06 18:14:31 +00:00
cl349@firebug.cl.cam.ac.uk aee5de2dd5 Add xcs to include path for xcs_proto.h.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-06 17:43:36 +00:00
cl349@firebug.cl.cam.ac.uk a69c14185c Disable xcs stop from xend script since it kills xenstored now.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-06 17:18:28 +00:00
cl349@firebug.cl.cam.ac.uk 3e9b41a1b5 merge? 2005-09-06 17:00:25 +00:00
cl349@firebug.cl.cam.ac.uk 0ee3c3bafc Make xenstored listen to domain exception virqs.
The virq triggers a scan for domains which have gone away, and then
removes those domains.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-06 16:59:14 +00:00
kaf24@firebug.cl.cam.ac.uk 412ce402ae Avoid warn_unused error on read() return value.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-06 16:10:22 +00:00
kaf24@firebug.cl.cam.ac.uk b70b67679f Enable xenstored optimisations.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-06 15:47:23 +00:00
kaf24@firebug.cl.cam.ac.uk 7b64ba2f51 Reducing LOC (always a good thing) by eliminating duplicated functionality.
vmx_platform.c/inst_copy_from_guest() now uses vmx_copy. Also shored up
vmx_copy to handle copies when paging is enabled and improved its error
handling.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-09-06 15:31:34 +00:00
cl349@firebug.cl.cam.ac.uk b042c7d63f Update consoled to use xs_get_domain_path and cleanup domain tracking code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-06 13:43:28 +00:00
kaf24@firebug.cl.cam.ac.uk b076b9bbe4 Fix vmalloc fault path in arch/xen/i386 to correctly deal
with _PAGE_PRESENT being missing from init_mm's pmd
entry (*pmd_k).

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-06 09:44:58 +00:00
kaf24@firebug.cl.cam.ac.uk 7b89279cfb Fix 64-bit build. 2005-09-05 20:05:58 +00:00
kaf24@firebug.cl.cam.ac.uk 6b14c83b48 Fix PCI iomem resource fixup.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-05 19:53:44 +00:00
cl349@firebug.cl.cam.ac.uk 84ff1f2155 Add @introduceDomain event-watch and replace consoled watch on /console.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 19:43:04 +00:00
cl349@firebug.cl.cam.ac.uk fb3841431b Fix command line argument parsing.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 18:55:08 +00:00
cl349@firebug.cl.cam.ac.uk 31d6fa36cc Add -Werror to xenstore build and fix failure.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 18:53:08 +00:00
kaf24@firebug.cl.cam.ac.uk 792d339102 Fix the balloon driver to do work in smaller batches, and
not use a vmalloc'ed mfn list which may not be mapped into
all page tables.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-05 17:51:55 +00:00
cl349@firebug.cl.cam.ac.uk 7d606f53da Add missing libxenstore.so dependency for xenstore client programs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 17:21:08 +00:00
cl349@firebug.cl.cam.ac.uk 0d70d4abc2 Rename XS_GET_DOMAIN_PATH to XS_GET_DOMAIN_PATH and add libxenstore binding.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 16:00:03 +00:00
cl349@firebug.cl.cam.ac.uk dd90a7bca7 Fix typo.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 15:46:12 +00:00
cl349@firebug.cl.cam.ac.uk 2aace4b332 On suspend, canonicalize store and console mfns in the guest.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 15:32:14 +00:00
cl349@firebug.cl.cam.ac.uk 65f07fb34c merge? 2005-09-05 14:54:05 +00:00
cl349@firebug.cl.cam.ac.uk 311f8312d8 Get rid of suspend record, start info holds all the info now.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 14:53:39 +00:00
cl349@firebug.cl.cam.ac.uk 1413c27297 Pass live flag as number, not "True"/"False".
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 14:48:44 +00:00
cl349@firebug.cl.cam.ac.uk 0c97488f1e Only remove domain from store once it's suspended.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 14:45:19 +00:00
cl349@firebug.cl.cam.ac.uk ce27fde65d Keep start_info in page provided by domain builder instead of making a copy.
- page is moved next to store/console pages -- these are never put in the
  free page pool by the domain
- xen_start_info is now a pointer to the original page instead of the copy
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 14:04:36 +00:00
iap10@firebug.cl.cam.ac.uk 61a2db802c CRAMFS needs to be compiled in to xen_defconfig_x86_64 not a module.
Signed-off-by: ian@xensource.com
2005-09-05 11:20:14 +00:00
cl349@firebug.cl.cam.ac.uk 3be9591d1c Free grant reference when block device shuts down.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 08:23:05 +00:00
cl349@firebug.cl.cam.ac.uk 861a94596f merge? 2005-09-05 08:22:21 +00:00
cl349@firebug.cl.cam.ac.uk 0a888ca939 Suspend console after xenbus, resume console before xenbus.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-05 08:21:58 +00:00
shand@ubuntu.eng.hq.xensource.com 48a341d6f5 Fix build.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-09-04 15:51:39 -08:00
cl349@firebug.cl.cam.ac.uk cfd287f45c Fix build.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-04 22:45:45 +00:00
akw27@arcadians.cl.cam.ac.uk 3e2b1c87ba Updates to blktap driver and user code.
Mostly this makes the tap code work again with all of the changes that
have happened to the block drivers recently.  We now use a shared page
per VBD (to the driver), and handle control information through the
store.  The taplib interfaces have changed to be based around per-vbd
data structures that you can attach arbitrary handlers for.

There is also initial code for a user-level blockback driver, which
aims to get around the use of loopbacks for file-based vbds.  Still
plenty of work to do here -- this is a working incremental checkin and
I'm away from this for the next four weeks.

Signed-off-by: Andrew Warfield <andrew.warfield@cl.cam.ac.uk>
2005-09-04 21:19:44 +00:00
cl349@firebug.cl.cam.ac.uk 3ebd771dc3 Fix build dependency issue.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-04 15:08:16 +00:00
cl349@firebug.cl.cam.ac.uk cd6b9e556e merge? 2005-09-03 18:48:59 +00:00
cl349@firebug.cl.cam.ac.uk 3bc1edc4ab Update suspend/resume for new console code.
- translate console mfn to pfn
- unbind/bind console evtchn
- recover console mfn on restore
- trigger xenconsoled refresh after mfn is put in store
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-03 18:48:39 +00:00
iap10@firebug.cl.cam.ac.uk bf00d92963 merge fixup 2005-09-03 18:40:04 +00:00
cl349@firebug.cl.cam.ac.uk bb53806209 merge? 2005-09-03 18:24:46 +00:00
iap10@firebug.cl.cam.ac.uk cbc882e28a merge 2005-09-03 18:15:39 +00:00
iap10@freefall.cl.cam.ac.uk a45f72e398 Fix to allow -xen and -xen0 kernels to be used as unprivilged guests.
Signed-off-by: ian@xensource.com
2005-09-03 17:14:20 +00:00
cl349@firebug.cl.cam.ac.uk b319f36dde merge? 2005-09-03 16:58:50 +00:00
cl349@firebug.cl.cam.ac.uk e7d2a9a3d5 Restore printk to output evtchn binding error.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-03 16:57:54 +00:00
cl349@firebug.cl.cam.ac.uk a916bf616c Add support in libxenstore for using the xenbus_dev store connection.
Also add simple read/write/rm clients for command line access to the
store (using the xenbus_dev store connection).
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-03 16:54:38 +00:00
cl349@firebug.cl.cam.ac.uk b8ea605500 Add driver to use the kernel's xenbus connection from user-space.
The driver exports xs_talkv to user-space, allowing programs running in
the domain to use the kernel's xenbus connection.  Intended use is driver
domain device configuration where the driver domain is not the domain
running xenstored.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-03 16:52:12 +00:00
iap10@firebug.cl.cam.ac.uk 5b6650ecc1 Fix debug build that was broken by recent shadow pagetable checkin.
Signed-off-by: ian@xensource.com
2005-09-03 16:33:53 +00:00
cl349@firebug.cl.cam.ac.uk 4656b11c4c Free struct file file_private on release.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-09-03 16:32:53 +00:00
shand@ubuntu.eng.hq.xensource.com 01d0370a52 Enable 'live' migration from a tools pov; prior to this the 'live' flag was
being ignored by xend/xc_linux_save.

Signed-off-by: Steven Hand <steven@xensource.com>
2005-09-02 17:36:29 -08:00
kaf24@firebug.cl.cam.ac.uk d7d77c20cf Attached are the patches for new ioemu communication mechanism. The new
mechanism provides richer I/O operation semantics, such as and,or,xor
operation on MMIO space. This is necessary for operating systems such
as Windows XP and Windows 2003.

This is the first part of a two part patch. This patch applies to ioemu.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-09-02 17:55:24 +00:00
kaf24@firebug.cl.cam.ac.uk f51a260fc8 Now that unaligned page overlapping PIO works for Xen, it is time to
eliminate the work around in the rombios.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-09-02 17:54:53 +00:00
kaf24@firebug.cl.cam.ac.uk 6622e5e7a8 Attached are the patches for new ioemu communication mechanism. The new
mechanism provides richer I/O operation semantics, such as and,or,xor
operation on MMIO space. This is necessary for operating systems such
as Windows XP and Windows 2003.

This is the second part of a two part patch. This patch applies to xen.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-09-02 17:54:34 +00:00
kaf24@firebug.cl.cam.ac.uk bfbc365faa Various minor vmxassist cleanups.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
2005-09-02 17:53:52 +00:00