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>
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>
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>
Wim Colgate [Wed, 14 Feb 2007 20:18:32 +0000 (12:18 -0800)]
Protect self.domid from being empty
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>
kfraser@localhost.localdomain [Wed, 14 Feb 2007 19:01:35 +0000 (19:01 +0000)]
Merge with xenppc-unstable.hg
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>
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>
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>
Tim Deegan [Wed, 14 Feb 2007 14:47:05 +0000 (14:47 +0000)]
Merge
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
kfraser@localhost.localdomain [Fri, 9 Feb 2007 17:38:33 +0000 (17:38 +0000)]
Print all by default in debug builds.
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>
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>
kfraser@localhost.localdomain [Thu, 8 Feb 2007 21:36:35 +0000 (21:36 +0000)]
Fix non-x86 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>
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>
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>
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>
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>
kfraser@localhost.localdomain [Thu, 8 Feb 2007 17:27:30 +0000 (17:27 +0000)]
Merge with xen-ia64-unstable.hg.
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>
Keir Fraser [Thu, 8 Feb 2007 17:19:49 +0000 (17:19 +0000)]
Move skb_pull_rcsum() to its usual place in skbuff.c
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>
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>
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>
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>
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>
Tim Deegan [Thu, 8 Feb 2007 13:43:19 +0000 (13:43 +0000)]
Merge
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>
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>
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>
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>
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>
Hollis Blanchard [Thu, 8 Feb 2007 00:53:33 +0000 (18:53 -0600)]
[POWERPC][XEN] Fix mismerge.
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>
awilliam@xenbuild2.aw [Wed, 7 Feb 2007 17:46:18 +0000 (10:46 -0700)]
merge with xen-unstable.hg
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Keir Fraser [Wed, 7 Feb 2007 00:51:26 +0000 (00:51 +0000)]
Update .hgignore list
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 19:24:53 +0000 (12:24 -0700)]
merge with xen-unstable.hg
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>