Commit Graph
2679 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 11d666ab5e Fix the issue of on x86_64, rhel4 can not get into runlevel 5.
Xserver will scan pci and the cirrus VGA driver will register
mmio each time, cause mmio array out of space.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
2005-11-25 09:17:34 +01:00
kaf24@firebug.cl.cam.ac.uk b588d4451a Update vtpm driver following the recent changes to the
xenbus driver and its semantics.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2005-11-25 09:14:01 +01:00
emellor@leeni.uk.xensource.com 114f16d3fb Programmatically generate the xm help strings from the snippets, rather than
splicing the strings together manually.

Replace the word "bogus" with the command in question where it appears, as this
shows up in the Usage statements.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-24 19:56:38 +00:00
emellor@leeni.uk.xensource.com e5914d7e89 Merged. 2005-11-24 15:57:45 +00:00
emellor@leeni.uk.xensource.com 5840748740 Check whether a device is already configured before trying to configure it
again.  Closes bug #397.

To perform this check in the same transaction as the writing of the device
entries has required a little bit of rejigging.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-24 15:57:36 +00:00
emellor@leeni.uk.xensource.com 2bf2793e18 Support destruction of device by /dev/sda1 (for example) even when the
configuration just said sda1.
 
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-24 15:55:49 +00:00
smh22@firebug.cl.cam.ac.uk 9661835101 Re-enable tools support for live migration on PAE.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-24 16:32:38 +01:00
kaf24@firebug.cl.cam.ac.uk efb8e0c63f This fixes a small race between when a domain is created and when xentop
tries to read it's info from the xenstore. Instead of sending a NULL
pointer for the name the name will be displayed as a ' ' until the next
refresh where xentop will then properly display the name. 

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-11-24 11:17:20 +01:00
kaf24@firebug.cl.cam.ac.uk b9e7fc2603 Clean up some Xen files in the ioemulator.
1) fix indent
2) use fprintf(logfile, ...) instead of perror and printf
3) remove tailing spaces

Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-11-24 11:05:21 +01:00
emellor@leeni.uk.xensource.com f6d80a7f57 Reverse accidental commits for changesets 8001 and 7996-7999.
The Mercurial Queues extensions suddenly looks a lot less useful than it first
seemed.
 
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-23 19:37:33 +00:00
emellor@leeni.uk.xensource.com d64896a9f0 Merged. 2005-11-23 19:31:22 +00:00
emellor@leeni.uk.xensource.com 3ad90d3df7 Added comment describing usage.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-23 19:31:14 +00:00
emellor@leeni.uk.xensource.com a640b7c2dd imported patch quiet_linux_build.patch 2005-11-23 19:19:24 +00:00
emellor@leeni.uk.xensource.com a14862a927 imported patch trace-thread.patch 2005-11-23 19:19:24 +00:00
emellor@leeni.uk.xensource.com 8856d17150 imported patch my-config 2005-11-23 19:19:23 +00:00
emellor@leeni.uk.xensource.com 30f626794c imported patch logging-thread.patch 2005-11-23 19:19:23 +00:00
emellor@leeni.uk.xensource.com 92b5e81264 Don't treat the failure of ifconfig vifX.Y down as a fatal error. This hasn't
emerged as a problem in the field, AFAIK, but it seems that distro scripts
could have brought the device down already by this point (Debian stable's
net.agent does ifdown vifX.Y, and it wouldn't surprise me if someone decided
to do ifconfig vifX.Y down if this failed, for example).

Logging but ignoring the failure seems sensible.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-23 19:16:54 +00:00
emellor@leeni.uk.xensource.com 20f482d494 Remove the frontend device directories as well as the backend ones.
Closes bug #424.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-23 19:13:13 +00:00
sos22@douglas.cl.cam.ac.uk 3fa276f635 Merge.
Signed-off-by: Steven Smith, sos22@cam.ac.uk
2005-11-23 13:38:34 +01:00
sos22@douglas.cl.cam.ac.uk 05607bfc8f Make sure that accesses to the machine_to_phys table all go through
suitable macros.

Signed-off-by: Steven Smith, sos22@cam.ac.uk
2005-11-23 13:34:25 +01:00
root@localhost.localdomain d29e39f1f4 xm-test: add tests for network-attach command
Signed-off-by: Murillo Fernandes Bernardes <mfb@br.ibm.com>
2005-11-23 12:32:44 +01:00
dan@guaranine.beaverton.ibm.com 399bffa1e9 Add tests for bug #331 2005-11-23 12:31:55 +01:00
dan@guaranine.beaverton.ibm.com 2d0693f8dd Make 04_memset_smallmem differentiate between console run-away and console
daemon death.
2005-11-23 12:31:30 +01:00
emellor@leeni.uk.xensource.com f7ba489565 Fix to xm create --help from Ken Grant.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-23 12:29:58 +01:00
kaf24@firebug.cl.cam.ac.uk 869e86d8e6 Add -Wdeclaration-after-statement to Xen and tools build.
Fix the compile errors that result from this.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-22 18:44:08 +01:00
smh22@firebug.cl.cam.ac.uk 49e566a9aa Tidy up debugging output.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-22 18:21:22 +01:00
smh22@firebug.cl.cam.ac.uk 1b5fd028bf Better handle page type info becoming incoherent during live migrate.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-22 17:50:41 +01:00
emellor@leeni.uk.xensource.com ee19599218 Merged. 2005-11-22 17:00:56 +01:00
emellor@leeni.uk.xensource.com a22292f2bb Make it possible to run valgrind on code linked with the libxc libraries.
Valgrind cannot see when a hypercall has initialised entries in a data
structure, so appropriate memsets have been placed before using dom0_op_t,
privcmd_hypercall_t, and a couple of miscellaneous blocks passed into this
layer.  This initialises the block so that valgrind considers it to be valid,
but the data therein will be immediately overwritten by the hypercall, all
being well.

These changes are semantically neutral if -DVALGRIND is not set.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-22 16:31:16 +01:00
kaf24@firebug.cl.cam.ac.uk d35dd33f4c Ignore live flag on PAE/64-bit migrations, rather than
failing the migration entirely.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-22 12:04:03 +01:00
smh22@firebug.cl.cam.ac.uk 297fc3718d Fix syntax error.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-21 19:28:50 +01:00
emellor@leeni.uk.xensource.com 10edfe8abf Merged. 2005-11-21 19:08:44 +01:00
emellor@leeni.uk.xensource.com cd082ee2d3 Misc fixes for breakage when moving to new Python/C interface style.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-21 19:08:27 +01:00
kgrant@localhost.localdomain b12096d703 use help in create.py for "xm help create" 2005-11-21 18:53:31 +01:00
xenrtd@shispar-rt.testdev.hq.xensource.com 859804fbea Catch parsing errors in xm create. 2005-11-21 18:52:40 +01:00
emellor@leeni.uk.xensource.com dd6ab4433e Merged. 2005-11-21 18:47:31 +01:00
emellor@leeni.uk.xensource.com aecd7580d4 As with xs.c, change the module interface to match the current Python/C
tutorial, simplifying the interface here, and making it more conventional.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-21 18:46:09 +01:00
emellor@leeni.uk.xensource.com 2b2f00d237 Tidy use of module / package names.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-21 18:34:25 +01:00
emellor@leeni.uk.xensource.com 4922a76ab2 Merged. 2005-11-21 18:33:27 +01:00
emellor@leeni.uk.xensource.com 78d2a7ffe3 Return the changed path as an argument to the watch callback. This is useful
for the test CD, and simplifies DevController everso slightly.  It ought to be
generally useful, too.
 
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-21 18:33:17 +01:00
emellor@leeni.uk.xensource.com e9653b1204 Remove many unnecessary uses of keyword arguments, to reduce complexity.
Have the self parameter to all the methods be an XsHandle, not a PyObject, to
avoid casting.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-21 17:48:22 +01:00
emellor@leeni.uk.xensource.com a6f7d807ed Merged. 2005-11-21 17:30:43 +01:00
emellor@leeni.uk.xensource.com 0bed005388 Fix removal of use of scheduler, broken earlier today by mismerge.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-21 17:30:22 +01:00
emellor@leeni.uk.xensource.com 124d92e3b0 Merged. 2005-11-21 17:06:42 +01:00
emellor@leeni.uk.xensource.com 20e3f38ade Changes check for "udev", so that it works on debian sid (that does not
have /sbin/udev anymore).

Signed-off-by: Murillo F. Bernardes <mfb@br.ibm.com>
2005-11-21 17:03:21 +01:00
kaf24@firebug.cl.cam.ac.uk 9ba9cbdb3f Update the memory_op() hypercall. Add two new subcommands, to
query a domain's current and maximum memory reservation. Also,
XENMEM_maximum_ram_page now returns the max_page directly,
rather than writing through a passed-in pointer.

Also, disable PAE in the default config (accidentally checked
in two changesets ago).

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-21 16:56:39 +01:00
smh22@firebug.cl.cam.ac.uk 7cdf0f6407 Fix 'belt + braces' check in xc_linux_save and improve error handling
for live migrate (this includes making shadow enable idempotent). 

Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-21 16:40:16 +01:00
emellor@leeni.uk.xensource.com f7abab3a59 Replace initialiser for readonly parameter in xshandle_init that should never
have been deleted.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-21 14:48:10 +01:00
emellor@leeni.uk.xensource.com 5d1f08e233 Merged. 2005-11-21 13:17:29 +01:00
emellor@leeni.uk.xensource.com 10201a9dd6 Removed, now unused.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-21 13:15:08 +01:00