Commit Graph
12321 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain adf5b4e341 [IA64][VMX] Fix 3G memory limit for VTi domain.
Signed-off-by : Zhang xiantao <xiantao.zhang@intel.com>
2006-11-09 13:28:45 +00:00
kfraser@localhost.localdomain 625b3409d2 [XENSTORE] Fix xenstore-ls program to connect via kernel xenbus
connection by default, like all other client utils.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-09 13:25:47 +00:00
Alastair Tse 4b7d8cd407 Merge 2006-11-09 13:18:58 +00:00
Alastair Tse 1d5686b8ac [XEND] Fix bug with managed domains not having their state updated.
Also added some protection against corrupted sxp configuration files.

Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-09 13:16:55 +00:00
Alastair Tse d3b8d73b44 [XEND] Fix domain_lookup_nr to check managed_domains too.
Bug introduced when moving managed domains out of self.domains caused
domain_lookup_nr ignoring managed domains.

Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-09 12:38:12 +00:00
Alastair Tse c4a7eda6cd [XEND][XM] Move system memory reporting to XendConfig rather than getSysMem.
Remove the additional XMLRPC calls per domain just to get system
memory and instead make sure we update that value and return it via
the SXP that gets returned when xm list is called.

Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-09 12:36:20 +00:00
kfraser@localhost.localdomain de083f6648 [BLK] Expand number of fake-SCSI VBD volumes supported to 120.
Signed-off-by: Takanori Kasai <Kasai.Takanori@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
2006-11-09 12:07:28 +00:00
kfraser@localhost.localdomain 2ccfcd7a09 [XENOPROF] Oprofile user level samples for passive domains are being lost.
The number of of lost samples is most significant when dom0 is idle.

From: joserenato.santos@hp.com
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-09 11:47:42 +00:00
Ewan Mellor 218f1a9dc5 Write the /local/domain/<domid>/vm node early in the startup process
(immediately after the domain is created).  QEMU needs this in place when it
starts up, in order to find the VNC password.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-08 18:29:16 +00:00
Ewan Mellor 27c39debdc Ignore dying domains on recreate, and log the fact.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-08 18:27:31 +00:00
Ewan Mellor 386db8152b Added test_bindings to the ignore list.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-08 15:26:22 +00:00
kaf24@firebug.cl.cam.ac.uk ce74e71bed [HVM] Avoid long delay between setting IRQ for PV drivers and
servicing it. Should call service_ioapic() synchronously.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-09 09:04:41 +00:00
kaf24@firebug.cl.cam.ac.uk 668c718e3f [HVM] Reserve 2 pages for ACPI tables in e820.
This is required when appending SSDTs to the core
ACPI data.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-08 19:48:46 +00:00
kfraser@localhost.localdomain 133b998d09 [XEN] Do not print grant-table warning if a page cannot be pinned
because the (previous) owner is dying. This quietens down domain
destruction quite a bit.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-08 17:31:25 +00:00
kfraser@localhost.localdomain 49812b9e30 [VMX] __vmread() and __vmwrite() now BUG on failure, rather than
returning the error to the caller.

None of our vmcs reads/writes should fail. In fact many callers were
ignoring failures, which can hide bugs (in fact it hid one in
vmx_restore_dr(), which was incorrectly using __vmread() before
the vmcs was loaded).

__vmread_safe() is used by the vmcs dump function, which is the only
function which can legitimately fail a vmcs access.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-08 16:43:50 +00:00
kfraser@localhost.localdomain aa06b89d3b [HVM] Simplify relationship between VIOAPIC and VLAPICs.
It's not really dynamic since there is always exactly
one VLAPIC per VCPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-08 15:11:18 +00:00
kfraser@localhost.localdomain 6b8fe25df9 [VMX] Check INTR_TYPE is NMI before doing physical NMI processing.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-08 15:10:21 +00:00
jfehlig@jfehlig2.provo.novell.com 0d869553e3 Add support for VM.destroy RPC in libxen.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
2006-11-07 18:14:16 -07:00
Ewan Mellor ed5bb56602 Replace uses of [ ... == ... ] with the POSIX-legal single-equals. Tidy up
external-device-migrate script in its handling of parameters.

Patch from Roland Illig <roland.illig@gmx.de>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-08 13:22:08 +00:00
Ewan Mellor 0fb54203dd Don't complain about name non-uniqueness if one domain is dying. This happens
across a reboot regularly.  Inside _refresh, there is the occasion for new
domains to appear, if an existing domain reboots itself.  In this case, we
need to get the list of running domains from Xen again.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-08 12:56:45 +00:00
Ewan Mellor 063ac3b074 cpu_weight is now an int, not a float.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-08 12:26:34 +00:00
Ewan Mellor 6037d8bec8 Add a shutdownWatch field in the HVMImageHandler constructor, to avoid error
messages if creation fails and the watch gets torn down.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-08 12:25:56 +00:00
Ewan Mellor 3756da027a Refresh the domain list on domain_start or domain_create. We need to do this
so that the list of running domains is up-to-date for the name-uniqueness
check.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-08 11:13:50 +00:00
Ewan Mellor d1e3da560b Save the old domid when restarting, as it may get wiped out before we need to
log it (on restart failure).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-08 11:08:18 +00:00
kfraser@localhost.localdomain d8db1e728a [HVM] Remove bogus free of vlapic structure.
It is incorrect now that vlapic is embedded inside
the vcpu structure.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-08 10:48:55 +00:00
kfraser@localhost.localdomain 589b2ad760 [XEN] Add debug mode to xmalloc().
This detects programming mistakes such as:
 * double free
 * use after free
 * write beyond bounds of allocation

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-08 10:48:21 +00:00
Ewan Mellor ac31115528 This patch addresses bugzilla #649, enabling `xm list' to display the
actual amount of memory allocated by a guest.  Also this patch:
  -  makes it more apparent that 'xm mem-set' has no effect on HVM's.
  -  show's that memory is changing if 'xm list' is issued while guest is
ballooning (w/o touching balloon driver)

Signed-off-by: Tommie McAfee <tommie.mcafee@unisys.com>
2006-11-08 09:50:09 +00:00
kasai.takanori@jp.fujitsu.com 41002e30c7 Add the Japanese keymap for VNC Server.
Signed-off-by: Takanori Kasai < kasai.takanori@jp.fujitsu.com >
2006-11-08 09:38:06 +00:00
Ewan Mellor edb4739e12 fix xm-test configure.ac to not define RD_PATH which prevented env override
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2006-11-02 23:05:24 +00:00
Ewan Mellor 5a45364f3f Update README.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-01 14:27:54 +00:00
Ewan Mellor 84bd4739d3 Fix comment.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-01 14:27:29 +00:00
Ewan Mellor 2ea2e0008f Add helper script for releasing xm-test binary ISOs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-01 14:27:19 +00:00
Ewan Mellor c0b2fe79a2 Bump xm-test version to 1.1 to accommodate new devices.
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
2006-11-01 08:42:02 +00:00
Ewan Mellor e1502fb422 Allow the i386 ramdisk to be used on x86_64. Part of a patch from Yu Ping Y.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-01 09:21:27 +00:00
Ewan Mellor 9855faf004 Correct copy-n-paste error.
Also Whitespace cleanups.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
2006-11-01 08:43:54 +00:00
Ewan Mellor f19d56d6dd Add xvd devices to the initrd.
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
2006-11-01 08:41:24 +00:00
Ewan Mellor 3cb85f33f0 Update all block tests to use the Xen Virtual Block Device (xvd) rather than IDEor SCSI.
This patch also modifies
09_block_attach_and_dettach_device_check_data_pos.py to force / to be
read-write otherwise the mkdir fails.

Also Whistspace cleanups.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
2006-11-01 08:39:45 +00:00
Ewan Mellor 240c6346f7 The XenDomain class does not respect the arch defaults where
as XmTestDomain does.  This part of the patch forces both HVM and
non-HVM tests to use XmTestDomain.  With appropriate changes to the
extraConfig arg.

On PPC we need to use the arch defaults to get the console setup
correctly.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
2006-11-01 08:38:22 +00:00
Ewan Mellor c51e990ede This fixes another missing part for x86-64 support in the xm testsuite.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-11-01 08:34:55 +00:00
kaf24@localhost.localdomain 1cbd4a6303 [XEN] Put the non-GPL license text in each public header file.
This excludes arch-powerpc.h and xencomm.h which require
confirmation from the original authors that the existing GPL
text can be removed and replaced.

Original patch from: Mark Johnson <mark.johnson@sun.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-08 00:03:11 +00:00
kaf24@localhost.localdomain 34c45267cf [XEN] Fix 64-bit build.
This required fiddling the asm constraints of the atomic bitops. It
seems gcc isn't entirely happy with "+m": the manual says that the
'+' modifier should be used only when a register constraint is
available.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-07 23:14:09 +00:00
kfraser@localhost.localdomain b9649d8627 [XEN] License clarification.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-07 18:13:12 +00:00
kfraser@localhost.localdomain 7d6376a63a [SVM] Fix an interrupt race window in the do_launch/vmrun/vmexit loop for AMD-V.
There is also some comment cleanup in this patch.

This problem found by Virtual Iron (Dave Winchell), and patch also
provided by VI.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
Signed-off-by: Dave Winchell <dwinchell@virtualiron.com>
2006-11-07 17:48:18 +00:00
kfraser@localhost.localdomain 18f003979c [HVM] VIOAPIC and VPIC cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-07 17:46:40 +00:00
kfraser@localhost.localdomain 1aa6e42118 [HVM] VLAPIC cleanups. vlapic tsruct is statically contained
inside the vcpu structure.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-07 15:48:10 +00:00
kfraser@localhost.localdomain 25f5b0ff15 [HVM] Replace shared-memory PIC state with a set-irq-level hypercall.
This simplifies the IRQ logic significantly and avoids the bogus
hvm_pic_assist() on domain resume path.

There is more work to be done here. At least:
 1. set-irq-level should really be set-interrupt-wire-level. Wire
    state needs to be distinguished from PIC (in particular, PIC IRR)
    state.
 2. Hypercalls can be batched in qemu and pushed down in one
    multicall.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-07 13:13:52 +00:00
kfraser@localhost.localdomain bcc2aed22a [BLKTAP] No need for barrier when updating rsp_prod_pvt.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-07 12:31:17 +00:00
kfraser@localhost.localdomain 428e6e4900 [LIBXC] Fix memory alloc/dealloc routines to return error properly.
Remove unnecessary decrease_reservation() from hvm builder.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-07 11:54:52 +00:00
kfraser@localhost.localdomain c527dd4702 [IA64] Build blktap driver by default.
Signed-off-by: Aron Griffis <aron@hp.com>
2006-11-07 11:19:26 +00:00
kfraser@localhost.localdomain 39b46b711f [BLKTAP] ia64 support
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-11-07 11:17:39 +00:00