Commit Graph
10743 Commits
Author SHA1 Message Date
chris@kneesaa.uk.xensource.com 3c2eba856f [qemu] Add access to the monito vt over VNC.
Recognize ctrl+alt+1/2/3 to switch among screens.

Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-26 14:52:47 +01:00
chris@kneesaa.uk.xensource.com f1b0353ce1 [qemu] sync patches and add file missing from cset 10738:42aa63188a88
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-26 14:38:00 +01:00
chris@kneesaa.uk.xensource.com e9f8582d3a [qemu] Use domain-name in VNC window title.
Set the VNC window title with domain-name.

Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-26 14:26:03 +01:00
chris@kneesaa.uk.xensource.com 56e84492d5 [qemu] Re-calculate color_table after color depth reset.
VNC client may reset color depth after connection, so if we don't
re-calculate color_table, monitor/console's background is abnormal.

Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-26 14:20:13 +01:00
chris@kneesaa.uk.xensource.com 5ac14a2322 IA64-specific code for new Qemu
Due to some ia64 patches aren't checked into xen-unstable.hg.
I reversed related logic. 

Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-26 13:41:10 +01:00
kfraser@localhost.localdomain 49b537fc59 Remove unnecessary include of linux/compiler.h in libxenstat.
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2006-07-26 13:36:13 +01:00
chris@kneesaa.uk.xensource.com f2cdd93694 [qemu] Fix HVM guests with more than 2G RAM on x86_64,
where "startx" will cause qemu dm to die.

Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-26 13:23:05 +01:00
chris@kneesaa.uk.xensource.com 9d5e9fd0c6 Fix cirrus and rt8139 co-exist issue in new qemu-dm.
The root cause is that if two MMIO spaces are continuous, qemu may misuse
last MMIO space's read/write to handle current request.

Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-26 11:47:44 +01:00
kfraser@localhost.localdomain e1c85225b6 [HVM] Sync p2m table across all vcpus on x86_32p xen.
We found VGA acceleration can not work on SMP VMX guests on x86_32p
xen, this is caused by the way we construct p2m table today: only the 1st
l2 page table slot that maps p2m table pages is copied to none-vcpu0 vcpu
monitor page table when VMX is created. But VGA acceleration will
create some p2m table entries beyond the 1st l2 page table slot after HVM is
created, so only vcpu0 can get these p2m entries, and other vcpu can
not do VGA acceleration.

Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-07-26 11:34:12 +01:00
kfraser@localhost.localdomain ab488e3802 [SVM] Correct compile time compare of CONFIG_PAGING_LEVELS for 64bit and
32bit PAE guests. This code affects accesses to the CR4 register by the SVM guest.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
2006-07-26 11:10:26 +01:00
kfraser@localhost.localdomain cdc54d20fd Add dependency on ncurses to main README. 2006-07-26 10:52:14 +01:00
kfraser@localhost.localdomain b296701bb2 [LINUX] Disable configuration of ARCH_SPARSEMEM_ENABLE on x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-26 10:08:13 +01:00
kfraser@localhost.localdomain 54f2a51531 [XEN] Increase debug stack size from 4kB to 8kB.
Also fix double-fault handlers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-25 19:38:56 +01:00
kfraser@localhost.localdomain 1bcc086e02 Fix Linux so that it does not set a timeout if there are no pending
timers. Fix Xen so that it does not immediately fire a timer event if
it sees a very long timeout -- sometimes this means that there are
no pending timers.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-25 17:01:49 +01:00
kfraser@localhost.localdomain 30aab42f71 [LINUX][NET] Add default ethtool get_link implementation to all
interfaces. Some management tools rely on this operation.

From: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-25 16:11:12 +01:00
kaf24@firebug.cl.cam.ac.uk 9ae44a26da Fix docs build after vtpm changes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-25 16:03:12 +01:00
kfraser@localhost.localdomain 4e311ce0b1 [VTPM] Add a description for vTPM usage to the user docs.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: Vincent Scarlata <vincent.r.scarlata@intel.com>
2006-07-25 16:00:19 +01:00
kfraser@localhost.localdomain 5b4b7f6815 [LINUX] Improve single-page contiguous region creation/destruction
Batch page table updates and fold TLB flush into last one, reducing
number of hypercalls made from ((# of pages) + 1) to just 1.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-07-25 15:58:35 +01:00
kfraser@localhost.localdomain 680e07e833 Move x86 perf counters declarations to asm-x86/perfc_defn.h
Creates asm-ia64/perfc_defn.h (empty).
Includes asm/perfc_defn.h in xen/perfc_defn.h

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-25 15:50:04 +01:00
kfraser@localhost.localdomain ce6dad0068 Add versioning info to xenstore library.
From: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-25 15:33:00 +01:00
kfraser@localhost.localdomain d2945ac88d [NET] gso: Fix reversed error test in netif_tx_trylock
Original changelog:

    [NET]: Fix reversed error test in netif_tx_trylock

    A non-zero return value indicates success from spin_trylock,
    not error.

    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-07-25 15:21:59 +01:00
kfraser@localhost.localdomain 19b294d7fc Fix memory allocation for IA64 guest on Xen-unstable.hg with new Qemu.
After balloon drive ready, we can remove this line safely.

Signed-off-by:Zhang Xiantao <xiantao.zhang@intel.com>
2006-07-25 15:12:47 +01:00
kfraser@localhost.localdomain a4517dd065 Split networking GSO patch into base portion plus additions.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-25 15:06:39 +01:00
chris@kneesaa.uk.xensource.com 032e54ea22 Make ioemu targets more robust and make ioemu clean always succeed.
Based on a patch by: Alex Brett <Alex.Brett@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-25 14:26:54 +01:00
kfraser@localhost.localdomain ccdde61726 Fix domid range check in xenmon.
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-25 11:53:29 +01:00
kfraser@localhost.localdomain ab78272006 When installing libblktap, symlinks should be made instead of using
install on the symlinks (install will follow the symlink)

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2006-07-25 11:41:45 +01:00
kfraser@localhost.localdomain bf5226569a The blktap commit reverted the change so that libxenstore gets
installed executable.  :/  Updated patch to fix things again

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2006-07-25 11:41:18 +01:00
kfraser@localhost.localdomain 3fc05fdad8 VTPM_TOOLS: Updated vtpm for new release of tpm_emulator 0.4, and set
up easier tracking of the emulator. Also fixed a few minor bugs in the
manager.

Signed-off-by: Vincent Scarlata <vincent.r.scarlata@intel.com>
2006-07-25 11:30:30 +01:00
kfraser@localhost.localdomain 4be7603855 Fix 'make clean' when ioemu configuration failed.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-07-25 11:19:48 +01:00
sos22@douglas.cl.cam.ac.uk 8903f962c4 [MINI-OS] Fix a bug which prevented map_frames being used more than once.
Found by John D. Ramsdell <ramsdell@mitre.org>

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-07-25 10:59:02 +01:00
sos22@douglas.cl.cam.ac.uk c68c9055ab [XEN] Fix a comment in grant_table.h.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-07-19 21:13:36 +01:00
chris@kneesaa.uk.xensource.com da71e93abc Spawn vncviewer from qemu-dm.
- add vncviewer option to qemu-dm to spawn a vncviewer process.
- add the `vncconsole' config parameter which enables qemu-dm's vncviewer
  option.

Based on a patch from: Don Dugger <donald.d.dugger@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-14 18:53:27 +01:00
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