Commit Graph
4233 Commits
Author SHA1 Message Date
Alastair Tse edd64e7966 [XEND] Accomodate extra "devices" in SXP that do not have DevControllers
Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-17 17:57:49 +00:00
Alastair Tse 13dde37355 [XEND] Revert changes in changeset 12328
Mistakenly reverted some fixes for rebooting, un-reverting.

Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-17 17:03:59 +00:00
Alastair Tse e1e7aa6e07 [XEND] Fix missing domains on domU reboot.
Fixed regression with rebooting domU caused by the change in handling
syncing state from Xen and Xend.

Added missing implementation for XendDomainInfo.unwatchVm() which
disappeared during a merge.

Added protection for console/vnc-port reading for managed domains.

Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-17 15:53:29 +00:00
kfraser@localhost.localdomain cc60b785f6 [LIBXC] Replace API uses of size_t with ulong.
Avoids possibility of different FILE_OFFSET_BITS defn.
across the interface.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-17 14:00:45 +00:00
kfraser@localhost.localdomain 329f3fcc6e [QEMU] rtl8139: Disallow chaining above 64K
As it stands the 8139C+ TX chaining is only bounded by realloc failure.
This is contrary to how the real hardware operates.  It also has DoS
potential when ioemu runs in dom0.

This patch makes any attempt to chain a frame beyond 64K fail
immediately.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-11-17 10:34:08 +00:00
kfraser@localhost.localdomain 9fd9787b0e [HVMLOADER][VTPM] Add support for a TCG ACPI table.
The ACPI table is generated if the probing for the TIS interface
succeeds. I cleaned up the ACPI signatures in acpi2_0.h to be more
readable.

The specification for the layout of these ACPI tables can be found here:
https://www.trustedcomputinggroup.org/groups/server/TCG_ACPIGeneralSpecification_1-00_1-00_FINAL.pdf

Extensions to the Bochs BIOS that use these ACPI extensions will follow.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-11-17 10:24:22 +00:00
kfraser@localhost.localdomain de6e26cec4 [HVMLOADEr] Reserve MMIO 0xa0000 to 0xc0000 in ACPI dsdt.
Avoids possible vga driver loading problem in HVM Windows guest.
Also fixes a Makefile bug in hvmloader directory.

Signed-off-by: Qing He <qing.he@intel.com>
2006-11-17 10:02:54 +00:00
kfraser@localhost.localdomain 9f941deb84 [TOOLS] Provide common LFS CFLAGS/LDFLAGS additions in Rules.mk.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-17 09:54:48 +00:00
Alastair Tse 90dfddafb5 [XEND] Fix PCI configuration parsing and SXP output
PCI configuration is formatted differently from other device
configurations because of the requirement that all pci devices need to
be present when it is initialised.

Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-16 13:49:05 +00:00
kasai.takanori@jp.fujitsu.com 654de638ac Add to select keyboard layout
Signed-off-by: Takanori Kasai <Kasai.Takanori@jp.fujitsu.com>
2006-11-16 13:13:55 +00:00
Ewan Mellor a948d5c0c0 Fix clobbering bug when hde is specified; QEMU only supports up to hdd, but
hde is accepted and writes off the end of some tables.

From Hiromichi Itou <ito@begi.net>.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-16 11:11:17 +00:00
kasai.takanori@jp.fujitsu.com 6ed32fb898 Fix of floppy disk configuration check
Signed-off-by: Takanori Kasai <Kasai.Takanori@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
2006-11-16 10:50:21 +00:00
Ewan Mellor d5548a599e This patch improves an usage message about xm dump-core command.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-11-16 10:44:23 +00:00
Ewan Mellor 51c072044f Fix cpu_cap option.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-11-16 10:28:26 +00:00
Ewan Mellor 54e573d0af Improve error message when trying to pause / unpause domain 0.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-11-16 10:26:20 +00:00
Ewan Mellor 016e7e1c8c Fix xm migrate error message when trying to migrate domain 0.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-11-16 10:25:23 +00:00
kaf24@firebug.cl.cam.ac.uk f8e7741960 [IA64] Fix build breakage.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-11-16 07:48:37 +00:00
Andrew Warfield 3cfbe70d32 [BLKTAP] Little error handling fix to blktapctrl.c.
Signed-off-by: Andrew Warfield <andy@xensource.com>
2006-11-15 12:50:17 -08:00
kfraser@localhost.localdomain 6c483f95f8 [XEN] Various selector and callback cleanups to simplify the tools
and assumptions about callback selector values on x86/32.
Original patch from Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-15 18:41:06 +00:00
kfraser@localhost.localdomain ede52a632e [BUILDER] Simplify vcpu context initialisation by pre-zeroing
the context structure.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-11-15 16:53:43 +00:00
kfraser@localhost.localdomain 9b4ed67d25 [TOOLS] Rename chekc_hotplug to check_udev and fix permissions.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-15 14:59:57 +00:00
Ewan Mellor 563e6b4690 Add the VNC port to the output of xm list --long, if the value has been written
to xenstore by QEMU.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-15 09:44:12 +00:00
kfraser@localhost.localdomain a4be7b6267 [LIBXC] Clarify error messages to talk about allocation 'extents'
rather than 'pages'.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
2006-11-15 09:30:44 +00:00
kaf24@localhost.localdomain 97c5e7aecb merge with xen-ia64-unstable.hg 2006-11-15 00:14:41 +00:00
awilliam@xenbuild.aw 4c40652f1d merge with xen-unstable.hg 2006-11-14 14:59:37 -07:00
Andrew Warfield 650e610eda Fix breakage of blktap device strings from cset 63d1b02dad347e8feb845d8a8b482e251a478164.
Signed-off-by: Andrew Warfield <andy@xensource.com>
2006-11-14 11:20:45 -08:00
Ewan Mellor cbe35a1196 Fix xm block-configure, by allowing the device ID to be unspecified inside
device_configure (in which case it will be specified by the incoming config).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-14 18:52:58 +00:00
kfraser@localhost.localdomain b0e1696ee0 [XENPERF] Pretty-print hypercall stats.
From: Yoshihiko Yaegashi <y.yaegashi@jp.fujitsu.com>
From: Ken Hironaka <kenny@logos.ic.i.u-tokyo.ac.jp>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-14 11:55:58 +00:00
kfraser@localhost.localdomain 1b3e78b73d [VMXASSIST] Remove unused variable declarations to avoid compiler warning.
Signed-off-by: Ben Thomas <ben@virtualiron.com>
2006-11-14 10:48:17 +00:00
kfraser@localhost.localdomain a7601b3d65 [IA64] Fix weird behaviour when configuring >3G memory for a VTI domain.
Signed-off-by, Anthony Xu < anthony.xu@intel.com >
2006-11-14 10:46:34 +00:00
jfehlig@jfehlig2.provo.novell.com dedbb36558 Add uuid to host record returned by host_get_record. libxen fails to parse the host record with this field missing.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
2006-11-13 17:23:49 -07:00
awilliam@xenbuild.aw a63ce0c65d merge with xen-unstable.hg 2006-11-13 09:58:23 -07:00
kfraser@localhost.localdomain 1ec2a5bbca [IOEMU] Simply fake-bios init of the piix4acpi device.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-13 14:25:48 +00:00
kfraser@localhost.localdomain f923f3a5f1 [HVM][IA64] Due to IPF Guest Firmware will enumerate PCI, shutdown in
IPF doesn't work This patch makes shutdown work for IPF.

Signed-off-by, Anthony Xu <anthony.xu@intel.com>
2006-11-13 14:20:26 +00:00
kfraser@localhost.localdomain 68a3e1e873 [TOOLS] Add more checks for devel packages.
On different systems I ran into different build failures that can be
made more understandable by adding appropriate -devel package
installation checks.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-11-13 14:01:17 +00:00
Ewan Mellor db34d2aaa5 Fix handling of the entries-per-domain quota. Entries which are created by
the guest but deleted by dom0 were remaining accounted against the guest,
which meant that the guest would eventually run out of quota.

This patch also prevents unprivileged domains from changing the owner of a
node.  One guest could attack another by creating nodes and then transferring
them to the ownership of another, and though the accounting could be made to
work properly in this case, domains should never be transferring nodes in any
case, so it seems safer just to disallow the operation entirely.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-11-13 10:43:29 +00:00
kfraser@localhost.localdomain 10967e5464 [IOEMU] Fix Linux smp guest hangs with complaint "BUG: soft lock detected on CPU#0"
When console=ttyS0 in guest grub configuration and serial='pty' in vmx
configure file. The root cause to this bug is the characteristic of
PTY emulator in Qemu. PTY has write/read end with some buffer. Write
to a buffer will be failed after the buffer is full until read end
reads the data from buffer.

Previous to changeset 12026, write to serial port would fail quietly
when buffer for pty is full. With changeset 12026, write to serial
port would retry 3 times in 300ms if failed, even without notifying
guest using serial irq. Smp guest will hang, waiting for an
interrupt. For SMP guest, a watchdog thread should be executed
periodically, otherwise soft lockup is detected. With this patch, an
upper threshold of total consecutive retries is added and serial
interrupt would be sent after retry 3 times for each write request,
even if failed.

Signed-off-by: Xinmei Huang <xinmei.huang@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-13 09:46:05 +00:00
kaf24@localhost.localdomain 6ab4f311ed [LIBFS] IA64 & PPC aren't making use of this right now, but it's silly to
have the build fail for some trivial x86 specific assembly.  I snagged the
appropriate bitops for ia64 and ppc (untested) and tossed in an
unoptimized option as well in case we want to make use of it.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-11-11 01:25:00 +00:00
kaf24@localhost.localdomain 22ed12a0f3 [XENSTORED] Fix errno 'leak' in xenstored.
In certain cases, when a client doesn't have enough permissions, the
errno variable is not set in xenstored_core.c before its value is
reported back.  As a result, the client can learn about the errno of
the last failed request to xenstored (which could have come from
another client).  (An unintended information channel! :-)

From: Magnus Carlsson <magnus@galois.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-11 01:23:11 +00:00
kaf24@localhost.localdomain e4ecc8e7f7 qemu error message for xc_domain_translate_gpfn_list() failure incorrect
Signed-off-by: Russell Blaine <russell.blaine@sun.com>
2006-11-11 01:19:26 +00:00
kaf24@localhost.localdomain 106e6b9de4 Fix integer overflow problem with libfsimage grub plugins.
Signed-off-by: John Levon <john.levon@sun.com>
2006-11-11 01:17:57 +00:00
kaf24@localhost.localdomain b991dfcee5 [VMXASSIST] Support all data segments in mov_to_seg().
This patch lets Plan9 crash at the same location before the original
patch by Stephen Tweedie.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
2006-11-11 01:16:40 +00:00
awilliam@xenbuild.aw b693fe2311 [IA64] fix VTI boot
workaroud patch for memory initial interface

Signed-off-by: zhang xiantao <xiantao.zhang@intel.com>
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
2006-11-10 11:14:51 -07:00
awilliam@xenbuild.aw c1d815ef9b [IA64] IA64 counter part of the change 12204:e6fdb32b786c of xen-unstable.hg
Remove xc_ia64_get_pfn_list() from setup_guest() in xc_linux_build.c,
use xc_domain_populate_physmap() and xc_domain_translate_gpfn_list().

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-11-10 11:14:32 -07:00
awilliam@xenbuild.aw 07a795b0f8 [IA64] fix ia64 linux domain builder broken by 12009:4a320d26fc24 of xen-unstable.hg.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-11-10 11:14:26 -07:00
awilliam@xenbuild.aw 8eb135484e merge with xen-unstable.hg 2006-11-10 11:11:04 -07:00
kfraser@localhost.localdomain 501330f105 [VMXASSIST] Emulate pop %ds and mov reg->{ds,es}.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-10 17:21:54 +00:00
Ewan Mellor f5982aac5f When running tests unattended it's useful to know how long they have
taken, as (significantly) increasing the runtime (without introducing
failures) can be considered a regression.  This patch adds a block like:

====
Xm-test timing summary:
  Run Started : Fri, 10 Nov 2006 14:53:18 +1100
  Run Stopped : Fri, 10 Nov 2006 14:53:20 +1100
====

to the generated report.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
2006-11-10 14:26:14 +00:00
Alastair Tse 069672061c [XEND] Add missing parameter and import from XendAPI and XendCheckpoint.
Signed-off-by: Alastair Tse <atse@xensource.com>
2006-11-10 13:09:01 +00:00
Alastair Tse 4291cf2ae1 Merge 2006-11-10 12:49:54 +00:00