Commit Graph
13509 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 4e8586dfa3 [MINIOS] More cleanups for the ia64 port.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-01-19 15:09:39 +00:00
kfraser@localhost.localdomain 2b68aee829 [MINIOS] Fix compile warnings with -O.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-01-19 15:08:15 +00:00
kfraser@localhost.localdomain 9e20e8426f [TOOLS] Avoid void* arithmetic when parsing elf notes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 15:05:20 +00:00
kfraser@localhost.localdomain 24425e8b0e [XEN] Avoid void* arithmetic in elfnote code.
From: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 15:03:02 +00:00
kfraser@localhost.localdomain 2e68ac5f97 [LIBXC] Handle trace-buffer cpumap endianness.
Original patch from Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 14:41:17 +00:00
kfraser@localhost.localdomain e74411be0b [LIBXC] Convert between byte-based and 64-bit bitmap arrays. Use this
for conversion of the domctl_cpumap.
Original patch from Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 14:36:12 +00:00
kfraser@localhost.localdomain 060fe1405f [XEN] Convert between long-based and byte-based bitmap arrays.
Use this for conversion of the domctl_cpumap type on big-endian
systems.
Original patch from Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 14:24:28 +00:00
Christian Limpach beb6098f21 [HVM] Whitespace cleanup.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-19 13:43:17 +00:00
kfraser@localhost.localdomain a352d8d69f [MINIOS] Added domctl and sysctl hypercalls to the
architecture-specific header files. Also increased the
__XEN_INTERFACE_VERSION__ to 0x00030205.

Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
2007-01-19 12:11:52 +00:00
kfraser@localhost.localdomain 7d0281ec54 [XEN] Revert change to vcpu_guest_context which breaks guest ABI.
HVM save/restore needs to save/restore vcpu state via the new
stream-based load/save hypercalls.

Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-19 12:03:51 +00:00
Christian Limpach a963dfad52 [HVM] Only update guest time on timer interrupt delivery if the guest time is in the past.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-19 11:58:52 +00:00
Ewan Mellor 61a18d9c54 Tidy up the restore path following HVM save/restore patches.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-19 10:12:39 +00:00
john.levon@sun.com e34a812b5d Update pygrub for new Solaris directory names.
Signed-off-by: John Levon <john.levon@sun.com>
2007-01-18 18:19:54 -08:00
kfraser@localhost.localdomain f545359b1c [HVM] Fix slow wallclock in x64 Vista. This is due to confusing a
timeout in the past vs. a timeout in the future when looking at a
32-bit HPET comparator.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-18 18:54:28 +00:00
Christian Limpach 1a9914c007 [linux networking] Remove the code to allocate page sized skbs.
This is no longer used much since the default is to always copy packets
to guests.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-18 18:40:30 +00:00
kfraser@localhost.localdomain 48ad2e6f15 Build PAE by default on x86_32.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-18 18:39:07 +00:00
kfraser@localhost.localdomain 0511df5aec Merge with xen-ia64-unstable.hg 2007-01-18 18:25:04 +00:00
kfraser@localhost.localdomain fe747edd26 Copy vmlinuz to correct folder when make source on IA64 platform.
Signed-off-by: Yongkang You <yongkang.you@intel.com>
2007-01-18 18:19:52 +00:00
Christian Limpach a04dec9d77 [ioemu] fix build - prototype for static function needs to be static.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2007-01-18 18:09:07 +00:00
Ewan Mellor ca662595dc Allow vcpu_avail to be specified in the configuration file. Rationalise our
use of online_vcpus and max_vcpu_id, keeping track of the configured value in
vcpus_number.

Fix HVM SMP configuration to use the XendDomainInfo.getVCpuCount() call that
is used everywhere else, rather than parsing it out of the device config.

Fix xm list to show the configured VCPU count when the VM is down.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-18 17:48:59 +00:00
Alastair Tse b8a73ce6fe Fix get_config_value fix
Signed-off-by: Alastair Tse <atse@xensource.com>
2007-01-18 17:24:40 +00:00
Ewan Mellor 1ab8a4153b Fix get_config_value call.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2007-01-18 17:01:44 +00:00
Tim Deegan 54ffbbd7f3 [HVM] Save/Restore: don't clobber page types in shadow code
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-18 16:48:12 +00:00
Tim Deegan 60e7732ed8 [HVM] Save/restore: Sometimes the hg changeset is not available.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-18 16:48:11 +00:00
Tim Deegan 7b56849fa7 [HVM] Save/Restore: Various structures have changed
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-18 16:48:10 +00:00
Tim Deegan 42b9c7a19f [HVM] save restore: shadow fix
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>

fix 2 shadow issues:
* restored guest's mem type_info are not correct
* remove annoying warnings when restore

enable smp:
turn on the vcpu when set_vcpu_context in restore as cpu hotplug is not feasible for HVM
2007-01-18 16:48:09 +00:00
Tim Deegan a5af2a08af [HVM] save restore: guest memory handling
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>

add support for save/restore HVM guest memory
2007-01-18 16:48:08 +00:00
Tim Deegan 9a3e4bbea4 [HVM] save restore: device model support
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>

qemu's save/restore including vga acceleration support
2007-01-18 16:48:07 +00:00
awilliam@xenbuild2.aw cf6cceab1b [IA64] Remove duplicate typedefs
These are now defined in xen/include/xen/types.h

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-01-17 21:45:34 -07:00
awilliam@xenbuild2.aw 9b7ae1d44f merge with xen-unstable.hg 2007-01-17 21:31:22 -07:00
awilliam@xenbuild2.aw 9f9308c4e8 [IA64] Passing address of PSCB is not needed
Since the address of PSCB is decided by xenolinux now,
passing address of PSCB to xenolinux is not needed.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2007-01-17 19:55:48 -07:00
awilliam@xenbuild2.aw 2dc7e7b707 [IA64] Remove duplicate check is_running_on_xen
When these functions are called, it is running on XEN.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2007-01-17 19:51:40 -07:00
awilliam@xenbuild2.aw 6014962afe [IA64] Let Xen handle identity mapping for xenolinux region 7
During kernel build in dom0, half of the resulting slow reflections
are alt DTLB misses.  Since we know Linux identity maps region 7,
Xen can handle the miss itself.  This reduces the system time component
of the kernel build by nearly 15%.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2007-01-17 19:48:02 -07:00
kfraser@localhost.localdomain 9d15d8d54a Export XEN_TARGET_ARCH to buildconfig sub-Makefiles even if it is not
specified on the command line.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-17 16:42:34 +00:00
kfraser@localhost.localdomain cc1ecba9d6 [XEN] A few emulator fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-17 15:41:39 +00:00
kfraser@localhost.localdomain f515c2cf95 [MINIOS] New make structure to support different architectures.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-01-17 15:09:50 +00:00
kfraser@localhost.localdomain 4ff20a3034 [HVM] i8254: Fix bogus use of current
The function pit_load_count incorrectly references current for
determining whether the channel number is zero.  This breaks
when starting a new guest because current points to dom0.

The fix is to explicitly pass the address for verification.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2007-01-17 15:03:27 +00:00
kfraser@localhost.localdomain bba72b94d7 linux: Allow microcode updates of smaller than default size.
Signed-off-by: Kurt Garloff <kurt@garloff.de>
2007-01-17 14:58:53 +00:00
kfraser@localhost.localdomain 1468aea900 Microcode does not need to have the default size of 2000+48 bytes.
A corresponding patch has gone into Linux 2.6.19; this is the
port to Xen.

Signed-off-by: Kurt Garloff <kurt@garloff.de>

Reference: Patch to linux kernel from Sep 27 2006
> # User Shaohua Li <shaohua.li@intel.com>
> # Node ID 45898b908138b5d93c2cc7353f061ce54af145dc
> # Parent  f962eab7b82c9bf1a6da69571046e764f5128395
> [PATCH] x86 microcode: don't check the size
>
> IA32 manual says if micorcode update's size is 0, then the size is
> default size (2048 bytes). But this doesn't suggest all microcode
> update's size should be above 2048 bytes to me. We actually had a
> microcode update whose size is 1024 bytes. The patch just removed
> the check.
>
> Signed-off-by: Shaohua Li <shaohua.li@intel.com>
> Cc: Tigran Aivazian <tigran@veritas.com>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
>
> committer: Linus Torvalds <torvalds@g5.osdl.org> 1159370778 -0700
2007-01-17 14:57:59 +00:00
kfraser@localhost.localdomain 727e8b4154 [XEND] Fix warning about 'cpus' option on domain creation.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-01-17 14:54:59 +00:00
kfraser@localhost.localdomain edf5361fb2 Add scheduler name to 'xm info' output.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2007-01-17 14:54:06 +00:00
kfraser@localhost.localdomain f8871496b9 linux/i386: enhance dump_fault_path() in the highpte case
As long as the pte page isn't really located in highmem, there is no
reason to not access it, in order to print the complete page table
hierarchy. A functionally similar patch will go to lkml for native
Linux.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-01-17 14:45:00 +00:00
kfraser@localhost.localdomain 7aad705cb5 [XEN] Fix PAE writable-pte fixup to only trigger on writes to upper
half the the PAE PTE.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-01-17 14:37:45 +00:00
kfraser@localhost.localdomain 671248b38b Document vfb configuration.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2007-01-17 14:03:12 +00:00
kfraser@localhost.localdomain 201c511f5a [XEN] Include byteorder functions from Linux.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-17 12:11:02 +00:00
Tim Deegan d74f5aa063 [LIBFSIMAGE] Fix makefile to track version number change
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2007-01-17 10:33:13 +00:00
awilliam@xenbuild2.aw 08577542ec [IA64] Paravirtualize syscall path in file fsys.S
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2007-01-16 12:01:03 -07:00
john.levon@sun.com 96002a7e9b Remove useless fsip_fs_free(). Delegate freeing of private data to its plugin
users. Miscellaneous tidy.

Signed-off-by: John Levon <john.levon@sun.com>
2007-01-16 10:54:20 -08:00
George Dunlap a086d29d0e [XEN] Fix early-unshadow detection for 3- or 4-level guest pagetables.
Early-unshadow will unshadow whenever 2 zero values are written
to the same page; for PAE, one PTE takes 2 writes.  Only check
for the early unshadow when writing the low half of the PTE.
2007-01-16 14:04:12 -05:00
awilliam@xenbuild2.aw 8d0eae20ed [IA64] Add fsys.S to sparse tree
From 2.6.16.33

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2007-01-16 11:51:45 -07:00