xen.git
18 years agoDynamic grant-table sizing.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 10:54:12 +0000 (10:54 +0000)]
Dynamic grant-table sizing.
Signed-off-by: Christopher CLark <christopher.clark@cl.cam.ac.uk>
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoRemove unuseful and noisy seg-fixup warning message.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 10:34:21 +0000 (10:34 +0000)]
Remove unuseful and noisy seg-fixup warning message.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoRemove old elf-parsing code from tools and from Xen.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 10:25:39 +0000 (10:25 +0000)]
Remove old elf-parsing code from tools and from Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago Protect self.domid from being empty
Wim Colgate [Wed, 14 Feb 2007 20:18:32 +0000 (12:18 -0800)]
Protect self.domid from being empty

18 years agoExport PRI_xen_pfn rather than PRIpfn: less polluting of namespace.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 19:17:41 +0000 (19:17 +0000)]
Export PRI_xen_pfn rather than PRIpfn: less polluting of namespace.
libxc continues to use PRIpfn internally, #defined to PRI_xen_pfn.

Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoMerge with xenppc-unstable.hg
kfraser@localhost.localdomain [Wed, 14 Feb 2007 19:01:35 +0000 (19:01 +0000)]
Merge with xenppc-unstable.hg

18 years agolibelf: use xen code style.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 16:06:10 +0000 (16:06 +0000)]
libelf: use xen code style.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agolinux: quieten some driver printk logging.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 16:05:28 +0000 (16:05 +0000)]
linux: quieten some driver printk logging.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoAnother domctl fix to insert missing copy_to_guest.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 15:54:47 +0000 (15:54 +0000)]
Another domctl fix to insert missing copy_to_guest.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
18 years agoMerge
Tim Deegan [Wed, 14 Feb 2007 14:47:05 +0000 (14:47 +0000)]
Merge

18 years ago[XEN] Snapshot PAE l3es when they are shadowed.
Tim Deegan [Wed, 14 Feb 2007 14:46:18 +0000 (14:46 +0000)]
[XEN] Snapshot PAE l3es when they are shadowed.
We don't update the shadows so we mustn't look at the guest l3es
or we'll be confused by them if they change.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[XEN] Re-sync PAE l3 shadows when PV guests change them
Tim Deegan [Wed, 14 Feb 2007 14:44:07 +0000 (14:44 +0000)]
[XEN] Re-sync PAE l3 shadows when PV guests change them
-in particular, for PAE Solaris guests
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years agoMake libelf not fail on unknown elf notes.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:37:13 +0000 (12:37 +0000)]
Make libelf not fail on unknown elf notes.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
18 years agoAdd missing breaks to {set,get}_address_size domctls.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:35:36 +0000 (12:35 +0000)]
Add missing breaks to {set,get}_address_size domctls.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
18 years agoFix DEC instruction decode. Turn into SUB, not OR. :-)
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:14:49 +0000 (12:14 +0000)]
Fix DEC instruction decode. Turn into SUB, not OR. :-)
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoSupport INC/DEC in mmio decoder. Opcodes 0xFE and 0xFF.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:10:01 +0000 (12:10 +0000)]
Support INC/DEC in mmio decoder. Opcodes 0xFE and 0xFF.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[XEN] New paging-assistance interface.
Tim Deegan [Wed, 14 Feb 2007 12:02:20 +0000 (12:02 +0000)]
[XEN] New paging-assistance interface.
Adds paging_* functions, wrapping the existing shadow_* ones,
so that later hardware paging assistance can be hooked in at this level.
Separates p2m maintenance code into its own files.
Adjusts shadow code to comply with the new interfaces.
Changes all callers in arch/x86 to use the new interfaces.

Signed-off-by: Wei Huang <Wei.Huang2@amd.com>
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[LINUX] Call ctrl_alt_del() to trigger a reboot so we benefit from the
Ian Campbell [Tue, 13 Feb 2007 15:32:25 +0000 (15:32 +0000)]
[LINUX] Call ctrl_alt_del() to trigger a reboot so we benefit from the
generic infrastructure for cad_pid etc.

Add a ctrl_alt_del() implemenation to the PV on HVM compatibility
layer since ctrl_alt_del() is not exported on native kernels.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
18 years ago[POWERPC][XEN] Use libelf for dom0 construction.
Hollis Blanchard [Fri, 9 Feb 2007 20:43:22 +0000 (14:43 -0600)]
[POWERPC][XEN] Use libelf for dom0 construction.
- Remove old 32-bit ELF loader hack.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[LIBELF] Define PRIpfn next to xen_pfn_t.
Hollis Blanchard [Fri, 9 Feb 2007 20:43:22 +0000 (14:43 -0600)]
[LIBELF] Define PRIpfn next to xen_pfn_t.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[POWERPC][XEN] Opt out of new libxc domain builder.
Hollis Blanchard [Fri, 9 Feb 2007 20:43:21 +0000 (14:43 -0600)]
[POWERPC][XEN] Opt out of new libxc domain builder.
PowerPC needs more flexibility than the new framework allows.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[LIBELF] Print phdr addresses when loading.
Hollis Blanchard [Fri, 9 Feb 2007 20:43:21 +0000 (14:43 -0600)]
[LIBELF] Print phdr addresses when loading.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[POWERPC][XEN] Fix RCU crash.
Hollis Blanchard [Fri, 9 Feb 2007 20:43:21 +0000 (14:43 -0600)]
[POWERPC][XEN] Fix RCU crash.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[POWERPC][XEN] strlcpy() fallout.
Hollis Blanchard [Fri, 9 Feb 2007 20:43:21 +0000 (14:43 -0600)]
[POWERPC][XEN] strlcpy() fallout.
- Implement strlcpy() for the dom0 firmware.
- Remove strncpy() from dom0 firmware.
- Correct buffer length in device tree copying.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[HVM] Fill in mmio decode gaps for Grp1 immediate opcodes.
kfraser@localhost.localdomain [Fri, 9 Feb 2007 18:19:24 +0000 (18:19 +0000)]
[HVM] Fill in mmio decode gaps for Grp1 immediate opcodes.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoPrint all by default in debug builds.
kfraser@localhost.localdomain [Fri, 9 Feb 2007 17:38:33 +0000 (17:38 +0000)]
Print all by default in debug builds.

18 years ago[HVM] Save/restore: disentangle max_pfn from nr_pages.
Tim Deegan [Fri, 9 Feb 2007 10:48:41 +0000 (10:48 +0000)]
[HVM] Save/restore: disentangle max_pfn from nr_pages.
These have been used interchangeably, which is OK for PV domains but
not for HVM.  This fixes an over-allocation by 256MB when restoring
HVM guests that have more than 4GB of RAM.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years agoAdd missing Makefile in x86_64/compat so that it builds on x86_64.
Alastair Tse [Fri, 9 Feb 2007 10:21:12 +0000 (10:21 +0000)]
Add missing Makefile in x86_64/compat so that it builds on x86_64.

Signed-off-by: Alastair Tse <atse@xensource.com>
18 years agoFix non-x86 build.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 21:36:35 +0000 (21:36 +0000)]
Fix non-x86 build.

18 years agoFix x86/64 build.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 21:30:29 +0000 (21:30 +0000)]
Fix x86/64 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agox86: hide assembly labels
Keir Fraser [Thu, 8 Feb 2007 18:18:56 +0000 (18:18 +0000)]
x86: hide assembly labels

Prevent the fault recovery labels to clutter the symbol table and the
disassembly.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
18 years ago[HVM][SVM] Do not advertise FFXSR feature.
Keir Fraser [Thu, 8 Feb 2007 18:01:42 +0000 (18:01 +0000)]
[HVM][SVM] Do not advertise FFXSR feature.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoUse printk log-level limiting even during Xen boot.
Keir Fraser [Thu, 8 Feb 2007 17:46:14 +0000 (17:46 +0000)]
Use printk log-level limiting even during Xen boot.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years agoSmall cleanups to PV-on-HVM support code.
Keir Fraser [Thu, 8 Feb 2007 17:38:30 +0000 (17:38 +0000)]
Small cleanups to PV-on-HVM support code.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoMerge with xen-ia64-unstable.hg.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 17:27:30 +0000 (17:27 +0000)]
Merge with xen-ia64-unstable.hg.

18 years agoRemove unnecessarily modified a.out.h.
Keir Fraser [Thu, 8 Feb 2007 17:21:04 +0000 (17:21 +0000)]
Remove unnecessarily modified a.out.h.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
18 years agoMove skb_pull_rcsum() to its usual place in skbuff.c
Keir Fraser [Thu, 8 Feb 2007 17:19:49 +0000 (17:19 +0000)]
Move skb_pull_rcsum() to its usual place in skbuff.c

18 years agoFix a typo in console_steal().
Keir Fraser [Thu, 8 Feb 2007 17:15:38 +0000 (17:15 +0000)]
Fix a typo in console_steal().
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
18 years agoFix xen-detect build.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 17:07:36 +0000 (17:07 +0000)]
Fix xen-detect build.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoAdd example xen-detect.c code for detecting application execution in
Keir Fraser [Thu, 8 Feb 2007 17:04:26 +0000 (17:04 +0000)]
Add example xen-detect.c code for detecting application execution in
Xen PV or HVM contexts, using the Xen CPUID extensions.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoFix localtime setting for PV domains.
Ewan Mellor [Thu, 8 Feb 2007 16:52:05 +0000 (16:52 +0000)]
Fix localtime setting for PV domains.

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
18 years ago[HVM] Save/restore: don't try to set the console ring MFN
Tim Deegan [Thu, 8 Feb 2007 15:00:33 +0000 (15:00 +0000)]
[HVM] Save/restore: don't try to set the console ring MFN
in a HVM restore.  In particular, don't print an uninitialized stack
variable, which causes XMLRPC exceptions in xend.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years agoMerge
Tim Deegan [Thu, 8 Feb 2007 13:43:19 +0000 (13:43 +0000)]
Merge

18 years ago[HVM] Save/restore: save pmtimer count register
Tim Deegan [Thu, 8 Feb 2007 13:42:49 +0000 (13:42 +0000)]
[HVM] Save/restore: save pmtimer count register
Also remove the repeating timer from pmtimer.c because it doesn't do anything.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[XEN] Fix typos in comment describing 32on64 memory layout
Ian Campbell [Thu, 8 Feb 2007 12:33:32 +0000 (12:33 +0000)]
[XEN] Fix typos in comment describing 32on64 memory layout

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
18 years ago[XEN] kexec: add compatability shim for kexec in 32on64 mode.
Ian Campbell [Thu, 8 Feb 2007 11:03:32 +0000 (11:03 +0000)]
[XEN] kexec: add compatability shim for kexec in 32on64 mode.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
18 years ago[XEN] kexec: Remove asm/kexec.h. Move the single inline function into
Ian Campbell [Thu, 8 Feb 2007 11:03:29 +0000 (11:03 +0000)]
[XEN] kexec: Remove asm/kexec.h. Move the single inline function into
arch specific machine_kexec.c with the other arch specific kexec
functions.

IA64 already had a stub in both kexec.h and machine_kexec.c.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
18 years ago[XEN] When removing pages, drop shadow refs before complaining about refcount.
Tim Deegan [Thu, 8 Feb 2007 10:44:53 +0000 (10:44 +0000)]
[XEN] When removing pages, drop shadow refs before complaining about refcount.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[POWERPC][XEN] Fix mismerge.
Hollis Blanchard [Thu, 8 Feb 2007 00:53:33 +0000 (18:53 -0600)]
[POWERPC][XEN] Fix mismerge.

18 years ago[blktap] Allow HVM booting from blktap device(s)
wim@xen-wim.site [Thu, 8 Feb 2007 00:53:01 +0000 (16:53 -0800)]
[blktap] Allow HVM booting from blktap device(s)

Signed-off-by: wim colgate <wim@xensource.com>
18 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Wed, 7 Feb 2007 17:46:18 +0000 (10:46 -0700)]
merge with xen-unstable.hg

18 years ago[HVM] Save/restore: don't try to save the MMIO memory-hole at 4GB.
Tim Deegan [Wed, 7 Feb 2007 17:29:52 +0000 (17:29 +0000)]
[HVM] Save/restore: don't try to save the MMIO memory-hole at 4GB.
Also remove two integer arrays that were set to a[i] == i.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[XEND] Open save/restore files with O_LARGEFILE if possible
Tim Deegan [Wed, 7 Feb 2007 17:29:21 +0000 (17:29 +0000)]
[XEND] Open save/restore files with O_LARGEFILE if possible
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[IA64] Clean up error messages from lookup_domain_mpa()
awilliam@xenbuild2.aw [Wed, 7 Feb 2007 17:14:41 +0000 (10:14 -0700)]
[IA64] Clean up error messages from lookup_domain_mpa()

Guest I/O port accesses aren't very interesting, so reduce their log level

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years agoImprove hotplug script error reporting via xenstore.
kfraser@localhost.localdomain [Wed, 7 Feb 2007 16:22:55 +0000 (16:22 +0000)]
Improve hotplug script error reporting via xenstore.

Use this to detect and report up-front in vif-bridge script whether
the bridge device exists or not.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
18 years agoDom0 VNC server should not drop any of teh 8 supported mouse button
kfraser@localhost.localdomain [Wed, 7 Feb 2007 16:20:28 +0000 (16:20 +0000)]
Dom0 VNC server should not drop any of teh 8 supported mouse button
event types.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
18 years agopvfb: Split mouse and keyboard into separate devices.
kfraser@localhost.localdomain [Wed, 7 Feb 2007 16:12:40 +0000 (16:12 +0000)]
pvfb: Split mouse and keyboard into separate devices.

This patch creates two separate input devices for keyboard and mouse
events.  The reason for this is to separate them in the linux input
layer and allow them being routed different ways.

Use case:  Configure the X-Server like this to get the mouse
events directly from the linux input layer, which has the major
advantage that absolute coordinates work correctly:

Section "InputDevice"
  Driver       "evdev"
  Identifier   "Mouse"
  Option       "Device" "/dev/input/event<nr>"
EndSection

This makes the keyboard stop working though in case mouse and
keyboard events are coming through the same input device, at least
with older Xorg (6.9) versions.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
Assign fake pci product identifiers down from 0xffff. This may help
clarify that the devices are not actually PCI. Also it reduces
probability of accidental conflict if further real PCI assignments
occur in future (0x0002, 0x0003, ... would be obvious next identifiers
to allocate).

Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agohvm: Add PCI subsystem ID to emulated devices.
kfraser@localhost.localdomain [Wed, 7 Feb 2007 16:08:47 +0000 (16:08 +0000)]
hvm: Add PCI subsystem ID to emulated devices.

This patch adds the PCI Subsystem ID 5853:0001 to the virtual
devices emulated by qemu (ide, nic, vga).

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
18 years ago[XEN] Remove bogus assertion in shadow emulation path
Tim Deegan [Wed, 7 Feb 2007 12:58:07 +0000 (12:58 +0000)]
[XEN] Remove bogus assertion in shadow emulation path
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[HVM] Save/restore: dynamically calculate the size of the save buffer
Tim Deegan [Wed, 7 Feb 2007 12:41:46 +0000 (12:41 +0000)]
[HVM] Save/restore: dynamically calculate the size of the save buffer
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years ago[HVM] Save/restore: move save/restore routines out of intercept.c
Tim Deegan [Wed, 7 Feb 2007 10:21:15 +0000 (10:21 +0000)]
[HVM] Save/restore: move save/restore routines out of intercept.c
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years agoRevert 13805: losetup -r is not portable
Tim Deegan [Wed, 7 Feb 2007 12:25:18 +0000 (12:25 +0000)]
Revert 13805: losetup -r is not portable
which breaks CD support on Debian Sarge, FC4, probably others.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
18 years agolinux: Fix softlockup interaction with noidlehz.
kfraser@localhost.localdomain [Wed, 7 Feb 2007 02:16:56 +0000 (02:16 +0000)]
linux: Fix softlockup interaction with noidlehz.

next_timer_interrupt() must check for when timer ISR is due to wake up
the softlockup thread.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoUpdate .hgignore list
Keir Fraser [Wed, 7 Feb 2007 00:51:26 +0000 (00:51 +0000)]
Update .hgignore list

18 years agolinux: Zap /proc/interrupts count when a dynamic IRQ is unbound.
Keir Fraser [Wed, 7 Feb 2007 00:39:48 +0000 (00:39 +0000)]
linux: Zap /proc/interrupts count when a dynamic IRQ is unbound.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agolinux/i386: Improve critical region handling code
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:36:53 +0000 (23:36 +0000)]
linux/i386: Improve critical region handling code

- use symbolics instead of raw numbers (going to help the 2.6.20 port,
as those numbers change there)
- fold instructions where possible
- move fixup table into .rodata

Signed-off-by: Jan Beulich <jbeulich@novell.com>
18 years agohvm: vcpu reset support for x86 INIT IPI, needed for CPU hotplug.
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:14:21 +0000 (23:14 +0000)]
hvm: vcpu reset support for x86 INIT IPI, needed for CPU hotplug.
Signed-off-by: Xin Li <xin.b.li@intel.com>
18 years agominios: Fix netfront for ia64.
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:12:59 +0000 (23:12 +0000)]
minios: Fix netfront for ia64.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years agoFix up xentrace record extraction in xentrace_format for 64-bit
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:10:05 +0000 (23:10 +0000)]
Fix up xentrace record extraction in xentrace_format for 64-bit
architectures.
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>
18 years ago[TPM] Set tcpa calls in the rombios and other fixes.
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:01:35 +0000 (23:01 +0000)]
[TPM] Set tcpa calls in the rombios and other fixes.

This patch places some tcpa calls into the rombios that had previously
not applied anymore or were not set.
Force the reads from MMIO memory locations that the compiler otherwise
optimizes away (-O2) if there was an immediate write to the same
memory location before.
Use #define'd constants wherever possible.
Fix all remaining compiler warnings.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
18 years ago[TPM] TIS dm suspend code fix
kfraser@localhost.localdomain [Tue, 6 Feb 2007 22:59:35 +0000 (22:59 +0000)]
[TPM] TIS dm suspend code fix

This fixes a bug in the TPM TIS device model's state suspend code and
adds some casts to variables to avoid compiler warnings.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
18 years ago[IA64] Don't assume legacy com2
awilliam@xenbuild2.aw [Tue, 6 Feb 2007 22:20:26 +0000 (15:20 -0700)]
[IA64] Don't assume legacy com2

If com1 isn't at a legacy I/O port address, don't assume legacy com2 exists.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] Don't complain about PAL_LOGICAL_TO_PHYSICAL
awilliam@xenbuild2.aw [Tue, 6 Feb 2007 22:08:09 +0000 (15:08 -0700)]
[IA64] Don't complain about PAL_LOGICAL_TO_PHYSICAL

It's optional

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] Fix wrong arg to vhpt_enabled() in vmx_hpw_miss()
awilliam@xenbuild2.aw [Tue, 6 Feb 2007 16:28:07 +0000 (09:28 -0700)]
[IA64] Fix wrong arg to vhpt_enabled() in vmx_hpw_miss()

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
18 years ago[IA64] Follow to allow PV-on-HVM callback irq to be identified by PCI device.
awilliam@xenbuild2.aw [Tue, 6 Feb 2007 16:26:25 +0000 (09:26 -0700)]
[IA64] Follow to allow PV-on-HVM callback irq to be identified by PCI device.

Also delete IA64 specific spec concerned with IA64_CALLBACK_IRQ_RID.

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
18 years agoFix xm sched-credit when given an invalid domain name.
Ewan Mellor [Tue, 6 Feb 2007 16:05:29 +0000 (16:05 +0000)]
Fix xm sched-credit when given an invalid domain name.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
18 years agoFix XendLogging to work on Python 2.4.0 and 2.4.1 (the logging library interface
Ewan Mellor [Tue, 6 Feb 2007 15:37:11 +0000 (15:37 +0000)]
Fix XendLogging to work on Python 2.4.0 and 2.4.1 (the logging library interface
changed with 2.4.2, not 2.4.0).

Signed-off-by: Qing He <qing.he@intel.com>
18 years agoPass the -r flag to losetup for read-only devices.
Ewan Mellor [Tue, 6 Feb 2007 15:35:18 +0000 (15:35 +0000)]
Pass the -r flag to losetup for read-only devices.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
18 years ago[IA64] Fix for compiling PV-on-HVM driver on IPF
awilliam@xenbuild2.aw [Mon, 5 Feb 2007 22:41:58 +0000 (15:41 -0700)]
[IA64] Fix for compiling PV-on-HVM driver on IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
18 years ago[IA64] Turn on dcr.dm inside XEN
awilliam@xenbuild2.aw [Mon, 5 Feb 2007 22:23:39 +0000 (15:23 -0700)]
[IA64] Turn on dcr.dm inside XEN

For xeno, dcr.dm is alway set to 1,
For VTI-domain,
    if guest cpl > 0, dcr.dm is set to 1,
    if guest cpl == 0, dcr.dm is set to 0,
This is because Window ld.s on tr mapped page.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
18 years ago[IA64] Fix tlbflush_clock
awilliam@xenbuild2.aw [Mon, 5 Feb 2007 21:24:27 +0000 (14:24 -0700)]
[IA64] Fix tlbflush_clock

arch_vcpu.tlbflush_timestamp is unused and
new_tlbflush_clock_period() flushes vhpt unnecessarily.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
18 years ago[IA64] Additional HVM hypercall fix
awilliam@xenbuild2.aw [Mon, 5 Feb 2007 20:55:47 +0000 (13:55 -0700)]
[IA64] Additional HVM hypercall fix

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
18 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 19:24:53 +0000 (12:24 -0700)]
merge with xen-unstable.hg

18 years ago[IA64] Remove verbosity from xen_pm_power_off
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 19:18:48 +0000 (12:18 -0700)]
[IA64] Remove verbosity from xen_pm_power_off

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] Xen build warning fixes
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 19:06:59 +0000 (12:06 -0700)]
[IA64] Xen build warning fixes

Missing include and remove an sprintf

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64] Fix usage of 14 bit immediate value of IA64_RBS_OFFSET
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 18:41:25 +0000 (11:41 -0700)]
[IA64] Fix usage of 14 bit immediate value of IA64_RBS_OFFSET

Limit is exceeded w/ 16k page size

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
18 years ago[IA64] Fix xencons_early_setup build warning
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 18:37:48 +0000 (11:37 -0700)]
[IA64] Fix xencons_early_setup build warning

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
18 years ago[IA64] Fix PAL_HALT for paravirtualized domains
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 18:36:12 +0000 (11:36 -0700)]
[IA64] Fix PAL_HALT for paravirtualized domains

machine_halt() stops the vcpus, but no longer destroys the domain.
This should be more in-line with the behavior on native hardware.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
18 years ago[IA64] Bug fix new_tlbflush_clock_period()
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 18:28:54 +0000 (11:28 -0700)]
[IA64] Bug fix new_tlbflush_clock_period()

__vhpt_flush() might be called from new_tlbflush_clock_period()
even if the vcpu doesn't have the per-vcpu-vhpt.
It erases 64KB memory content that starts from machine address 0.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
18 years agoHide RDTSCP feature flag from PV guests.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 16:07:13 +0000 (16:07 +0000)]
Hide RDTSCP feature flag from PV guests.

Linux 2.6.19 (x86-64) makes use of this feature if available, but Xen
(validly) fails the attempt to write the respective MSR. Hence the
feature must be hidden from PV guests.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
18 years agolinux: Allow xenbus_strstate() to be used from modules.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 16:04:11 +0000 (16:04 +0000)]
linux: Allow xenbus_strstate() to be used from modules.

The function is referenced by a number of DPRINTK()-s. Also, properly
const-ify it.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
18 years agominios: Fix bug in xenbus implementation.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:55:56 +0000 (15:55 +0000)]
minios: Fix bug in xenbus implementation.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agoFix cross-compile: ia64 build on x86.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:54:42 +0000 (15:54 +0000)]
Fix cross-compile: ia64 build on x86.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
18 years agolinux: compilation fix of linux/drivers/oprofile/oprof.c
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:52:30 +0000 (15:52 +0000)]
linux: compilation fix of linux/drivers/oprofile/oprof.c
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
18 years agoNew domain builder arch_setup hook clean up.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:50:27 +0000 (15:50 +0000)]
New domain builder arch_setup hook clean up.
 arch_setup_early  -> arch_setup_meminit
 arch_setup_middle -> arch_setup_bootearly
 arch_setup_late   -> arch_setup_bootlate

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
18 years agolibxc: Domain builder must align initial virtual mapping to 4MB
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:41:45 +0000 (15:41 +0000)]
libxc: Domain builder must align initial virtual mapping to 4MB
boundaries.
From: Gerd Hoffmann <kraxel@suse.de>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agominios: Fix ret_from_exception routine. Stack consistency is now preserved.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:30:49 +0000 (15:30 +0000)]
minios: Fix ret_from_exception routine. Stack consistency is now preserved.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years agoAdded default for the vcpus_params key.
Ewan Mellor [Fri, 2 Feb 2007 14:32:48 +0000 (14:32 +0000)]
Added default for the vcpus_params key.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoAdded host.dmesg method.
Ewan Mellor [Fri, 2 Feb 2007 10:25:17 +0000 (10:25 +0000)]
Added host.dmesg method.

Also, fixed all of the host methods, which had been broken by the introduction
of the host_metrics class.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
18 years agoRemove VM_power_state value ShuttingDown. This should be indicated with
Ewan Mellor [Fri, 2 Feb 2007 10:07:58 +0000 (10:07 +0000)]
Remove VM_power_state value ShuttingDown.  This should be indicated with
an in-progress task, when known.

Signed-off-by: Ewan Mellor <ewan@xensource.com>