Commit Graph
10711 Commits
Author SHA1 Message Date
chris@kneesaa.uk.xensource.com 0dffe4b8a2 Change the qemu to allow no network arguments, removing the
"-net nic -net user" default.

Based on a patch from: Daniel Stekloff <dsteklof@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-14 15:59:24 +01:00
chris@kneesaa.uk.xensource.com d30245b2bf Fix some more text inconsistencies and put devices in a more sensible order.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-14 14:18:39 +01:00
kaf24@firebug.cl.cam.ac.uk c1c2ab0c6f [HVM] Currently in xentrace, MMIO is handled just like other page faults. The
tracing parameters are error code and the guest virtual address.
However, if we are to analyze MMIO, tracing gpa makes more sense.

This small pactch replaces the va with gpa when tracing MMIO.

Signed-off-by: Qing He <qing.he@intel.com>
2006-07-14 14:02:59 +01:00
kaf24@firebug.cl.cam.ac.uk 164567df7b [SVM] Add perfcounter svmexits array with correct size creation.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
2006-07-14 14:01:25 +01:00
kaf24@firebug.cl.cam.ac.uk f4a8a33f8e [SVM] Add pit_time_fired() to svm logic, for the "many lost ticks" c/s 10650 fixes.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
2006-07-14 14:00:55 +01:00
kaf24@firebug.cl.cam.ac.uk 460e5345b7 [HVM] fix system crash when vmx guest startx or restore
Add this safety check like alloc_l4_table
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
2006-07-14 13:59:53 +01:00
kaf24@firebug.cl.cam.ac.uk 3d4a768adb [HVM] Create I/O context for MMIO/PIO processing in an
off-stack structure.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Xin B Li <xin.b.li@intel.com>
2006-07-14 13:59:15 +01:00
kaf24@firebug.cl.cam.ac.uk 6af68a0b67 lomount: Major rewrite: handle large files and GPT partition.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-07-14 13:53:59 +01:00
kaf24@firebug.cl.cam.ac.uk 553243f2ea [XM-TEST] Increase timeout on hotplug-cpus-down test to 30 seconds.
This is needed when dom0 has 32 CPUs.
Signed-off-by: Susan Krysan <krysans@unisys.com>
2006-07-14 12:00:02 +01:00
kaf24@firebug.cl.cam.ac.uk 1a57f91193 [IA64] Re-enable tools/xcutils build on ia64. We now have
save/restore working in the xen-ia64-unstable.hg thanks to some
excellent work by Tristan.  This simply splits the xcutils components
from the x86-ish linux_save/restore files in a way that should be
friendly to powerpc.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-07-14 11:58:17 +01:00
kaf24@firebug.cl.cam.ac.uk 43e2f75454 merge 2006-07-14 11:55:34 +01:00
kaf24@firebug.cl.cam.ac.uk 8c5ea9ceb8 Xm-test HVM network testing is broken. The new qemu code doesn't support
pcnet32, which is the current default driver loaded onto the disk.img.
This patch changes teh default to the rtl8139, which is xend's default.
This patch also adds a new "--with-network-drv" configuration option so
people can configure different drivers than the default.

Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
2006-07-14 11:54:10 +01:00
atse@norwich.uk.xensource.com 6d86274262 [PYGRUB] Typo fix in pygrub README
Signed-off-by: Alastair Tse <atse@xensource.com>
2006-07-14 11:49:26 +01:00
atse@norwich.uk.xensource.com f9b97a33a6 [XEND] Minor readability change
Signed-off-by: Alastair Tse <atse@xensource.com>
2006-07-14 11:49:25 +01:00
atse@norwich.uk.xensource.com 2b9f3d434d [XEND] Minor syntax change
Signed-off-by: Alastair Tse <atse@xensource.com>
2006-07-14 11:49:24 +01:00
kaf24@firebug.cl.cam.ac.uk 815077ee40 [TPM] Discard a future response packet after a timeout has occurred instead of
removing the request right away.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-07-14 11:48:48 +01:00
kaf24@firebug.cl.cam.ac.uk 7d330d02c8 [IA64] Update the defconfigs for ia64 to disable blktap until we have a
chance to make it work.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-07-14 11:46:57 +01:00
kaf24@firebug.cl.cam.ac.uk 0f36c05f28 [IA64] The blktap driver hardcodes PAGE_SIZE. Change it to use getpagesize(),
thereby allowing it to build on ia64.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-07-14 11:46:28 +01:00
kaf24@firebug.cl.cam.ac.uk 983c202ec4 [IA64] Libaio 0.3.104 in xen-unstable doesn't build on ia64.
This updates to 0.3.106, which does build.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-07-14 11:45:15 +01:00
kfraser@localhost.localdomain 0df65f6bf9 Fix typo in description of XEN_BLKDEV_TAP
Signed-off-by: Horms <horms@verge.net.au>
2006-07-14 11:43:57 +01:00
kfraser@localhost.localdomain 028a6c322e [IA64] Fix the ia64 build.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-07-14 10:49:05 +01:00
kfraser@localhost.localdomain 9e07a06f9b [powerpc] Initial checkin of new powerpc files.
From: Hollis Blanchard et al (IBM)
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-14 10:47:50 +01:00
kaf24@firebug.cl.cam.ac.uk 9e5acb051f Remove CONFIG_PLAN9. Unused.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-14 10:38:25 +01:00
kaf24@firebug.cl.cam.ac.uk 7eb542e462 [powerpc] add PowerPC support to libxc
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-07-14 10:37:12 +01:00
kaf24@firebug.cl.cam.ac.uk 3e8ad22aa8 [powerpc] support additional interrupt controller types in xen/arch/x86/irq.c
PowerPC #includes xen/arch/x86/irq.c, so we need to support MPIC interrupt
controllers here.
From: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-14 10:31:36 +01:00
kaf24@firebug.cl.cam.ac.uk 89fc30db76 [powerpc] print page->count_info as unsigned long
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-07-14 10:23:52 +01:00
kaf24@firebug.cl.cam.ac.uk 345a97c4db [powerpc] [xend] PPC doesn't support ballooning yet
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-07-14 10:23:04 +01:00
kaf24@firebug.cl.cam.ac.uk 70dfcaa268 [powerpc] add PowerPC support to Makefiles
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-07-14 10:22:40 +01:00
kaf24@firebug.cl.cam.ac.uk 347ce3110b [powerpc] add arch-powerpc.h to xen.h
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-07-14 10:21:57 +01:00
kaf24@firebug.cl.cam.ac.uk 706d405834 [powerpc] add PowerPC files to .hgignore
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-07-14 10:21:28 +01:00
jchesterfield@wicket.uk.xensource.com 093efe7838 xend save/restore fix, only matches one device type (vbd or tap) on creation of vm. 2006-07-13 15:33:08 +01:00
shand@kneesaa.uk.xensource.com 2ab963d33a Update ignores after blktap checkin (-unstable cset 10677:2937703f0ed0)
Signed-off-by: Steven Hand <steven@xensource.com>
2006-07-13 11:05:16 +01:00
chris@kneesaa.uk.xensource.com 2707d90983 [IOEMU] Enable gui_timer unless the display is exported over VNC.
Based on bug report from: Huang2, Wei <Wei.Huang2@amd.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-13 10:27:08 +01:00
jchesterfield@dhcp92.uk.xensource.com 0da81aa1d4 Added blktap support. Includes kernel driver (enabled as CONFIG_XEN_BLKDEV_TAP=y) and userspace tools. The userspace deamon (blktapctrl) is enabled by default when xend is activated. For further information on using and configuring blktap see tools/blktap/README. 2006-07-13 10:13:26 +01:00
kfraser@localhost.localdomain 0929bd9fc0 [XEN] Clean up page-fault propagation when acessing guest addresses.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-13 09:55:14 +01:00
chris@kneesaa.uk.xensource.com 96c551880a Update xend to support vnc configuration for qemu 0.8.1 based ioemu.
Also add vncdisplay= option which allows setting the display number
instead of using the default display number (= domid).

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-12 19:16:14 +01:00
chris@kneesaa.uk.xensource.com 472b6cb977 Update xend to support network configuration for qemu 0.8.1 based ioemu.
Remove the ne2000 option, the network device type can now be selected
on a per-device basis by adding a model= property to the device's entry
in the vif list.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-12 19:16:12 +01:00
chris@kneesaa.uk.xensource.com 8f4b90220c Add qemu 0.8.1 based ioemu.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-12 19:16:10 +01:00
chris@kneesaa.uk.xensource.com ef52abce73 Remove qemu 0.6.1 based ioemu.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-12 19:16:07 +01:00
kfraser@localhost.localdomain 2fdede6154 Revert c/s 10651: "prevent double uuid use". Breaks localhost
migration, since old and new domains can coexist at same time
with same uuid.

Possibly this patch could be accepted if xend were to be able to
deal with localhost migration (and save/restore, which can also
occasionally race).

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-12 16:34:39 +01:00
ack@localhost.localdomain 1c93221134 Add linux config update script and native linux build.
Update script generates linux config files from others, reducing
the burden of maintaining multiple parallel files.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
2006-07-12 11:58:40 +01:00
ack@localhost.localdomain eb29a36350 Ifdef stuff that is XEN specific in patches
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
2006-07-12 11:55:10 +01:00
chris@kneesaa.uk.xensource.com 7160c43efa Make ioemu dir configurable and change prefix to /usr (works with old and new ioemu).
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-12 10:33:37 +01:00
chris@kneesaa.uk.xensource.com 1aa6701ce1 [VMXASSIST] Include all rodata sections into text section.
Some versions of ld put non-matched sections into random locations otherwise.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-10 18:35:07 +01:00
kfraser@localhost.localdomain 6f628ee0bf [HVM][VMX] Clean up some writes to 64-bit VMCS fields in 32-bit Xen.
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-10 17:47:28 +01:00
kfraser@localhost.localdomain 5772e371b6 Check attributes of page table level 3 entries for 4 level HVM guest.
Removed aound tailing spaces.
Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-07-10 17:40:27 +01:00
kfraser@localhost.localdomain 27e92b03cf Shared libs have traditionally been installed as executables due to
some
long ago accidents of implementation in historical Unixes.  And there
are various tools which "expect" it (... and this is why they get
created as executable by default by ld).  

Switching to INSTALL_LIB here although I think the whole "define all
the
ways you're going to use install" in this makefile a _smidge_ overkill

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2006-07-10 17:38:41 +01:00
kfraser@localhost.localdomain b3685ce3b8 Move the content of the script file vtpm-addtodb into the
vtpm-common.sh
script. The newly created function 'vtpm_add_and_activate' also
assigns
the instance number to the xenstore entry to activate the backend. 
Renaming of isLocalAddress function to vtpm_isLocalAddress.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-07-10 17:36:41 +01:00
kfraser@localhost.localdomain 3863ac76d1 [LINUX] Define dma_get_cache_alignment even on x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-10 17:33:45 +01:00
kfraser@localhost.localdomain a30dab89d4 [XM][ACM] Add xm subcommands to work with security resource labels.
This patch adds new xm subcommands to support working with resource
labels.  The new subcommands are 'xm resources', 'xm rmlabel', 'xm
getlabel' and 'xm dry-run'.  In addition, the 'xm addlabel' subcommand
now uses an updated syntax to support labeling both domains and
resources.  See the xm man page for details on each subcommand.

Beyond the new subcommands, this patch allows users to immediately see
when security checks will fail by pushing some basic security checking
into the beginning of 'xm create' and 'xm block-attach'.  ACM security
attributes for block devices are added to XenStore in order to support
the final security enforcement, which will be performed in the kernel
and included in a separate patch.

Signed-off-by: Bryan D. Payne <bdpayne@us.ibm.com>
Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
2006-07-10 17:18:07 +01:00