Commit Graph
3670 Commits
Author SHA1 Message Date
tdeegan@york.uk.xensource.com 49f7c7364e Replace shadow pagetable code with shadow2. 2006-08-16 17:02:35 +01:00
emellor@leeni.uk.xensource.com 2d14977023 Fix log rotation which was inadvertently broken by changeset 11129:939f75570a15.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-16 16:06:32 +01:00
kfraser@localhost.localdomain 0512d8f50a Rename two xentrace tools to make it obvious that setmask and setsize are xen related.
Based on a patch from Rob Gardner <rob.gardner@hp.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-16 13:53:10 +01:00
emellor@leeni.uk.xensource.com 99c694310f Implement xm block-configure for CD-ROMs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-16 12:59:30 +01:00
kfraser@localhost.localdomain 75205296f9 This is a small patch that makes a cross compiler successfully compile
the sources under the tools directory.  This patch became necessary
after qemu-dm is updated to a newer version.

Signed-off-by: Hiroya INAKOSHI <inakoshi.hiroya@jp.fujitsu.com>
2006-08-16 11:53:37 +01:00
kfraser@localhost.localdomain d0ed0b289c [XEND] xc_save/xc_restore open the libxc interface independently
of their parent. This is required now that the interface fd is
marked for close-on-exec.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-15 19:04:43 +01:00
kfraser@localhost.localdomain ef3277d97c Set close-on-exec flag on /var/log/xend.log logging file.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2006-08-15 16:27:26 +01:00
kfraser@localhost.localdomain 265853a73b Set the close-on-exec flag on the RPC socket in tool stack.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2006-08-15 16:26:39 +01:00
kfraser@localhost.localdomain e70f7a84ee Set the close-on-exec flag on the xenstore fd in libxenstore.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2006-08-15 16:25:39 +01:00
kfraser@localhost.localdomain b073ccc00f [LIBXC] Set close-on-exec on the privcmd fd in libxc.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2006-08-15 16:25:04 +01:00
kfraser@localhost.localdomain 3f334a5fd7 merge 2006-08-15 15:51:47 +01:00
kfraser@localhost.localdomain 121ec85fcf Clean up console fields in start_info structure. Add compat code for
older kernels so they can use the old start_info API.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-15 15:50:36 +01:00
chris@kneesaa.uk.xensource.com 5d3e8d4471 [qemu patches] Update patches for changeset 11117:60eacb336e35.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-15 13:54:09 +01:00
chris@kneesaa.uk.xensource.com ec5d192958 [qemu/ia64] Sync ID cache only guest do DMA read.
Fix ID cache sync time. Only when guest does DMA
read, ID sync cache is needed for VTi.

From: Zhang, Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-15 13:53:18 +01:00
kfraser@localhost.localdomain 13451be1da [XEND] Apply the domain cpumask fully to every vcpu in the domain.
Apply the domain cpumask to each vcpu rather than mapping vcpus to
cpus in the list.  This is more inline with the comments for the
cpus parameter and also allows the credit scheduler to balance
vcpus within the domain cpumask.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2006-08-15 10:56:59 +01:00
kfraser@localhost.localdomain 46655653d3 Remove another external-to-libxc user of xc_dom0_op().
Signed-off-by: John Levon <john.levon@sun.com>
2006-08-15 10:47:26 +01:00
kfraser@localhost.localdomain 01c74dcb72 [VMX] Fix vmxassist for booting Vista.
This patch fixes 2 vmxassist bugs to boot Vista:
1) When switching from VM86_REAL_TO_PROTECTED to VM86_PROTECTED,
protected_mode() sets return eip to switch_to_protected_mode and
segments to vmxassist's. But in later set_mode(), it still consides
these segments are guest's (Bios at this time) and use its gdt table
to calculate address(), which results in segment limitation fault. 2) In
current vmxassist, when entering VM86_PROTECTED_TO_REAL, we need to
decode every instruction manually until we catch instructions like
jmpl to reset cs to really return to real mode. Vista boot manager uses
more instructions.

Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
2006-08-15 10:45:05 +01:00
kfraser@localhost.localdomain 386f9501d5 [VMX] Fix VMX ap boot.
Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-08-15 10:43:43 +01:00
kfraser@localhost.localdomain cdd3927215 [HVM] Fix roms.h to depend on acpi data.
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
2006-08-14 17:57:37 +01:00
kfraser@localhost.localdomain 7af667dcc6 [VMXASSIST] Fix linker script to define start/end section labels
in the usual idiomatic way. This avoids some BSS symbols being
defined oustide of range _sbss/_ebss.

Issue raised by Xiaowei Yang from Intel.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-14 17:56:59 +01:00
kfraser@localhost.localdomain 8919329ca7 Pick up SMBIOS entry point in the ROMBIOS.
Signed-off-by: Andrew D. Ball <aball@us.ibm.com>
2006-08-14 17:38:23 +01:00
kfraser@localhost.localdomain c683914ef9 Add code to generate SMBIOS tables to hvmloader.
Signed-off-by: Andrew D. Ball <aball@us.ibm.com>
2006-08-14 17:37:07 +01:00
kfraser@localhost.localdomain 132a2337d6 Make room in e820map for SMBIOS tables.
Signed-off-by: Andrew D. Ball <aball@us.ibm.com>
2006-08-14 17:29:11 +01:00
kfraser@localhost.localdomain 318ac791f9 Add utilities needed for SMBIOS generation to hvmloader.
Signed-off-by: Andrew D. Ball <aball@us.ibm.com>
2006-08-14 17:28:25 +01:00
kfraser@localhost.localdomain fd714c8ac1 [HVMLOADER] Include xen.h for __HYPERVISOR* constants.
Signed-off-by: Andrew D. BAll <aball@us.ibm.com>
2006-08-14 16:41:20 +01:00
kfraser@localhost.localdomain b76fbc3cc5 [LIBXC] Remove unused xc_evtchn_status().
Signed-off-by: John Levon <john.levon@sun.com>
2006-08-14 16:39:35 +01:00
kaf24@localhost.localdomain 848ded1e09 [XEN] Clean up e820 definitions. Define shared set in hvm public dir.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-13 17:47:59 +01:00
kaf24@localhost.localdomain 3321c3c8e9 [XEN] Add a warning about changeable size of shared_info structure.
sizeof(shared_info_t) can change even in compatible hypervisor
versions.
Add a clear warning about this, and fix the few places relying on it.
In addition, add some padding to arch_shared_info, to allow future
additions to the structure without breaking known offsets of members
following it in the shared info.

Signed-off-by: John Levon <john.levon@sun.com>
2006-08-12 16:18:08 +01:00
kaf24@localhost.localdomain ec0ebb15e5 [XM-TEST] Fix network tests for -route and -nat
vif-nat and vif-route need to know domU ethX IP addresses in order to set
up the appropriate routes.The new network test infrastructure is not
providing the IP address on the vif line in /tmp/xm-test.conf; adding
it turns out to be a one-liner.

Tested with xm-test running with -bridge, -route, and -nat network
scripts.

Signed-off-by: Jim Dykman <dykman@us.ibm.com>
2006-08-12 15:58:52 +01:00
emellor@leeni.uk.xensource.com 7857edbe76 New xm uptime command.
From Alex Brett <alex.brett@xensource.com>

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-12 12:25:42 +01:00
kfraser@localhost.localdomain 84b9298c75 [HVM] Remove unused apic_enabled field from hvm_info_table.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-10 15:45:47 +01:00
emellor@leeni.uk.xensource.com 49849e9c0c Revert inadvertent code change from "replace tabs with spaces" changeset.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-10 14:29:04 +01:00
kfraser@localhost.localdomain 1e664a670c [LIBXC] clean specified files instead of wildcarding
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-08-10 10:55:54 +01:00
kfraser@localhost.localdomain 6c892c42ad [LIBXC] replace tabs with spaces
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-08-10 10:52:46 +01:00
kfraser@localhost.localdomain f5cbcc33d2 [HVM] Rmove unused field pae_enabled from hvm_info_table.
Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-08-10 10:45:10 +01:00
kfraser@localhost.localdomain 2dcebc270e Fix 2 issues when creating HVM guests:
1) xend can't start due to xend-config.sxp
 2) qemu dm option vncunused should be effective only
    when vnc is turned on.

Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-08-10 10:37:15 +01:00
chris@kneesaa.uk.xensource.com 37337d1d6d [qemu patches] Update patches for changeset 11048:27bef4f3c1d3.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 21:34:27 +01:00
chris@kneesaa.uk.xensource.com c6d786bfd0 [qemu] Move acpi to devfn 2, so that it matches the fadt.
Based on feedback from: Wang, Winston L <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 21:33:59 +01:00
chris@kneesaa.uk.xensource.com 0f1f2f4e7d [qemu patches] Update patches for changesets 11045:bd11c4855c5d and 11046:8a615d28759e.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 20:08:20 +01:00
chris@kneesaa.uk.xensource.com 54ec6e3d26 [qemu] HVM acpi port init update.
Removed the acpi port depency on USB exist.

Based on a patch from: Winston Wang <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 20:07:01 +01:00
chris@kneesaa.uk.xensource.com 559b3dff6d [qemu] Disable qemu's acpi support.
Based on a patch from: Wang, Winston L <winston.l.wang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 19:57:03 +01:00
kfraser@localhost.localdomain 5714e01bac Merge with xen-ia64-unstable. 2006-08-09 18:15:27 +01:00
kfraser@localhost.localdomain 25929fb317 Merge with xenppc-unstable. 2006-08-09 18:04:20 +01:00
awilliam@xenbuild.aw 879f62cd48 merge with xen-unstable.hg 2006-08-09 10:32:23 -06:00
awilliam@xenbuild.aw 773aa14ec3 [IA64] catch up new hypercall HYPERVISR_hvm_op for IPF (libxc)
append xc_set_hvm_param for IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
2006-08-09 10:04:43 -06:00
chris@kneesaa.uk.xensource.com ac0be2c025 [qemu patches] Update patches for changeset 10998:bd04004865ba.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 15:05:12 +01:00
chris@kneesaa.uk.xensource.com 26453d70cc [qemu] Add vncunused option.
If the port used for the requested display number is in use, try
additional ports until a free port is found.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 15:03:38 +01:00
chris@kneesaa.uk.xensource.com b6c6d9639a [qemu patches] Update patches for changeset 10993:dc7b56b8cfb5.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 11:25:55 +01:00
chris@kneesaa.uk.xensource.com 4a68bf3041 [hvm/qemu] Add HVM buffered IO writes framework to accelerate stdvga speed.
With this patch, win2k VMX guest boots fine on xen.

Signed-off-by: Zhu Han <zhu.han@intel.com>
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-09 11:25:33 +01:00
kaf24@firebug.cl.cam.ac.uk 07275b9747 Build tools/firmware only on x86.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-09 10:53:16 +01:00