Commit Graph
7732 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 05ef2f2ffd merge 2005-11-10 12:05:22 +01:00
kaf24@firebug.cl.cam.ac.uk a3dde685e8 Enable xm console for vmx guest.
When the serial port is redirect to pty, write the allocated
device to xenstore, then xm console can get it.
TODO:serial port by pty shall not block if there are no reading
on the other end

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
2005-11-10 12:04:29 +01:00
kaf24@firebug.cl.cam.ac.uk 07ac741579 Fix some more bugs in pygrub including:
a) a couple of variables were referenced wrong
b) fix using arrow keys in the menu to act correctly
c) and look for grub config properly for /boot partition

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-11-10 12:01:15 +01:00
emellor@leeni.uk.xensource.com bd171667cc Merged. 2005-11-10 12:00:39 +01:00
emellor@leeni.uk.xensource.com 4bfcb7baff Various chmod a+x.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-10 12:00:09 +01:00
kaf24@firebug.cl.cam.ac.uk b63ab24496 Attached patch fixes a thinko in pygrub's setup.py
Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-11-10 11:59:49 +01:00
kaf24@firebug.cl.cam.ac.uk 79d289ec5f Enable export of set_nmi_callback in suitably priv 64-bit doms.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-10 11:58:39 +01:00
kaf24@firebug.cl.cam.ac.uk b976b8510a Updates comments in network-bridge, removes dead code, minor typo fixes.
Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
2005-11-10 11:53:51 +01:00
danms@us.ibm.com ad0262669d Modularize runtest.sh and add a quick option.
I broke up runtest.sh into functions which makes it easier to alter its
behavior.  Now, we can easily re-submit a previously-run test report.
2005-11-10 11:48:05 +01:00
danms@us.ibm.com 5b72611469 Make the 04_restore test verify that two block devices and two nics are
restored to a working state and that the nics retain their configuration.
2005-11-10 11:48:05 +01:00
danms@us.ibm.com f038fab290 Remove this accidental commit 2005-11-10 11:48:05 +01:00
dan@guaranine.beaverton.ibm.com 380276648e Tweak the usage of mke2fs to be quiet, so that the XML reports
contain less garbage
2005-11-10 11:47:38 +01:00
danms@us.ibm.com 9aca986cfd Add this file that wasn't in the tarball for the initial import 2005-11-10 11:47:34 +01:00
danms@us.ibm.com c997e4cd9c Remove semicolons from Console.py. It's a habit. 2005-11-10 11:47:27 +01:00
emellor@leeni.uk.xensource.com 2b7a829bc9 Merged. 2005-11-10 11:43:26 +01:00
smh22@firebug.cl.cam.ac.uk 0f20e5fc7b Fix shadow bitmap sizing for logdirty mode.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-09 19:18:47 +01:00
kaf24@firebug.cl.cam.ac.uk 84b8ebc5d3 Move linear faulting address (%cr2) out of the page fault
stack frame and into vcpu_info_t (in shared_info_t). This
makes the guest #PF handler much more similar to native.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-09 17:23:46 +01:00
emellor@leeni.uk.xensource.com fcec6e9143 Added missing __init__.py.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-09 16:40:07 +01:00
emellor@leeni.uk.xensource.com 19744cdc5f Cope with the ValueError exception that we get if you use Xend with the recent
change to parsing memory configuration against a store with entries written
by an older Xend.

Added maxmem field to list of things to be read from the store on recreate.
2005-11-09 16:08:37 +01:00
kaf24@firebug.cl.cam.ac.uk e7570f0014 Support recent change moving virtual IOAPIC model into Xen for
ia64/VTI. Now ia64/vti will create links to arch/x86/dm/vmx_vioapic.c
and include/x86/vmx_vlapic.h.

Firstly, a small change to common virtual IOAPIC model to be used by
both sides. Also some compilation fix to tools is included in first
one. Secondly, there are ia64-specific changes to hook to common
IOAPIC model.

Based on this patch upon latest xen-ia64-unstable tip, we can see
multiple domains working again on XEN/IA64, including both domU and
VTI domain simultaneously in run-time.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
Signed-off-by Anthony Xu <Anthony.xu@intel.com>
Signed-off-by Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by Eddie Dong <eddie.dong@intel.com>
2005-11-09 14:53:12 +01:00
kaf24@firebug.cl.cam.ac.uk 2ea876d2a0 Attached patch allows building of netfront and blkfront as modules
(xennet.ko and xenblk.ko).  

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-11-09 14:42:15 +01:00
kaf24@firebug.cl.cam.ac.uk d47fc2945e gnttab_request_free_callback needs to be exported for building modular
blkfront

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-11-09 14:41:37 +01:00
kaf24@firebug.cl.cam.ac.uk 69e309b3b1 Remove use of get_gendisk in blkfront gen_gendisk is no long exported
by 2.6 kernel. Now blkfront can be built as a kernel module.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-11-09 14:41:14 +01:00
kaf24@firebug.cl.cam.ac.uk 4b6d60a8f0 Allow xen_create_contiguous_region() to fail gracefully if it
cannot allocate a contiguous multi-page extent of memory. This
should avoid unnecessary crashes in the xen-specific skbuff
cache constructor.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-09 14:39:32 +01:00
smh22@firebug.cl.cam.ac.uk b99415e527 More fixes for save/restore; use configured memory for generating sxp.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-09 13:59:53 +01:00
emellor@leeni.uk.xensource.com 4d59fe8300 This patch prevents the xm-test console library from duplicating the
debugging output, when it's turned on.  This just makes it easier to
read.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-09 12:39:38 +01:00
emellor@leeni.uk.xensource.com de3ec1ee5f This patch adds a new test that attempts to save and restore a domain
with a block device attached.  It starts up a domain, mounts a block
device, writes data to it, saves, restores, and then verifies that the
block device can still be read.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-09 12:39:05 +01:00
emellor@leeni.uk.xensource.com 4bb125c6d1 Chmod a+x.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-09 12:38:46 +01:00
smh22@firebug.cl.cam.ac.uk 9d894bc217 Fix 64-bit build.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-09 09:02:59 +01:00
smh22@firebug.cl.cam.ac.uk 7962b47d8b Enable save/restore for PAE domains.
This includes quite a few cleanups / refactoring of the old code, some
of which is intended to prepare for 64-bit save/restore. 

Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-08 18:42:07 +01:00
smh22@firebug.cl.cam.ac.uk a2520b396e Use '-' instead of '_' in xen version strings.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-08 18:39:58 +01:00
kaf24@firebug.cl.cam.ac.uk 0444e5275d Fix alloc_skb() to ensure data is always physically contiguous.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-08 16:48:42 +01:00
kaf24@firebug.cl.cam.ac.uk 366aac2d16 Rationalise the kernel event-channel binding interfaces. The
new interfaces are simpler and should be implementable by any
architecture.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-08 15:58:31 +01:00
emellor@leeni.uk.xensource.com 7aa98216f5 Increase the static constant default number of loopback interfaces, nloopbacks,
to 8.  These interfaces are very cheap, so there's no problem having a few
spare.  Anyone with more than 8 NICs can still use the kernel command line or
the module parameter line to pass a larger limit to this module.

Detail the kernel command line parameter for nloopbacks in the diagnostic in
network-bridge.

Closes bug #381.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-08 15:15:02 +01:00
emellor@leeni.uk.xensource.com 7a2e27bf0c Merged. 2005-11-08 14:56:14 +01:00
emellor@leeni.uk.xensource.com 3483f006f3 Fix two leaks in the pyxc interface. The dictionaries are being added
to lists, and an extra ref was being left behind.

Signed-off-by: Sean Perry <sean@xensource.com>
Signed-off-by: Robert Read <robert@xensource.com>
2005-11-08 14:53:27 +01:00
Michael.Fetterman@cl.cam.ac.uk 11f72f4ab9 merge 2005-11-08 14:41:25 +01:00
Michael.Fetterman@cl.cam.ac.uk c02e0c7355 merge 2005-11-08 13:30:05 +01:00
Michael.Fetterman@cl.cam.ac.uk 07df3c1601 Cleanup various shadow mode asserts.
Separate out the ability for domains to be able to write to their
pagetables (ala "writable page tables", which uses write-protected PTEs
to address the page tables: this is shadow_mode_write_all()) from the
right of a domain to create a PTE with write permissions that points
at a page table (this is shadow_mode_wr_pt_pte())...

Minor cleanup of SHADOW_DEBUG (at least make it compilable) in shadow.c.
2005-11-08 13:26:50 +01:00
emellor@leeni.uk.xensource.com c0c4bfbea8 Merged. 2005-11-08 12:31:43 +01:00
emellor@leeni.uk.xensource.com a86e94e917 Added file missed on commit of earlier patch by Dan Smith. 2005-11-08 12:30:38 +01:00
emellor@leeni.uk.xensource.com f3cac18aac This patch removes all of the auto-generated files that were checked
in with xm-test in changeset 7634.  It also adds an "autogen" script
that re-creates these files.

The auto-generated files really don't need to be in the tree, as they
should be generated by the user on the machine where they plan to run
xm-test.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-08 12:28:19 +01:00
mafetter@aosda.research.intel-research.net 172bd99086 Bug fix in error handling in get_page_from_l4e() 2005-11-08 12:26:48 +01:00
kaf24@firebug.cl.cam.ac.uk fb57a01c90 Remove unused and unnecessary gnttab ioctl.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-08 12:25:09 +01:00
kaf24@firebug.cl.cam.ac.uk 385317d870 Update tools/examples docs.
Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
2005-11-08 12:17:53 +01:00
kaf24@firebug.cl.cam.ac.uk e1734495d8 After move randomMac to netif in 7637, we need to this for vmx guest.
otherwise, if no mac address configured, vmx guest can not be created.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
2005-11-08 12:16:37 +01:00
kaf24@firebug.cl.cam.ac.uk bf4822dafb Remove the execute bit from shell snipplets (the -common files not
starting with #!) found in the example directory under tools. It
further changes the installation path of the udev rules to comply with
what debian does: It places the rules file in /etc/udev/ und creates a
symlink to it in /etc/udev/rules.d.

Signed-off-by: Tobias Hunger <tobias@aquzul.com>
2005-11-08 12:14:33 +01:00
kaf24@firebug.cl.cam.ac.uk 5e034a1be8 Fix the clean target of the tools/xenstore Makefile to
remove all files created. Currently leaves some of its
files behind.

Signed-off-by: Tobias Hunger <tobias@aquzul.com>
2005-11-08 12:06:18 +01:00
emellor@leeni.uk.xensource.com f1c40ce58b This patch increments the version number of xm-test so that we can
distinguish reports from the 0.4.0 tarball and in-tree versions.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-08 12:02:10 +01:00
emellor@leeni.uk.xensource.com c702df17bf This patch adds a URL to the reporting site, as well as a note about
running with lots of free memory to the README.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-08 12:01:09 +01:00