Commit Graph
10819 Commits
Author SHA1 Message Date
awilliam@xenbuild.aw e4e6f4d295 [IA64] IO ports for driver domains.
Map/unmap IO ports.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-07-27 10:00:00 -06:00
awilliam@xenbuild.aw 2f0508c720 [IA64] warning fix
unused variable removal

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-07-27 09:47:59 -06:00
awilliam@xenbuild.aw 0ba183ab7e [IA64] iomem support for driver domains.
First steps in hypevisor to support driver domains.

IO ports capabilities added (not yet used).
IO mem capabilities checked.
ASSIGN_nocache flag added.
Memory attributes checked.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-07-27 09:47:10 -06:00
awilliam@xenbuild.aw fc3d48f35d [IA64] include asm/vhpt.h in ivt.S
Include asm/vhpt.h to define VHPT_GLOBAL and VHPT_ENABLED.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-07-27 09:17:54 -06:00
awilliam@xenbuild.aw 47c4e81c74 [IA64] remove a debug message
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-07-27 09:16:32 -06:00
awilliam@xenbuild.aw 797723c1a5 [IA64][qemu] add changes lost from xen-ia64 cset 10570
This adds back changes from xen-ia64-unstable.hg cset:

10570:8dc4af3f192c7c1ef3cd6921196997b903d25add

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-07-27 09:15:01 -06:00
awilliam@xenbuild.aw 9bc93707b1 [IA64] Remove unused contig mem flag for VTi
Remove the confusing flag ARCH_VMX_CONTIG_MEM for VTi domain. And add a 
flag ARCH_VMX_DOMAIN to ensure VMX_DOMAIN check on all vcpus.

Signed-off-by : Zhang xiantao <xiantao.zhang@intel.com>
2006-07-27 08:47:39 -06:00
awilliam@xenbuild.aw 15570803c2 merge with xen-unstable.hg for tools/ioemu build fix 2006-07-26 15:59:36 -06:00
chris@kneesaa.uk.xensource.com e01c924c18 [qemu] Remove duplicate ia64 testandset implementation.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-26 21:13:24 +01:00
awilliam@xenbuild.aw d2ac905a14 merge with xen-unstable.hg 2006-07-26 10:49:32 -06:00
awilliam@xenbuild.aw 0adf62a2ae [IA64] nasty bug fix
Bug fix: restore phys_addr field, because some other Xen
functions consider it as unused.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-07-26 09:41:24 -06:00
awilliam@xenbuild.aw f08a891ab3 [IA64] linux without SMP
Add #ifdef CONFIG_SMP so that linux can compile without SMP.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-07-26 09:39:38 -06:00
awilliam@xenbuild.aw 2ac4721161 [IA64] live migration
Shadow mode and live migration.

Virtualize Dirty bit.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-07-26 09:36:36 -06:00
awilliam@xenbuild.aw 30add1d7c3 [IA64] increase buffer size in panic_domain().
128 bytes is too short.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-07-26 09:02:43 -06:00
chris@kneesaa.uk.xensource.com f450023e01 [qemu] Initialize vga from within qemu for when the bios doesn't do so.
On xen/x86, vga bios is copied to 0xC0000 by guest firmware.
However on ia64 platform, native firmware depends on some
initialization vga state at power on and so does guest firmware.
That's why that vga bios initialization stub is required for vti
domain, to match platform requirement.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-07-26 15:20:30 +01:00
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
awilliam@xenbuild.aw 767a6a1679 [IA64] fix merge error with xen-unstable.hg
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-07-25 12:39:01 -06: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
awilliam@xenbuild.aw 31423d8a91 merge with xen-unstable.hg 2006-07-25 12:19:05 -06: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
awilliam@xenbuild.aw 250887c826 [IA64] remove unnecessary panic_domain() declarations
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-07-25 09:51:50 -06: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
awilliam@xenbuild.aw 9d20d1268d [IA64] Support domU coredump on ia64
This patch supports domU coredump on ia64.  xen_panic_event() is
registered to panic_notifier_list, and xen_panic_event() calls
HYPERVISOR_shutdown(SHUTDOWN_crash) at panic time.

If xend is notified of crash status, xend calls dumpCore()
and create domU's core in /var/xen/dump.

For sample crash module and usage, see:

http://lists.xensource.com/archives/html/xen-ia64-devel/2006-07/msg00230.html

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
[minor code re-arrangement]
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-07-24 14:26:03 -06:00
awilliam@xenbuild.aw 602e69d320 [IA64] Fix fetch code method when FP fault occurs @VTi side
This patch intends to use __vmx_get_domain_bundle to fetch code
when FP fault @VTi side.

Singed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
2006-07-24 13:48:12 -06:00