Commit Graph
3593 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 5eeca68ffd [HVMLOADER] HVM loader initialises hypercall shim and uses
it to interrogate Xen version information. Also add support
for HVM hypercall execution on 64-bit host.

Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-04 20:30:12 +01:00
chris@kneesaa.uk.xensource.com 47b577e71c [qemu patches] Update patches for changeset 10945:baa6d08e62a0.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 11:36:07 +01:00
chris@kneesaa.uk.xensource.com 1f401924d5 [qemu] Add missing semicolon.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 11:35:51 +01:00
chris@kneesaa.uk.xensource.com 41df99f54e [qemu patches] Update patches for changeset 10943:1de1bb6a51c5.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 11:34:01 +01:00
chris@kneesaa.uk.xensource.com c4a18a0435 [qemu] Update acpi timer to not use a qemu timer.
Compute the acpi timer's value when it is accessed instead of using
a qemu timer to keep it uptodate.

From: Wang, Winston L <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 11:33:41 +01:00
chris@kneesaa.uk.xensource.com a5da231f56 [hvm firmware] Update hvm acpi dsdt table.
1)Code style clean up
2)Mininor fix for pci bus 0, dev 4 apic IRQ number
3)Add support for HCT "unreported IO and Memory" test by reporting low
640 MB mem as motherboard resource

Signed-off-by: Winston Wang <winston.l.wang@intel.com>
2006-08-04 11:03:17 +01:00
chris@kneesaa.uk.xensource.com 28f1d62e49 [qemu patches] Refresh patches.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:57:34 +01:00
chris@kneesaa.uk.xensource.com 16304772eb [qemu patches] Update patches for changeset 10939:5980fb28b050.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:57:13 +01:00
chris@kneesaa.uk.xensource.com 1670f1a422 [qemu] Free page_array when it's no longer used.
Seems no special reason for keeping page_array, free it
to avoid memroy leak in Qemu.

Signed-off-by : Zhang xiantao<xiantao.zhang@intel.com>
2006-08-04 10:56:53 +01:00
chris@kneesaa.uk.xensource.com 6321bfff99 [qemu patches] Refresh patches.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:53:11 +01:00
chris@kneesaa.uk.xensource.com f2021fe86c [qemu patches] Update patches for changeset 10936:a0b3cf802d99.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:52:49 +01:00
chris@kneesaa.uk.xensource.com 300af9fa6e [qemu] Fix qemu memory access beyond 3G @VTi side.
Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
2006-08-04 10:52:25 +01:00
chris@kneesaa.uk.xensource.com 6297f1d9d3 [qemu patches] Refresh patches.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:43:02 +01:00
chris@kneesaa.uk.xensource.com 24bb37df7f [qemu patches] Update patches for changeset 10933:386990d004b8.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:42:02 +01:00
chris@kneesaa.uk.xensource.com 621578a369 [qemu] Add switch to control whether acpi bridge is enabled.
Signed-off-by: Winston Wang <winston.l.wang@intel.com>
2006-08-04 10:41:27 +01:00
chris@kneesaa.uk.xensource.com 63c4050403 [qemu patches] Update patches for changeset 10931:3ea0a6847198.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:29:18 +01:00
chris@kneesaa.uk.xensource.com 0a30ab0071 [qemu] Make sure disk writes really made it to disk before we report I/O
completion to the guest domain.  The DMA_MULTI_THREAD functionality
from the qemu-dm IDE emulation should make the performance overhead
of synchronous writes bearable, or at least comparable to native
hardware.

Signed-off-by: Rik van Riel <riel@redhat.com>
2006-08-04 10:28:51 +01:00
chris@kneesaa.uk.xensource.com e71d659c42 [qemu patches] Update patches for changeset 10929:4dd640c6ce57.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 10:20:33 +01:00
chris@kneesaa.uk.xensource.com ccdaf36c89 [qemu] Fix memset arguments in qemu audio code.
The arguments for the calls to memset are reversed in audio.c.

Signed-off-by:  Charles Coffing <ccoffing@novell.com>
2006-08-04 10:19:53 +01:00
chris@kneesaa.uk.xensource.com a3188a47d8 [HVM] Wnable sound card support for qemu.
Need a sound card to pass some benchmark check.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
2006-08-04 09:31:06 +01:00
chris@kneesaa.uk.xensource.com 73bf5288a0 [qemu patches] Update patches for changeset 10926:e47aad0605a3.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 09:28:34 +01:00
chris@kneesaa.uk.xensource.com 256050aba5 [qemu] Always allow --disable-sdl since there's always vnc support.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-04 09:27:52 +01:00
chris@kneesaa.uk.xensource.com c421252d5a [blktap] Add dependencies to Makefiles and simplify to avoid needless rebuilds.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-03 19:45:14 +01:00
chris@kneesaa.uk.xensource.com fff236de34 [qemu patches] Update patches for changeset 10923:155385a02d.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-03 19:19:27 +01:00
chris@kneesaa.uk.xensource.com 2a33cbb5db [qemu] Write the port number where the vnc server is listening to xenstore.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-03 19:14:41 +01:00
chris@kneesaa.uk.xensource.com c944f2233f [qemu patches] Update patches for changeset 10921:4c2fab8f8c34.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-03 18:34:03 +01:00
chris@kneesaa.uk.xensource.com ae97d42025 [qemu] Use xenstore to configure ioemu block devices.
- read ioemu block device config from xenstore
- don't require the ioemu: prefix on block devices any longer
- allow change of media associated with cdrom drives
- replace cdrom= option by :cdrom suffix on regular block device config:
  'file:/root/mytest.iso,hdc:cdrom,r'
- don't create default cdrom drive anymore - to create default empty
  cdrom drive use: ',hdc:cdrom,r'

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-03 18:28:29 +01:00
vhanquez@gwig.uk.xensource.com 04f6e36b47 remove '=' between command line name/argument.
ease parsing without getopt.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2006-08-03 13:44:05 +00:00
kfraser@localhost.localdomain c255809877 [HVM] Add a concept of HVM parameters to the hypervisor.
Each HVM domain has a space of HVM parameters associated with it,
and these can be manipulated via a new hvm_op hypercall. This means
that the hypervisor no longer needs to parse the hvm_info table, so
remove that code.

Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-03 13:53:33 +01:00
emellor@leeni.uk.xensource.com 028e72eee5 Clarify the use of vcpu-set. Closes bug #686.
Signed-off-by Harry Butterworth <butterwo@uk.ibm.com>
2006-08-02 17:42:38 +01:00
kfraser@localhost.localdomain ae9516f06f [TOOLS] Enhance xenstore-ls to optionally display permissions.
Also perform an ioctl to determine the current width of the terminal.

Signed-off-by: Michael LeMay <mdlemay@epoch.ncsc.mil>
2006-08-02 15:00:39 +01:00
kfraser@localhost.localdomain 219c85a53b [TOOLS] Modify xenstore_client.c to include a new utility, xenstore-chmod.
This utility permits developers and administrators to
manually change the permissions on arbitrary locations in XenStore
from the command line.  This is often helpful if you're trying to debug an
application that relies on XenStore and is encountering difficulties
with permissions.

Signed-off-by: Michael LeMay <mdlemay@epoch.ncsc.mil>
2006-08-02 14:58:37 +01:00
kfraser@localhost.localdomain c407ff43f4 [TOOLS] lomount: Fix printf formats inside #ifdef DEBUG.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-08-02 10:13:30 +01:00
kfraser@localhost.localdomain f0667416be [VMXASSIST] Fix GDTR accesses when paging mode enabled.
The gdtr information in oldctx is an address for guest, not for
vmxassist. When access descriptor on guest gdt, we need to go through
guest page table if guest enable paging. This error may happen if
guest enable PE/PG in one instruction.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>=20
Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-08-02 10:03:04 +01:00
chris@kneesaa.uk.xensource.com 0baacdb68b Update patch to reflect changes from 10867:edf7a25fdc43.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-02 09:54:32 +01:00
kfraser@localhost.localdomain 63c35d0351 [TOOLS] ppc64 is not a LIB_64_ARCH
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
2006-08-02 09:16:26 +01:00
jchesterfield@dhcp92.uk.xensource.com 7005c6cd93 Switch blktapctrl.c over to using standard system daemon(3) call. Current patch was not closing all FDs and redirecting output to /dev/null, preventing tapdisk from launching correctly. 2006-08-01 17:59:27 +01:00
kfraser@localhost.localdomain ad3b5ffb6a [TOOLS] Clean up libxenstore.a on 'make clean'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-01 17:47:21 +01:00
kfraser@localhost.localdomain 8e3af29104 [HVM][SVM] Change the calling convention for SVM VMMCALLs so
that they don't conflict with the hypercall calling convention.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-01 17:28:19 +01:00
emellor@leeni.uk.xensource.com 9212caa7a4 Rename all the CVS directories to .CVS. We want to keep the references to
upstream QEMU, but they can be confusing when they are called CVS.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-01 14:34:18 +01:00
kfraser@localhost.localdomain 33ac7e69c8 [ACM] A wxPython GUI tool for sHype/ACM in Xen. It is used
and described in the user guide to demonstrate how to quickly create, 
enforce, and test workload protection policies in Xen. The tool is aimed 
to improve usability of sHype/ACM for Xen.It is included in a single 
file to make it easy to try it out on different platforms (it inherits 
the look and feel of the base platform). It is tested on Linux and 
Windows. Please read the new user guide section about how to start and 
use the tool (section 10.2).

Requirements: python (www.python.org), wxPython (www.wxpython.org or
try 'yum install wxPython').

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
2006-07-31 18:12:53 +01:00
kfraser@localhost.localdomain 31c8886dc2 [BLKTAP] Properly daemonise the blktap control daemon. Fixes bug #709.
Signed-off-by: Harry Butterworth <butterwo@uk.ibm.com>
2006-07-31 18:07:25 +01:00
vhanquez@gwig.uk.xensource.com 8d79f14a5d Add a transaction_started field in xenstored connection structure instead of
browsing the list of transaction each time
Bump the default to 10, and make it configurable through the command line.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2006-07-31 09:30:36 +00:00
vhanquez@gwig.uk.xensource.com d763fcc163 Limit the number of opened transactions per connection to 5.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2006-07-29 14:05:59 +01:00
chris@kneesaa.uk.xensource.com 6a999d5ed8 Add back changes lost from xen-ia64 cset 10570:8dc4af3f192c
with the new qemu tree.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-07-29 13:06:41 +01:00
kfraser@localhost.localdomain e489d9a4e9 [XM] Print shorthelp of xm shutdown.
# xm shutdown
Error: 'xm shutdown' requires between 1 and 4 arguments.

   shutdown <DomId> [-w][-a][-R|-H] Shutdown a domain

# xm shutdown vm1 -w -a -R -H
Error: 'xm shutdown' requires between 1 and 4 arguments.

   shutdown <DomId> [-w][-a][-R|-H] Shutdown a domain

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-07-28 17:36:08 +01:00
kfraser@localhost.localdomain 87f45629c6 [XEND] Better checking of shutdown of domain0.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-07-28 17:35:39 +01:00
kfraser@localhost.localdomain a11943ada5 [LIBXC] Generic include of arch-specific sub-makefile.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-28 14:00:57 +01:00
kfraser@localhost.localdomain 3b71aa2851 [PCI] Two policy files written in what is intended to be human-readable SXP.
1. xend-pci-quirks.sxp:

Specifies which PCI device(s) may write to a set of PCI configuration
space registers.  A quirky PCI device is identified by its vendor ID,
device ID, subvendor ID, and subdevice ID.  If a matching entry is
found, the corresponding fields will be sent to the PCI bus manager.
Fields are composed of a register, size, and mask -- although the mask
field is currently unused.

The included policy file is for a range of tg3 devices, which is the
only type of quirky device I know about.  Users with other quirky
devices are invited to either add entries to this policy file or add
an entry in the permissive file, described next.  In either case, send an
email to the xen-devel list to make the device known.

2. xend-pci-permissive.sxp

Lists PCI devices that pciback should not prevent from writing to
their configuration space.  This can be necessary if, for example, a new
Tigon3 devices is released with different PCI vendor/device values
such that no entry in xend-pci-quirks.sxp is triggered.

Signed-off-by: Chris Bookholt <hap10@tycho.ncsc.mil>
2006-07-28 12:59:48 +01:00
kfraser@localhost.localdomain 2b9c0e336c [PCI] xend parses the user-space PCI backend policy files and sends
the corresponding fields to the PCI bus manager via sysfs nodes:

/sys/bus/pci/drivers/pciback/quirks
/sys/bus/pci/drivers/pciback/permissive

xend reads the policy file every time it creates a new domain that was
assigned a PCI device.

Signed-off-by: Chris Bookholt <hap10@tycho.ncsc.mil>
2006-07-28 12:57:55 +01:00