]> xenbits.xensource.com Git - xen.git/log
xen.git
14 years agotimers: Improve debug-key printing.
Keir Fraser [Mon, 30 Aug 2010 07:52:33 +0000 (08:52 +0100)]
timers: Improve debug-key printing.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   d20cbccb6fea
xen-unstable date:        Wed Aug 18 14:22:48 2010 +0100

timers: Fix printk format specifier

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   60746a2c14a6
xen-unstable date:        Thu Aug 19 16:24:13 2010 +0100

14 years agox2APIC: Improve x2APIC suspend/resume
Keir Fraser [Mon, 30 Aug 2010 07:50:52 +0000 (08:50 +0100)]
x2APIC: Improve x2APIC suspend/resume

x2apic depends on interrupt remapping, so it should disable interrupt
remapping behind x2apic disabling. And also this patch wraps
__enable_x2apic to get rid of duplicated code.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen-unstable changeset:   3cee41690fa2
xen-unstable date:        Fri Aug 13 14:58:06 2010 +0100

14 years agoUpdate Xen version to 4.0.2-rc1-pre
Keir Fraser [Mon, 30 Aug 2010 07:47:20 +0000 (08:47 +0100)]
Update Xen version to 4.0.2-rc1-pre

14 years agoAdded signature for changeset b536ebfba183
Keir Fraser [Wed, 25 Aug 2010 08:23:31 +0000 (09:23 +0100)]
Added signature for changeset b536ebfba183

14 years agoAdded tag RELEASE-4.0.1 for changeset b536ebfba183
Keir Fraser [Wed, 25 Aug 2010 08:22:52 +0000 (09:22 +0100)]
Added tag RELEASE-4.0.1 for changeset b536ebfba183

14 years agoUpdate Xen version to 4.0.1 RELEASE-4.0.1
Keir Fraser [Wed, 25 Aug 2010 08:22:42 +0000 (09:22 +0100)]
Update Xen version to 4.0.1

14 years agoio: make shared ring pad field less enticing for users by adding a __ prefix
Keir Fraser [Tue, 17 Aug 2010 18:27:20 +0000 (19:27 +0100)]
io: make shared ring pad field less enticing for users by adding a __ prefix

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Daniel Stodden <daniel.stodden@citrix.com>
Cc: Dongxiao Xu <dongxiao.xu@intel.com>
xen-unstable changeset:   a8c5e5e12ec1
xen-unstable date:        Fri Jul 02 18:58:28 2010 +0100

14 years agoblktap2: make protocol specific usage of shared sring explicit
Keir Fraser [Sun, 15 Aug 2010 20:48:06 +0000 (21:48 +0100)]
blktap2: make protocol specific usage of shared sring explicit

I don't think protocol specific data really belongs in this header
but since it is already there and we seem to be stuck with it let's at
least make the users explicit lest people get caught out by future new
fields moving the pad field around.

This is the Xen portion of this change. The kernel portion will be
sent separately. There is no dependency between the two.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Daniel Stodden <daniel.stodden@citrix.com>
Cc: Dongxiao Xu <dongxiao.xu@intel.com>
xen-unstable changeset:   feee0abed6aa
xen-unstable date:        Fri Jul 02 18:58:02 2010 +0100

14 years agoFix IOAPIC S3 with interrupt remapping enabled
Keir Fraser [Fri, 13 Aug 2010 14:06:24 +0000 (15:06 +0100)]
Fix IOAPIC S3 with interrupt remapping enabled

In ioapic_suspend, it reads and saves ioapic RTEs. But when interrupt
remapping is enabled, io_apic_read will call io_apic_read_remap_rte to
convert remapped format interrupt to compatible format, this results
in 'dest' field may be changed in remap_entry_to_ioapic_rte. When in
ioapic_resume, it will write the saved RTEs with incorrect 'dest' to
interrupt remapping table.

Actually it needn't to convert RTEs regardless interrupt remapping is
enabled or not. It just needs to save and restore RTE values
directly. This patch just uses __io_apic_read and __io_apic_write,
which won't call Interrupt remapping functions to convert, to save and
restore RTEs in ioapic_suspend and ioapic_resume. Thus fix this issue.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen-unstable changeset:   01d185dab39e
xen-unstable date:        Fri Aug 13 14:57:35 2010 +0100

14 years agoAdded signature for changeset c467b2e6fabd
Keir Fraser [Fri, 13 Aug 2010 08:25:46 +0000 (09:25 +0100)]
Added signature for changeset c467b2e6fabd

14 years agoAdded tag 4.0.1-rc6 for changeset c467b2e6fabd
Keir Fraser [Fri, 13 Aug 2010 08:18:08 +0000 (09:18 +0100)]
Added tag 4.0.1-rc6 for changeset c467b2e6fabd

14 years agoUpdate Xen version to 4.0.1-rc6 4.0.1-rc6
Keir Fraser [Fri, 13 Aug 2010 08:18:02 +0000 (09:18 +0100)]
Update Xen version to 4.0.1-rc6

14 years ago[Xen-devel] [PATCH] PoD: Fix domain build populate-on-demand cache
Keir Fraser [Fri, 13 Aug 2010 08:05:07 +0000 (09:05 +0100)]
[Xen-devel] [PATCH] PoD: Fix domain build populate-on-demand cache
allocation Rather than trying to count the number of PoD entries we're
putting in, we simply pass the target # of pages - the vga hole, and
let the hypervisor do the calculation.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-unstable changeset:   6f059a340cdf
xen-unstable date:        Wed Aug 11 15:56:21 2010 +0100

14 years agolinux buildconfig: Fix quoting error
Keir Fraser [Fri, 13 Aug 2010 08:01:19 +0000 (09:01 +0100)]
linux buildconfig: Fix quoting error

Prevent shell syntax error if $(XEN_LINUX_CONFIG) is empty.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
xen-unstable changeset:   1f8a2d024379
xen-unstable date:        Fri Aug 13 08:46:45 2010 +0100

14 years agoxl: Fix xl vcpu-list output on machines with more than 16 cores
Keir Fraser [Fri, 13 Aug 2010 08:00:48 +0000 (09:00 +0100)]
xl: Fix xl vcpu-list output on machines with more than 16 cores
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-unstable changeset:   cb71d0d30f0c
xen-unstable date:        Tue Aug 10 15:35:13 2010 +0100

14 years agoClean up event-channel debug-key output, and use spin_lock().
Keir Fraser [Fri, 13 Aug 2010 08:00:18 +0000 (09:00 +0100)]
Clean up event-channel debug-key output, and use spin_lock().

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   7d02b1046d14
xen-unstable date:        Fri Aug 13 08:39:11 2010 +0100

14 years agox86: Allow dom0 pstate control to access APERF/MPERF/HWCR MSRs
Keir Fraser [Fri, 13 Aug 2010 07:59:52 +0000 (08:59 +0100)]
x86: Allow dom0 pstate control to access APERF/MPERF/HWCR MSRs

The current version of the powernow driver uses the APERF/MPEF
and the HWCR MSRs.  Add cases in traps.c to let dom0 access
those MSRs.

Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
xen-unstable changeset:   6471b8b71401
xen-unstable date:        Fri Aug 13 08:38:35 2010 +0100

14 years agosvm: increment RIP over PAUSE instruction when emulating it
Keir Fraser [Fri, 13 Aug 2010 07:53:26 +0000 (08:53 +0100)]
svm: increment RIP over PAUSE instruction when emulating it

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   31d200e5b922
xen-unstable date:        Fri Aug 13 08:31:49 2010 +0100

14 years agomsi: Avoid uninitialized msi descriptors
Keir Fraser [Fri, 13 Aug 2010 07:52:56 +0000 (08:52 +0100)]
msi: Avoid uninitialized msi descriptors

When __pci_enable_msix() returns early, output parameter (struct
msi_desc **desc) will not be initialized.  On my machine, a Broadcom
BCM5709 nic has both MSI and MSIX capability blocks and when guest
tries to enable msix interrupts but __pci_enable_msix() returns early
for encountering a msi block, the whole system will crash for fatal
page fault immediately.

Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen-unstable changeset:   786b163da49b
xen-unstable date:        Wed Aug 11 17:01:02 2010 +0100

14 years agoxc: fix segfault in pv domain create if kernel is an invalid image
Keir Fraser [Fri, 13 Aug 2010 07:52:08 +0000 (08:52 +0100)]
xc: fix segfault in pv domain create if kernel is an invalid image

If libelf calls elf_err() or elf_msg() before elf_set_log() has been
called then it could potentially read an uninitialised log handling
callback function pointer from struct elf_binary. Fix this in libxc by
zeroing the structure before calling elf_init().

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-unstable changeset:   1d67dd785ef4
xen-unstable date:        Mon Aug 09 17:43:18 2010 +0100

14 years agoUpdate default pv_ops kernel to 2.6.32.x
Keir Fraser [Fri, 13 Aug 2010 07:48:28 +0000 (08:48 +0100)]
Update default pv_ops kernel to 2.6.32.x

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
14 years agoUpdate git pull machinery
Keir Fraser [Fri, 13 Aug 2010 07:48:08 +0000 (08:48 +0100)]
Update git pull machinery

This is needed to pull a non-default branch, and to allow the test
infrastructure's bisection machinery to work.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
14 years agox86: Detect and handle unexpected platform-timer counter wrap.
Keir Fraser [Wed, 11 Aug 2010 15:44:03 +0000 (16:44 +0100)]
x86: Detect and handle unexpected platform-timer counter wrap.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21346:7d4deb86b966
xen-unstable date:        Tue May 11 11:21:27 2010 +0100

14 years agoDefine ABS() library function. Use it.
Keir Fraser [Wed, 11 Aug 2010 15:43:44 +0000 (16:43 +0100)]
Define ABS() library function. Use it.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21345:2077d6ad6078
xen-unstable date:        Tue May 11 11:19:23 2010 +0100

14 years agox86: Correctly cook command lines for GRUB2.
Keir Fraser [Tue, 10 Aug 2010 14:49:20 +0000 (15:49 +0100)]
x86: Correctly cook command lines for GRUB2.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21883:4207549948a4
xen-unstable date:        Wed Jul 28 08:32:01 2010 +0100

14 years agovt-d: Fix ioapic_rte_to_remap_entry error path.
Keir Fraser [Mon, 9 Aug 2010 15:51:30 +0000 (16:51 +0100)]
vt-d: Fix ioapic_rte_to_remap_entry error path.

When ioapic_rte_to_remap_entry fails, currently it just writes value
to ioapic. But the 'mask' bit may be changed if it writes to the upper
half of RTE. This patch ensures to recover the original value of
'mask' bit in this case.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen-unstable changeset:   21934:befd1814c0a2
xen-unstable date:        Mon Aug 09 16:33:45 2010 +0100

14 years agovt-d: Fix ioapic write order in io_apic_write_remap_rte
Keir Fraser [Mon, 9 Aug 2010 15:51:03 +0000 (16:51 +0100)]
vt-d: Fix ioapic write order in io_apic_write_remap_rte

At the end of io_apic_write_remap_rte, it writes new entry (remapped
interrupt) to ioapic. But it writes low 32 bits before high 32 bits,
it unmasks interrupt before writing high 32 bits if 'mask' bit in low
32 bits is cleared. Thus it may result in issues. This patch fixes
this issue by writing high 32 bits before low 32 bits.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
Signed-off-by: Weidong Han <weidong.han@intel.com>
xen-unstable changeset:   21933:add40eb47868
xen-unstable date:        Mon Aug 09 16:32:45 2010 +0100

14 years agox86: Fix NMI injection to PV guests
Keir Fraser [Mon, 9 Aug 2010 15:50:37 +0000 (16:50 +0100)]
x86: Fix NMI injection to PV guests

Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
xen-unstable changeset:   21926:6f07d9ac1e7c
xen-unstable date:        Thu Aug 05 14:41:14 2010 +0100

14 years agogdbsx: Install into correct directory $(SBINDIR)
Keir Fraser [Mon, 2 Aug 2010 16:19:06 +0000 (17:19 +0100)]
gdbsx: Install into correct directory $(SBINDIR)

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   21903:668f71224241
xen-unstable date:        Mon Aug 02 16:58:50 2010 +0100

14 years agokexec: Clean up shutdown logic. Reinstate ACPI DMAR during kexec.
Keir Fraser [Mon, 2 Aug 2010 16:18:37 +0000 (17:18 +0100)]
kexec: Clean up shutdown logic. Reinstate ACPI DMAR during kexec.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21886:578ed14c3c67
xen-unstable date:        Thu Jul 29 10:31:21 2010 +0100

14 years agoxenpaging: Add a check to Xen for EPT.
Keir Fraser [Mon, 2 Aug 2010 16:17:55 +0000 (17:17 +0100)]
xenpaging: Add a check to Xen for EPT.

There isn't seem to be a way to directly check for EPT, so instead
check for HAP and an Intel processor. If EPT isn't enabled, then
return an error to the tool.

Signed-off-by: Patrick Colp <pjcolp@cs.ubc.ca>
xen-unstable changeset:   21882:af52102e4dcf
xen-unstable date:        Wed Jul 28 07:54:40 2010 +0100

14 years agoWalking the page lists needs the page_alloc lock
Keir Fraser [Mon, 2 Aug 2010 16:11:33 +0000 (17:11 +0100)]
Walking the page lists needs the page_alloc lock

There are a few places in Xen where we walk a domain's page lists
without holding the page_alloc lock.  They race with updates to the
page lists, which are normally rare but can be quite common under PoD
when the domain is close to its memory limit and the PoD reclaimer is
busy.  This patch protects those places by taking the page_alloc lock.

I think this is OK for the two debug-key printouts - they don't run
from irq context and look deadlock-free.  The tboot change seems safe
too unless tboot shutdown functions are called from irq context or
with the page_alloc lock held.  The p2m one is the scariest but there
are already code paths in PoD that take the page_alloc lock with the
p2m lock held so it's no worse than existing code.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   21881:57de3a3118bb
xen-unstable date:        Wed Jul 28 07:54:12 2010 +0100

14 years agoUpdate Xen version to 4.0.1-rc6-pre
Keir Fraser [Mon, 2 Aug 2010 16:10:32 +0000 (17:10 +0100)]
Update Xen version to 4.0.1-rc6-pre

14 years agoAdded signature for changeset f200573325ba
Keir Fraser [Mon, 2 Aug 2010 10:18:41 +0000 (11:18 +0100)]
Added signature for changeset f200573325ba

14 years agoAdded tag 4.0.1-rc5 for changeset f200573325ba
Keir Fraser [Mon, 2 Aug 2010 10:18:26 +0000 (11:18 +0100)]
Added tag 4.0.1-rc5 for changeset f200573325ba

14 years agoUpdate Xen version to 4.0.1-rc5 4.0.1-rc5
Keir Fraser [Mon, 2 Aug 2010 10:18:11 +0000 (11:18 +0100)]
Update Xen version to 4.0.1-rc5

14 years agolibxl: fix fstat implicit declaration build error
Keir Fraser [Mon, 2 Aug 2010 10:17:22 +0000 (11:17 +0100)]
libxl: fix fstat implicit declaration build error

Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen-unstable changeset:   21895:de62cfdd7b9f
xen-unstable date:        Fri Jul 30 14:28:39 2010 +0100

14 years agotools/libxl: usbdevice should imply usb
Keir Fraser [Mon, 2 Aug 2010 10:16:57 +0000 (11:16 +0100)]
tools/libxl: usbdevice should imply usb

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen-unstable changeset:   21844:ef495616b946
xen-unstable date:        Fri Jul 23 16:58:35 2010 +0100

14 years agoWithout this we leak an fd on each domain shutdown and eventually run
Keir Fraser [Mon, 2 Aug 2010 10:16:31 +0000 (11:16 +0100)]
Without this we leak an fd on each domain shutdown and eventually run
out of file descriptors meaning new the console of new domains are not
logged.

Seems to have been accidentally removed in 16638:28921e83000b.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
xen-unstable changeset:   21818:9ccd024065c5
xen-unstable date:        Mon Jul 19 12:21:24 2010 +0100

14 years agoBefore this patch only log messages with precisely priority
Keir Fraser [Mon, 2 Aug 2010 10:16:04 +0000 (11:16 +0100)]
Before this patch only log messages with precisely priority
LOG_WARNING (or precisely LOG_DEBUG if -v) would be logged.

xenconsoled only actually logs using LOG_ERR and LOG_DEBUG so for the
most part we would have been logging absolutely nothing up until now.

Linux provides a LOG_UPTO macro but I'm not sure how portable that is
so I have opencoded the list of levels.

Do I get some sort of prize for fixing a bug introduced in 2005?

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
xen-unstable changeset:   21814:91ce0b0953ca
xen-unstable date:        Fri Jul 16 12:10:56 2010 +0100

14 years agoxenconsole: do not exit if a pty device is missing
Keir Fraser [Mon, 2 Aug 2010 10:15:30 +0000 (11:15 +0100)]
xenconsole: do not exit if a pty device is missing

This can just mean we have raced with the bootloader exiting and if we
continue we will likely see the real domain console show up.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
xen-unstable changeset:   21797:c18f43ed379e
xen-unstable date:        Wed Jul 14 16:36:47 2010 +0100

14 years agogdbsx: Always build -- remove build-time config option.
Keir Fraser [Mon, 2 Aug 2010 10:11:53 +0000 (11:11 +0100)]
gdbsx: Always build -- remove build-time config option.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21702:2846fd19945c
xen-unstable date:        Fri Jul 02 18:52:12 2010 +0100

tools/debugger/gdbsx: build enabled by default

Submitted-by: Bruce Edge <bruce.edge@gmail.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen-unstable changeset:   21752:29e545151078
xen-unstable date:        Thu Jul 08 16:50:34 2010 +0100

tools/debugger/gdbsx: enabled by only x86

The changeset 21752:29e545151078 breaks ia64, since gdbsx supports
only x86.

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
xen-unstable changeset:   21788:8429a8a23241
xen-unstable date:        Tue Jul 13 19:08:48 2010 +0100

14 years agox86: Add -fno-exceptions to list of possibly-supported CFLAGS for embedded targets.
Keir Fraser [Sun, 25 Jul 2010 21:22:43 +0000 (22:22 +0100)]
x86: Add -fno-exceptions to list of possibly-supported CFLAGS for embedded targets.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21860:2b768d52bc7f
xen-unstable date:        Sun Jul 25 22:20:47 2010 +0100

14 years agotools: fix install bash-completion files to non-default locations.
Keir Fraser [Wed, 21 Jul 2010 12:55:00 +0000 (13:55 +0100)]
tools: fix install bash-completion files to non-default locations.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   21565:0c10e80e083b
xen-unstable date:        Wed Jun 09 07:21:32 2010 +0100

Bash completion scripts go to /etc/bash_completion.d/

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21517:9002641064d8
xen-unstable date:        Fri Jun 04 10:09:11 2010 +0100

14 years agobuild: Make all GIT download URLs depend correctly on GIT_HTTP={y,n}
Keir Fraser [Wed, 21 Jul 2010 08:14:20 +0000 (09:14 +0100)]
build: Make all GIT download URLs depend correctly on GIT_HTTP={y,n}

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21838:e8dbc1262f52
xen-unstable date:        Wed Jul 21 09:02:10 2010 +0100

14 years agox86: New boot option availmem= to limit usable system RAM.
Keir Fraser [Wed, 21 Jul 2010 08:11:25 +0000 (09:11 +0100)]
x86: New boot option availmem= to limit usable system RAM.

Unlike mem=, this specifies the limit on usable RAM, rather than a
limit on maximum physical address of RAM.

Original patch by Sarina Canelake <sarina.canelake@Oracle.Com>

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21837:3c00cb0d9bc4
xen-unstable date:        Wed Jul 21 08:43:35 2010 +0100

14 years agovtd: Do not update-and-flush an IOMMU PTE if it does not change.
Keir Fraser [Wed, 21 Jul 2010 08:10:56 +0000 (09:10 +0100)]
vtd: Do not update-and-flush an IOMMU PTE if it does not change.

There are cases of identical repeated calls to
iommu_map_page(). Flushing is slow, so it's worth detecting these and
bailing early.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21813:07b718833c74
xen-unstable date:        Fri Jul 16 17:41:53 2010 +0100

14 years agoiommu: New options iommu=dom-strict and iommu=dom0-passthrough
Keir Fraser [Wed, 21 Jul 2010 08:10:27 +0000 (09:10 +0100)]
iommu: New options iommu=dom-strict and iommu=dom0-passthrough

The former strips dom0 of its usual 1:1 mapping of all memory, and
only provides it with mappings of its own memory, like any other
domain. The latter is a new consistent name for iommu=passthrough.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21771:42ccccfe1a6a
xen-unstable date:        Fri Jul 09 16:45:42 2010 +0100

iommu: Map dom0 initial allocation in 'dom0-strict' iommu mode.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21812:e382656e4dcc
xen-unstable date:        Fri Jul 16 16:19:51 2010 +0100

14 years agoxen: Send the debug VIRQ to guests after the rest of the domain dump is done.
Keir Fraser [Wed, 21 Jul 2010 08:08:45 +0000 (09:08 +0100)]
xen: Send the debug VIRQ to guests after the rest of the domain dump is done.

Send the debug VIRQ to guests after the rest of the domain dump is
done. This stops all the 'q' debug-key output getting interleaved with
the debug-virq output from a pv-ops dom0 kernel.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   21809:1f7c2418e58c
xen-unstable date:        Fri Jul 16 13:51:27 2010 +0100

14 years agoUpdate Xen version to 4.0.1-rc5-pre
Keir Fraser [Wed, 21 Jul 2010 08:07:05 +0000 (09:07 +0100)]
Update Xen version to 4.0.1-rc5-pre

14 years agoAdded signature for changeset 1f6b423ee0c0
Keir Fraser [Fri, 16 Jul 2010 13:03:25 +0000 (14:03 +0100)]
Added signature for changeset 1f6b423ee0c0

14 years agoAdded tag 4.0.1-rc4 for changeset 1f6b423ee0c0
Keir Fraser [Fri, 16 Jul 2010 13:03:15 +0000 (14:03 +0100)]
Added tag 4.0.1-rc4 for changeset 1f6b423ee0c0

14 years agoUpdate Xen version to 4.0.1-rc4 4.0.1-rc4
Keir Fraser [Fri, 16 Jul 2010 13:03:08 +0000 (14:03 +0100)]
Update Xen version to 4.0.1-rc4

14 years agoxm: Do not check path of kernel if bootloader is specified
Keir Fraser [Fri, 16 Jul 2010 13:02:30 +0000 (14:02 +0100)]
xm: Do not check path of kernel if bootloader is specified

When create DomU, if bootloader is specified, 'kernel/ramdisk' will be
used by bootloader when boots DomU. So it is needless to check the
path is existent or not.

Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen-unstable changeset:   21807:6fdb00dc93a5
xen-unstable date:        Thu Jul 15 16:32:50 2010 +0100

14 years agogdbsx: update README and remove space in q packet
Keir Fraser [Fri, 16 Jul 2010 13:02:10 +0000 (14:02 +0100)]
gdbsx: update README and remove space in q packet

Newer version of gdb, version 7*, seems to have bug where it is not
parsing thread list from gdbsx properly. Getting rid of the space in
thread list works around it. It's ok with older gdb also.

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
xen-unstable changeset:   21806:bb3b28cb7208
xen-unstable date:        Thu Jul 15 16:30:24 2010 +0100

14 years agoxl: start numbering vifs from 0
Keir Fraser [Fri, 16 Jul 2010 13:01:50 +0000 (14:01 +0100)]
xl: start numbering vifs from 0

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-unstable changeset:   21805:2047364f0bdf
xen-unstable date:        Wed Jul 14 16:46:49 2010 +0100

14 years agoxl: default timer_mode to 1
Keir Fraser [Fri, 16 Jul 2010 13:01:25 +0000 (14:01 +0100)]
xl: default timer_mode to 1

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-unstable changeset:   21794:843978ef0dee
xen-unstable date:        Wed Jul 14 16:31:59 2010 +0100

14 years agotools/hotplug: locking.sh script: fix lock directory remains on error bug
Keir Fraser [Fri, 16 Jul 2010 13:01:02 +0000 (14:01 +0100)]
tools/hotplug: locking.sh script: fix lock directory remains on error bug

_release_lock should be used instead of release_lock.
sigerr is introduced so that it can be redefined by
xen-hotplug-common.sh to a version which writes error status to
xenstore.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
xen-unstable changeset:   21738:473c170bca8d
xen-unstable date:        Tue Jul 06 13:10:14 2010 +0100

14 years agotools/pygrub: Fix a typo handling device specs with no partition part
Keir Fraser [Fri, 16 Jul 2010 13:00:36 +0000 (14:00 +0100)]
tools/pygrub: Fix a typo handling device specs with no partition part

pygrub: fix a typo that causes exceptions when looking at device
specifications that don't have a partition part (e.g. (hd0)).

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   21733:f35512e244ff
xen-unstable date:        Fri Jul 02 17:56:05 2010 +0100

14 years agox86: allow the MSI-X table to reside beyond 4G even on 32-bit systems
Keir Fraser [Thu, 15 Jul 2010 08:49:45 +0000 (09:49 +0100)]
x86: allow the MSI-X table to reside beyond 4G even on 32-bit systems

Underlying interfaces allow this, and unduly (and silently) truncating
addresses doesn't seem nice.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   21779:08b2222ff505
xen-unstable date:        Mon Jul 12 10:43:57 2010 +0100

14 years agox86: prevent simultaneous use of MSI and MSI-X
Keir Fraser [Thu, 15 Jul 2010 08:49:22 +0000 (09:49 +0100)]
x86: prevent simultaneous use of MSI and MSI-X

This matches similar checks done in Linux, since no good can come from
a domain trying to enable both MSI and MSI-X on the same device at the
same time.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   21778:421f6c63b220
xen-unstable date:        Mon Jul 12 10:43:34 2010 +0100

14 years agox86: fix a benign typo
Keir Fraser [Thu, 15 Jul 2010 08:49:00 +0000 (09:49 +0100)]
x86: fix a benign typo

Just to avoid confusing readers - no functional change.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   21777:a63e4c2d9ae4
xen-unstable date:        Mon Jul 12 10:43:10 2010 +0100

14 years agoiommu: Remove pointless iommu=pv boot option.
Keir Fraser [Thu, 15 Jul 2010 08:48:12 +0000 (09:48 +0100)]
iommu: Remove pointless iommu=pv boot option.

Allow devices to always be passed through to PV domains, just as they
can be to HVM domains.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21770:510c797ee115
xen-unstable date:        Fri Jul 09 15:39:35 2010 +0100

14 years agox2APIC: improve enabling logic
Keir Fraser [Thu, 15 Jul 2010 09:43:50 +0000 (10:43 +0100)]
x2APIC: improve enabling logic

This patch masks PIC and IOAPIC RTE's before x2APIC enabling, unmask
and restore them after x2APIC enabling. It also really enables
interrupt remapping before x2APIC enabling instead of just checking
interrupt remapping setting. This patch also handles all x2APIC
configuration including BIOS settings and command line
settings. Especially, it handles that BIOS hands over in x2APIC mode
(when there is apic id > 255). It checks if x2APIC is already enabled
by BIOS. If already enabled, it will disable interrupt remapping and
queued invalidation first, then enable them again.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen-unstable changeset:   21718:34f612ed4184
xen-unstable date:        Mon Jul 05 08:31:29 2010 +0100

14 years agox2APIC/VT-d: improve interrupt remapping and queued invalidation enabling and disabling
Keir Fraser [Thu, 15 Jul 2010 09:43:19 +0000 (10:43 +0100)]
x2APIC/VT-d: improve interrupt remapping and queued invalidation enabling and disabling

x2APIC depends on interrupt remapping, so interrupt remapping needs to
be enabled before x2APIC. Usually x2APIC is not enabled
(x2apic_enabled=0) when enable interrupt remapping, although x2APIC
will be enabled later. So it needs to pass a parameter to set
interrupt mode in intremap_enable, instead of checking
x2apic_enable. This patch adds a parameter "eim" to intremap_enable to
achieve it.  Interrupt remapping and queued invalidation are already
enabled when enable x2apic, so it needn't to enable them again when
setup iommu. This patch checks if interrupt remapping and queued
invalidation are already enable or not, and won't enable them if
already enabled. It does the similar in disabling, that's to say don't
disable them if already disabled.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen-unstable changeset:   21717:176956d1d2fd
xen-unstable date:        Mon Jul 05 08:30:25 2010 +0100

14 years agox2APIC/VT-d: allocate iommu when create a drhd
Keir Fraser [Thu, 15 Jul 2010 09:42:38 +0000 (10:42 +0100)]
x2APIC/VT-d: allocate iommu when create a drhd

A drhd is created when parse ACPI DMAR table, but drhd->iommu is not
allocated until iommu setup. But iommu is needed by x2APIC which will
enable interrupt remapping before iommu setup. This patch allocates
iommu when create drhd. And then drhd->ecap can be removed because
it's the same as iommu->ecap.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen-unstable changeset:   21716:64a80813978f
xen-unstable date:        Mon Jul 05 08:29:10 2010 +0100

14 years agoMakefile: Serialise stubdom build after tools
Keir Fraser [Fri, 9 Jul 2010 11:44:53 +0000 (12:44 +0100)]
Makefile: Serialise stubdom build after tools

Currently "make stubdom" on its own fails because it depends on files
being installed by the results of "make tools".  This also means that
in some circumstances a parallel "make tools stubdom" (or "make all")
can fail due to races.  So make "make stubdom" depend on "make tools"
having completed first.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen-unstable changeset:   21760:84719437205c
xen-unstable date:        Fri Jul 09 12:22:52 2010 +0100

14 years agoxen: allow HVM save/restore from different cpus
Keir Fraser [Fri, 9 Jul 2010 11:44:33 +0000 (12:44 +0100)]
xen: allow HVM save/restore from different cpus

The hardware CPUID-levelling features level the feature flags but
don't change the CPU family/model/stepping.  Relax the HVM restore
check on family/model/stepping to printk but not veto the load, so
that VMs can be migrated between machines that have been
CPUID-levelled.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   21759:8b2453940dac
xen-unstable date:        Fri Jul 09 12:22:35 2010 +0100

14 years agoxen: allow HVM save/restore from different changesets
Keir Fraser [Fri, 9 Jul 2010 11:44:14 +0000 (12:44 +0100)]
xen: allow HVM save/restore from different changesets

Allow HVM save/restore from different changesets of Xen.  The HVM save
records are supposed to be backwards compatible; XenServer
live-migrates between versions of Xen during upgrades.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   21758:8afa0bb43c45
xen-unstable date:        Fri Jul 09 12:22:00 2010 +0100

14 years agomce: Replace BUG() with a console warning in the MCE handler.
Keir Fraser [Fri, 9 Jul 2010 11:43:52 +0000 (12:43 +0100)]
mce: Replace BUG() with a console warning in the MCE handler.

If the hardware reports corrected errors that we didn't see through
the status MSRs, complain on the console but don't BUG() the machine.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   21757:50cf787b70eb
xen-unstable date:        Fri Jul 09 12:21:31 2010 +0100

14 years agoxl: Fix help message.
Keir Fraser [Fri, 9 Jul 2010 11:41:16 +0000 (12:41 +0100)]
xl: Fix help message.

From: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
14 years agoxend: Continue domain building even if memshr extensions are not
Keir Fraser [Thu, 8 Jul 2010 09:03:47 +0000 (10:03 +0100)]
xend: Continue domain building even if memshr extensions are not
present in the hypervisor.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21751:a7a680442b73
xen-unstable date:        Thu Jul 08 09:56:10 2010 +0100

14 years agoxen: make the shadow allocation hypercalls include the p2m memory
Keir Fraser [Thu, 8 Jul 2010 09:03:25 +0000 (10:03 +0100)]
xen: make the shadow allocation hypercalls include the p2m memory
in the total shadow allocation. This makes the effect of allocation
changes consistent regardless of p2m activity on boot.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   21750:92ac9536ac5a
xen-unstable date:        Thu Jul 08 09:52:51 2010 +0100

14 years agoxen: use s_time_t for periodic timer deadlines.
Keir Fraser [Thu, 8 Jul 2010 09:03:03 +0000 (10:03 +0100)]
xen: use s_time_t for periodic timer deadlines.

Otherwise vcpu_periodic_timer_work() can think the next timer is in
the future (and re-issue it unchanged) while timer_softirq_action()
thinks it's in the past (and fires it immediately), leading to
livelock.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   21749:db35740574a5
xen-unstable date:        Thu Jul 08 09:52:34 2010 +0100

14 years agorombios: wait 30s after a failed boot
Keir Fraser [Thu, 8 Jul 2010 09:02:33 +0000 (10:02 +0100)]
rombios: wait 30s after a failed boot

Prevents waiting forever for a keypress that may never come if boot is
unattended.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   21746:3073d3d61a6b
xen-unstable date:        Thu Jul 08 09:46:09 2010 +0100

14 years agox86/cpufreq: check array index before use
Keir Fraser [Thu, 8 Jul 2010 09:02:05 +0000 (10:02 +0100)]
x86/cpufreq: check array index before use

... rather than after.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   21744:df63728e1680
xen-unstable date:        Thu Jul 08 09:44:46 2010 +0100

14 years agohgignore: Add _xl_paths.h to ignore list.
Keir Fraser [Thu, 8 Jul 2010 08:59:16 +0000 (09:59 +0100)]
hgignore: Add _xl_paths.h to ignore list.

14 years agoxl: Fix cmdline parsing after backport changeset.
Keir Fraser [Thu, 8 Jul 2010 08:58:04 +0000 (09:58 +0100)]
xl: Fix cmdline parsing after backport changeset.

From: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
14 years agotools/libxl: allow setting of timer_mode, hpet and vpt_align parameters
Keir Fraser [Tue, 6 Jul 2010 17:43:50 +0000 (18:43 +0100)]
tools/libxl: allow setting of timer_mode, hpet and vpt_align parameters

Implement parsing for timer_mode, hpet and vpt_align parameters.

These are all HVM only parameters and hpet/vpt_align are boolean so
change types and place in hvm union accordingly. Also HPET is x86 only
on principle so make this compile-time conditional on arch as-is
viridian.

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
xen-unstable changeset:   21739:da46b25cf17d
xen-unstable date:        Tue Jul 06 16:55:49 2010 +0100

14 years agox86: eliminate unused "quad_local_to_mp_bus_id"
Keir Fraser [Tue, 6 Jul 2010 15:57:07 +0000 (16:57 +0100)]
x86: eliminate unused "quad_local_to_mp_bus_id"

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   21722:1864c12977f6
xen-unstable date:        Tue Jul 06 16:55:02 2010 +0100

14 years agorombios: pause for a keypress after a failed boot
Keir Fraser [Tue, 6 Jul 2010 15:56:47 +0000 (16:56 +0100)]
rombios: pause for a keypress after a failed boot

rombios: inform the user and pause for a keypress after a failed boot
rather than powering off immediately.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   21720:a1008ce01820
xen-unstable date:        Tue Jul 06 16:49:59 2010 +0100

14 years agolibxl: Backported stuff from unstable
Keir Fraser [Tue, 6 Jul 2010 15:49:01 +0000 (16:49 +0100)]
libxl: Backported stuff from unstable

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
14 years agoVT-d: No need to emulate WBINVD when force snooping feature available
Keir Fraser [Mon, 5 Jul 2010 11:11:38 +0000 (12:11 +0100)]
VT-d: No need to emulate WBINVD when force snooping feature available

There is no cache coherency issue if VT-d engine's force snooping
feature available.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
xen-unstable changeset:   21715:70ac5171a48f
xen-unstable date:        Mon Jul 05 08:28:08 2010 +0100

14 years agotrace: insert compiler memory barriers
Keir Fraser [Mon, 5 Jul 2010 11:11:17 +0000 (12:11 +0100)]
trace: insert compiler memory barriers

This is to ensure fields shared writably with Dom0 get read only once
for any consistency checking followed by actual calculations.

I realized there was another multiple-read issue, a fix for which is
also included (which at once simplifies __insert_record()).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   21713:9074d50d0935
xen-unstable date:        Mon Jul 05 08:24:18 2010 +0100

14 years agoAMD OSVW (OS Visible Workaround) for Xen
Keir Fraser [Mon, 5 Jul 2010 11:10:52 +0000 (12:10 +0100)]
AMD OSVW (OS Visible Workaround) for Xen

This path enables AMD OSVW (OS Visible Workaround) feature for
Xen. New AMD errata will have a OSVW id assigned in the future. OS is
supposed to check OSVW status MSR to find out whether CPU has a
specific erratum. Legacy errata are also supported in this patch:
traditional family/model/stepping approach will be used if OSVW
feature isn't applicable.  This patch is adapted from Hans Rosenfeld's
patch submitted to Linux kernel.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
Signed-off-by: Hans Rosenfeld <hands.rosenfeld@amd.com>
Acked-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   21712:f483b5ce7be2
xen-unstable date:        Fri Jul 02 19:04:57 2010 +0100

14 years agotrace: fix security issues
Keir Fraser [Fri, 2 Jul 2010 21:04:32 +0000 (22:04 +0100)]
trace: fix security issues

After getting a report of 3.2.3's xenmon crashing Xen (as it turned
out this was because c/s 17000 was backported to that tree without
also applying c/s 17515), I figured that the hypervisor shouldn't rely
on any specific state of the actual trace buffer (as it is shared
writable with Dom0)

[GWD: Volatile quantifiers have been taken out and moved to another
patch]

To make clear what purpose specific variables have and/or where they
got loaded from, the patch also changes the type of some of them to be
explicitly u32/s32, and removes pointless assertions (like checking an
unsigned variable to be >= 0).

I also took the prototype adjustment of __trace_var() as an
opportunity to simplify the TRACE_xD() macros. Similar simplification
could be done on the (quite numerous) direct callers of the function.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen-unstable changeset:   21706:ae68758f8862
xen-unstable date:        Fri Jul 02 18:56:34 2010 +0100

14 years agotrace: adjust printk()s
Keir Fraser [Fri, 2 Jul 2010 21:04:07 +0000 (22:04 +0100)]
trace: adjust printk()s

They should be lower level or rate limited.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
xen-unstable changeset:   21705:19f4d637a52b
xen-unstable date:        Fri Jul 02 18:53:37 2010 +0100

14 years agotrace: improve check_tbuf_size()
Keir Fraser [Fri, 2 Jul 2010 21:03:43 +0000 (22:03 +0100)]
trace: improve check_tbuf_size()

It didn't consider the case of the incoming size not allowing for the
2*data_size range for t_buf->{prod,cons}

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen-unstable changeset:   21704:1390e2ab45c7
xen-unstable date:        Fri Jul 02 18:53:10 2010 +0100

14 years agotrace: Fix T_INFO_FIRST_OFFSET calculation
Keir Fraser [Fri, 2 Jul 2010 21:02:31 +0000 (22:02 +0100)]
trace: Fix T_INFO_FIRST_OFFSET calculation

This wasn't defined correctly, thus allowing in the
num_online_cpus() == NR_CPUS case to pass a corrupted MFN to
Dom0.

Reported-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen-unstable changeset:   21703:2f3a68a0b55b
xen-unstable date:        Fri Jul 02 18:52:45 2010 +0100

14 years agox86 shadow: Fix x86_32 build.
Keir Fraser [Fri, 2 Jul 2010 18:18:37 +0000 (19:18 +0100)]
x86 shadow: Fix x86_32 build.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21649:74fa38447ad9
xen-unstable date:        Tue Jun 22 07:19:16 2010 +0100

14 years agox86 hvm: implement HVMOP_pagetable_dying
Keir Fraser [Fri, 2 Jul 2010 18:17:36 +0000 (19:17 +0100)]
x86 hvm: implement HVMOP_pagetable_dying

This patch implements HVMOP_pagetable_dying: an hypercall for
guests to notify Xen that a pagetable is about to be destroyed so that
Xen can use it as a hint to unshadow the pagetable soon and unhook the
top-level user-mode shadow entries right away.

Gianluca Guida is the original author of this patch.

Signed-off-by: Gianluca Guida <glguida@gmail.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-unstable changeset:   21647:cfba1560054a
xen-unstable date:        Mon Jun 21 19:18:27 2010 +0100

14 years agox86 hvm: implement vector callback for evtchn delivery
Keir Fraser [Fri, 2 Jul 2010 18:14:25 +0000 (19:14 +0100)]
x86 hvm: implement vector callback for evtchn delivery

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21449:10ad9b50b4ca
xen-unstable date:        Tue May 25 11:28:58 2010 +0100

14 years agox86: TSC handling cleanups (version 2)
Keir Fraser [Fri, 2 Jul 2010 18:14:00 +0000 (19:14 +0100)]
x86: TSC handling cleanups (version 2)

"I am removing the tsc_scaled variable that is never actually used
because when tsc needs to be scaled vtsc is 1.  I am also making this
more explicit in tsc_set_info.  I am also removing hvm_domain.gtsc_khz
that is a duplicate of d->arch.tsc_khz.  I am using scale_delta(delta,
&d->arch.ns_to_vtsc) to scale the tsc value before returning it to the
guest like in the pv case.  I added a feature flag to specify that the
pvclock algorithm is safe to be used in an HVM guest so that the guest
can now use it without hanging."

Version 2 fixes a bug which breaks PV domU time.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-unstable changeset:   21445:c1ed00d49534
xen-unstable date:        Sat May 22 06:31:47 2010 +0100

14 years agox86: Export timer hypercalls to HVM guests too
Keir Fraser [Fri, 2 Jul 2010 18:12:41 +0000 (19:12 +0100)]
x86: Export timer hypercalls to HVM guests too

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-unstable changeset:   21341:3289dac49af4
xen-unstable date:        Tue May 11 08:36:30 2010 +0100

14 years agoxenpaging: Fix 32-bit build after fixed-width type changes.
Keir Fraser [Wed, 30 Jun 2010 21:14:40 +0000 (22:14 +0100)]
xenpaging: Fix 32-bit build after fixed-width type changes.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   21701:aecf092da748
xen-unstable date:        Wed Jun 30 22:12:54 2010 +0100

14 years agoFix #GPF injection into compat guests in vm86 code
Keir Fraser [Wed, 30 Jun 2010 17:24:55 +0000 (18:24 +0100)]
Fix #GPF injection into compat guests in vm86 code

not to let the guest disable interrupts in the real EFLAGS.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com
xen-unstable changeset:   21700:fae04060a4f4
xen-unstable date:        Wed Jun 30 18:12:43 2010 +0100

14 years agoUse gfn_to_mfn_query() rather then gfn_to_mfn() when changing P2M types
Keir Fraser [Wed, 30 Jun 2010 17:24:32 +0000 (18:24 +0100)]
Use gfn_to_mfn_query() rather then gfn_to_mfn() when changing P2M types

Use gfn_to_mfn_query() rather then gfn_to_mfn() when changing
P2M types since we do not really want to force a PoD allocation
as a side effect.

Signed-off-by: Paul Durrant <Paul.Durrant@citrix.com>
xen-unstable changeset:   21699:7cda3ad44c6d
xen-unstable date:        Wed Jun 30 18:11:42 2010 +0100

14 years agox86: fix an off-by-one pirq range check
Keir Fraser [Wed, 30 Jun 2010 17:24:08 +0000 (18:24 +0100)]
x86: fix an off-by-one pirq range check

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   21698:81d6471ff123
xen-unstable date:        Wed Jun 30 18:11:09 2010 +0100

14 years agotrace: share t_info pages only in read-only mode
Keir Fraser [Wed, 30 Jun 2010 17:23:43 +0000 (18:23 +0100)]
trace: share t_info pages only in read-only mode

There's no need to share writably the t_info pages (Dom0 only wants
[and needs] to read it)

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
xen-unstable changeset:   21695:c5f3fe17374c
xen-unstable date:        Tue Jun 29 18:18:42 2010 +0100

14 years agoUse fixed-width types in the memory event interface
Keir Fraser [Wed, 30 Jun 2010 17:23:19 +0000 (18:23 +0100)]
Use fixed-width types in the memory event interface

Set the types in the public memory_event header file to use
fixed-sized and self-aligned fields rather than "unsigned long".  AIUI
this feature only works with 64-bit hypervisors but I think this
change will be necessary to use 32-on-64 dom0 tools.

This breaks compatibility with older builds of the tools, but I can't
see any way to avoid it short of __attribute__((__packed__)).

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Patrick Colp <pjcolp@cs.ubc.ca>
xen-unstable changeset:   21694:2a3a5979e3f1
xen-unstable date:        Tue Jun 29 18:17:44 2010 +0100