]> xenbits.xensource.com Git - people/vhanquez/xen.git/log
people/vhanquez/xen.git
15 years agoAdded tag 3.3.2-rc1 for changeset 6e8580302724
Keir Fraser [Mon, 1 Jun 2009 16:45:39 +0000 (17:45 +0100)]
Added tag 3.3.2-rc1 for changeset 6e8580302724

15 years agoUpdate Xen version for 3.3.2-rc1 3.3.2-rc1
Keir Fraser [Mon, 1 Jun 2009 16:45:23 +0000 (17:45 +0100)]
Update Xen version for 3.3.2-rc1

15 years agoblkif: Clarify units for 'sector'-sized blkif request params.
Keir Fraser [Mon, 1 Jun 2009 13:47:26 +0000 (14:47 +0100)]
blkif: Clarify units for 'sector'-sized blkif request params.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-unstable changeset:   19640:cc682927d123
xen-unstable date:        Tue May 26 10:01:54 2009 +0100

15 years agominios: Fix blkfront driver when sector_size != 512
Keir Fraser [Mon, 1 Jun 2009 13:47:01 +0000 (14:47 +0100)]
minios: Fix blkfront driver when sector_size != 512

The first and last sector as well as the sector number of the request
is expressed in 512 bytes units, independently from the real sector
size.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-unstable changeset:   19635:85d6849bdcd9
xen-unstable date:        Tue May 26 09:49:19 2009 +0100

15 years agotools: Fix an obvious xgettext build typo.
Keir Fraser [Mon, 1 Jun 2009 13:46:25 +0000 (14:46 +0100)]
tools: Fix an obvious xgettext build typo.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   19619:303793468225
xen-unstable date:        Tue May 19 13:38:05 2009 +0100

16 years agox86: update ioport_quirks_tbl[] for the proliant BL2xx
Keir Fraser [Mon, 11 May 2009 12:55:26 +0000 (13:55 +0100)]
x86: update ioport_quirks_tbl[] for the proliant BL2xx

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
xen-unstable changeset:   19597:2522cc95efd2
xen-unstable date:        Mon May 11 13:52:04 2009 +0100

16 years agox86 hvm: hvm_set_callback_irq_level() must not be called in IRQ
Keir Fraser [Mon, 11 May 2009 10:21:21 +0000 (11:21 +0100)]
x86 hvm: hvm_set_callback_irq_level() must not be called in IRQ
context or with IRQs disabled. Ensure this by deferring to tasklet
(softirq) context if required.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19595:2656ab6fa828
xen-unstable date:        Fri May 08 11:50:12 2009 +0100

16 years agox86: Extend VMX_PERF_EXIT_REASON_SIZE to sync with latest SDM
Keir Fraser [Mon, 11 May 2009 10:19:00 +0000 (11:19 +0100)]
x86: Extend VMX_PERF_EXIT_REASON_SIZE to sync with latest SDM

Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com>
xen-unstable changeset:   19592:fb3e1e84d8f4
xen-unstable date:        Wed May 06 12:40:51 2009 +0100

16 years agox86: Fix a couple of asm constraints.
Keir Fraser [Tue, 5 May 2009 12:48:26 +0000 (13:48 +0100)]
x86: Fix a couple of asm constraints.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19591:7a73e3aeb224
xen-unstable date:        Mon May 04 22:52:18 2009 +0100

16 years agoxenstore: Add brief notice regarding xenstore protocol limits to xs.h.
Keir Fraser [Tue, 5 May 2009 12:47:49 +0000 (13:47 +0100)]
xenstore: Add brief notice regarding xenstore protocol limits to xs.h.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19586:54dbd70406ad
xen-unstable date:        Thu Apr 30 09:43:29 2009 +0100

16 years agox86 shadow: fix audit mode.
Keir Fraser [Tue, 5 May 2009 12:47:27 +0000 (13:47 +0100)]
x86 shadow: fix audit mode.

Splintered L1s can have the dirty bit clean because of vram tracking.

Signed-off-by: Gianluca Guida <gianluca.guida@eu.citrix.com>
xen-unstable changeset:   19584:86f659545f17
xen-unstable date:        Wed Apr 29 11:53:23 2009 +0100

16 years agox86: Add boot options regarding e820 parsinga nd clipping.
Keir Fraser [Tue, 5 May 2009 12:46:36 +0000 (13:46 +0100)]
x86: Add boot options regarding e820 parsinga nd clipping.

 [no-]e820-mtrr-clip: Clip e820 RAM areas to top-of-memory according
 to MTRRs. Prefix no- to disable the clip.

 e820-verbose: Extra e820 info printed during boot.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19583:ea068394ec12
xen-unstable date:        Wed Apr 29 11:52:14 2009 +0100

x86_32: Fix build after e820 verbosity printks.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19585:cc6db34c2996
xen-unstable date:        Wed Apr 29 13:54:57 2009 +0100

16 years agominios: Backport part of xen-unstable 18928:b33b745cd5ec to avoid nested functions.
Keir Fraser [Tue, 5 May 2009 12:40:44 +0000 (13:40 +0100)]
minios: Backport part of xen-unstable 18928:b33b745cd5ec to avoid nested functions.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
16 years agox86 vmx: Reuse idtv_info to avoid double read of IDT_VECTORING.
Keir Fraser [Tue, 28 Apr 2009 14:03:59 +0000 (15:03 +0100)]
x86 vmx: Reuse idtv_info to avoid double read of IDT_VECTORING.

Signed-off-by: Eddie Dong <eddie.dong@intel.com>
xen-unstable changeset:   19582:648d7de355dd
xen-unstable date:        Tue Apr 28 13:45:08 2009 +0100

16 years agox86 hvm: During task switch, LDT must be loaded before all other
Keir Fraser [Tue, 28 Apr 2009 14:03:32 +0000 (15:03 +0100)]
x86 hvm: During task switch, LDT must be loaded before all other
segments, as some may be loaded from the LDT.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19578:9fdcd3ab84b7
xen-unstable date:        Mon Apr 27 15:40:09 2009 +0100

16 years agox86: Detect bogus BIOS e820 tables which are not fully covered as
Keir Fraser [Tue, 28 Apr 2009 14:02:57 +0000 (15:02 +0100)]
x86: Detect bogus BIOS e820 tables which are not fully covered as
cacheable (WB) by MTRRs. Fix up by truncating the memory map.

This fixes performance issues on certain systems.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19576:ce273aa880e5
xen-unstable date:        Fri Apr 24 17:51:56 2009 +0100

16 years agox86 numa: Fix left shift overflows
Keir Fraser [Tue, 28 Apr 2009 14:02:29 +0000 (15:02 +0100)]
x86 numa: Fix left shift overflows

Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com>
xen-unstable changeset:   19571:3ccd0f0dba5b
xen-unstable date:        Thu Apr 23 12:21:29 2009 +0100

16 years agoxenconsoled: Fixes to domain management.
Keir Fraser [Tue, 28 Apr 2009 14:01:50 +0000 (15:01 +0100)]
xenconsoled: Fixes to domain management.

Event-channel setup: Re-bind if the connection becomes unbound (e.g.,
due to 'slow' domain suspend cancellation), even if the remote port
identifier has not changed.

Domain logging: Only open log file once (don't leak fds) and fix a
small memory leak.

Evtchn changes based on a patch by Jiri Denemark <jdenemar@redhat.com>

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19561:69ba67bdbf93
xen-unstable date:        Mon Apr 20 15:38:29 2009 +0100

16 years agox86: fix next->vcpu_dirty_cpumask checking in context_switch()
Keir Fraser [Tue, 28 Apr 2009 13:57:23 +0000 (14:57 +0100)]
x86: fix next->vcpu_dirty_cpumask checking in context_switch()

There was a timing window where flush_tlb_mask() could be called with
an empty mask (triggering a WARN_ON() in send_IPI_mask_flat() along
with APIC errors) because rather than using the already taken snapshot
of next's vcpu_dirty_cpumask struct vcpu's field was used directly,
which can get its only bit cleared by remote CPUs.

Replacing the structure field's use by the local variable then made
the inner cpus_empty() check completely redundant with the one in the
surrounding if()'s condition.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   19560:423a7f500059
xen-unstable date:        Mon Apr 20 14:56:31 2009 +0100

16 years agoxend: The method union_update on a set was renamed to update in Python 2.3
Keir Fraser [Tue, 28 Apr 2009 13:56:48 +0000 (14:56 +0100)]
xend: The method union_update on a set was renamed to update in Python 2.3

From: Ruben Kerkhof <ruben@rubenkerkhof.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19559:cc2267c6d53b
xen-unstable date:        Mon Apr 20 13:48:31 2009 +0100

16 years agox86: avoid EPT scanning errors when splitting superpages during live
Keir Fraser [Tue, 28 Apr 2009 13:56:11 +0000 (14:56 +0100)]
x86: avoid EPT scanning errors when splitting superpages during live
migration

Since Xen did not lock the p2m table for p2m table reading, when
splitting the large page during live migration, we should make sure
the path of EPT entries be modified are always there while other CPUs
may access the super entries at the same time.

Signed-off-by: Xin, Xiaohui <xiaohui.xin@intel.com>
xen-unstable changeset:   19555:150662e5adfc
xen-unstable date:        Fri Apr 17 13:07:06 2009 +0100

16 years agox86: Support discontiguous sets of multiboot modules.
Keir Fraser [Tue, 28 Apr 2009 13:55:22 +0000 (14:55 +0100)]
x86: Support discontiguous sets of multiboot modules.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19544:94ffd85005c5
xen-unstable date:        Tue Apr 14 15:23:53 2009 +0100

16 years agominios: fix a memory corruption in blkfront
Keir Fraser [Tue, 28 Apr 2009 13:51:06 +0000 (14:51 +0100)]
minios: fix a memory corruption in blkfront

The corruption happens every time we pass a sector aligned buffer
(instead of a page aligned buffer) to blkfront_aio. To trigger the COW
we have to write at least a byte to each page of the buffer, but we
must be careful not to overwrite useful content.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-unstable changeset:   19542:cbaae05c2902
xen-unstable date:        Tue Apr 14 11:21:45 2009 +0100

16 years agorestore: sign extend p2m when restoring on a host with pfn width <
Keir Fraser [Tue, 28 Apr 2009 13:49:43 +0000 (14:49 +0100)]
restore: sign extend p2m when restoring on a host with pfn width <
guest pfn width

(i.e. 32on64 domain 0 and 64 bit guest domain).

Otherwise P2M entries which were INVALID_P2M_ENTRY
(==0xffffffffffffffff) become 0xffffffff after a migrate.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
xen-unstable changeset:   19523:a6003404e95b
xen-unstable date:        Wed Apr 08 19:10:33 2009 +0100

16 years agoxend: Fix do_FLR() scope problem.
Keir Fraser [Thu, 23 Apr 2009 09:13:47 +0000 (10:13 +0100)]
xend: Fix do_FLR() scope problem.

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
xen-unstable changeset:   19067:a92ed09b4032
xen-unstable date:        Thu Jan 22 11:07:32 2009 +0000

16 years agox86 hvm: Remove the extra IS_PRIV_FOR() checks I added to do_hvm_op().
Keir Fraser [Wed, 8 Apr 2009 13:44:11 +0000 (14:44 +0100)]
x86 hvm: Remove the extra IS_PRIV_FOR() checks I added to do_hvm_op().
Actually this is already done by rcu_lock_target_domain_by_id(). Oops.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19522:f9c8c6b08972
xen-unstable date:        Wed Apr 08 14:43:12 2009 +0100

16 years agox86 hvm: Fix privilege checking in do_hvm_op() hypercall.
Keir Fraser [Wed, 8 Apr 2009 13:21:23 +0000 (14:21 +0100)]
x86 hvm: Fix privilege checking in do_hvm_op() hypercall.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19521:eddb0f09fdaf
xen-unstable date:        Wed Apr 08 14:06:37 2009 +0100

16 years agoAvoid deadlocks on domctl_lock when pausing domains/vcpus.
Keir Fraser [Wed, 8 Apr 2009 13:20:53 +0000 (14:20 +0100)]
Avoid deadlocks on domctl_lock when pausing domains/vcpus.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19519:3929487cdb82
xen-unstable date:        Wed Apr 08 13:48:35 2009 +0100

16 years agoxend: fix leak of /local/domain/* in xenstore
Keir Fraser [Wed, 8 Apr 2009 13:19:24 +0000 (14:19 +0100)]
xend: fix leak of /local/domain/* in xenstore

xenwatch thread _storeChanged() may create /local/domain/<domid>
entries in xenstore even after the domain has shutdown.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
xen-unstable changeset:   19509:71077a0fd289
xen-unstable date:        Tue Apr 07 10:14:35 2009 +0100

16 years agotools/misc: Remove some obsolete scripts.
Keir Fraser [Wed, 8 Apr 2009 13:18:54 +0000 (14:18 +0100)]
tools/misc: Remove some obsolete scripts.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19508:accf139b2eb9
xen-unstable date:        Mon Apr 06 21:12:33 2009 +0100

16 years agox86_64: explicitly zero CR[1] in getvcpucontext for guests with no user PT
Keir Fraser [Wed, 8 Apr 2009 13:17:45 +0000 (14:17 +0100)]
x86_64: explicitly zero CR[1] in getvcpucontext for guests with no user PT

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
xen-unstable changeset:   19505:1f705f0a32e2
xen-unstable date:        Mon Apr 06 13:56:35 2009 +0100

16 years agox86: hvm_*io_intercept() should only update p->count if X86EMUL_OKAY.
Keir Fraser [Thu, 2 Apr 2009 12:19:04 +0000 (13:19 +0100)]
x86: hvm_*io_intercept() should only update p->count if X86EMUL_OKAY.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19493:b5e7c26835c9
xen-unstable date:        Wed Apr 01 16:20:30 2009 +0100

16 years agox86: paging_log_dirty_op() should take care with invalid log_dirty.top
Keir Fraser [Thu, 2 Apr 2009 12:18:39 +0000 (13:18 +0100)]
x86: paging_log_dirty_op() should take care with invalid log_dirty.top

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19490:2491158ccd17
xen-unstable date:        Wed Apr 01 13:49:35 2009 +0100

x86: A further fix to paging_log_dirty_op() -- do not
unmap_domain_page(NULL)

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19494:6dc5c26a75b9
xen-unstable date:        Thu Apr 02 07:53:11 2009 +0100

16 years agox86 acpi: Delete unnecessary and broken RSDP-scanning code.
Keir Fraser [Thu, 2 Apr 2009 12:17:40 +0000 (13:17 +0100)]
x86 acpi: Delete unnecessary and broken RSDP-scanning code.

Signed-off-by: Keir Fraser <keir.fraser@eu.citrix.com>
xen-unstable changeset:   19433:d5ddc782bc49
xen-unstable date:        Mon Mar 30 16:48:26 2009 +0100

16 years agox86_64: Fix handling of DIRECTMAP_VIRT_START in virt_to_maddr().
Keir Fraser [Thu, 2 Apr 2009 12:17:11 +0000 (13:17 +0100)]
x86_64: Fix handling of DIRECTMAP_VIRT_START in virt_to_maddr().

Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
xen-unstable changeset:   19410:4846d7ae75cd
xen-unstable date:        Fri Mar 20 08:57:23 2009 +0000

16 years agox86 dom builder: Allocate domU pages in batches.
Keir Fraser [Thu, 2 Apr 2009 12:13:14 +0000 (13:13 +0100)]
x86 dom builder: Allocate domU pages in batches.

Allows a 32-bit dom0 to create very large guests.

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19390:f0d033f0a319
xen-unstable date:        Thu Mar 19 10:04:15 2009 +0000

16 years agoActually set a HVM domain's time offset when it sets the RTC
Keir Fraser [Thu, 2 Apr 2009 12:12:42 +0000 (13:12 +0100)]
Actually set a HVM domain's time offset when it sets the RTC

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   19385:b8242b82b561
xen-unstable date:        Wed Mar 18 13:24:42 2009 +0000

16 years agox86 shadow: fix vram tracking
Keir Fraser [Tue, 17 Mar 2009 14:58:15 +0000 (14:58 +0000)]
x86 shadow: fix vram tracking

Check for writable mappings in ptes before assuming that the type
count in the page has changed.

Signed-off-by: Gianluca Guida <gianluca.guida@eu.citrix.com>
xen-unstable changeset:   19317:cc9b41a476dc62149d7a385aad70ce6e221e928f
xen-unstable date:        Thu Mar 12 10:55:43 2009 +0000

16 years agox86 shadow: Fix 2-on-3 mode.
Keir Fraser [Tue, 17 Mar 2009 14:56:00 +0000 (14:56 +0000)]
x86 shadow: Fix 2-on-3 mode.

Signed-off-by: Gianluca Guida <Gianluca.Guida@eu.citrix.com>
xen-unstable changeset:   19372:0e8005a9d81201f5224e8fd0690a8b787befc4c0
xen-unstable date:        Tue Mar 17 14:30:15 2009 +0000

16 years agox86 shadow: Prevent in-sync L1s to become writable
Keir Fraser [Tue, 17 Mar 2009 14:55:32 +0000 (14:55 +0000)]
x86 shadow: Prevent in-sync L1s to become writable
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19371:6d5aa622fb3d696144ff7ea96636318946c560a8
xen-unstable date:        Tue Mar 17 14:29:26 2009 +0000

16 years agox86, cpuidle: disable ARB_DISABLE access for latest intel platforms
Keir Fraser [Tue, 17 Mar 2009 14:54:25 +0000 (14:54 +0000)]
x86, cpuidle: disable ARB_DISABLE access for latest intel platforms

ARB_DISABLE is a nop on all of the recent Intel platforms. Disable
ARB_DISABLE and attached c3_lock on C3 entry exit for such platforms.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Wei Gang <gang.wei@intel.com>
xen-unstable changeset:   19364:09253da8f1c17d125127895154bc851ac6d40aba
xen-unstable date:        Tue Mar 17 10:50:16 2009 +0000

16 years ago[SVM] Always read zero AMD C1E control MSR to allow cross-vendor migration
Keir Fraser [Tue, 17 Mar 2009 14:54:01 +0000 (14:54 +0000)]
[SVM] Always read zero AMD C1E control MSR to allow cross-vendor migration

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   19354:4fd39881f9f185b49cd1e007b550b9ccab10d139
xen-unstable date:        Fri Mar 13 07:45:11 2009 +0000

16 years ago[SVM] fix segment descriptors to allow migration to Intel VT systems
Keir Fraser [Tue, 17 Mar 2009 14:53:36 +0000 (14:53 +0000)]
[SVM] fix segment descriptors to allow migration to Intel VT systems

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   19353:0f7e2ba5d0e62022f0d59b0e098ab9b0747ce1f4
xen-unstable date:        Fri Mar 13 07:43:45 2009 +0000

16 years agox86: Fix APIC 0x40 error when CPU online and Host s3 resume
Keir Fraser [Tue, 17 Mar 2009 14:53:05 +0000 (14:53 +0000)]
x86: Fix APIC 0x40 error when CPU online and Host s3 resume

disable_APIC_timer actually is not useful here. Actually it will
trigger a local APIC error when masking the LVT entry when vector is
zero (before timer is inited) on Intel P6 family. This APIC error(40)
appears when online the offlined CPU and Host S3 resume.

Signed-off-by: Liping Ke <liping.ke@intel.com>
Signed-off-by: Gang Wei <gang.wei@intel.com>
xen-unstable changeset:   19335:dc5441bf3ddcfb14045333c9992fd919c5d79a24
xen-unstable date:        Thu Mar 12 11:16:54 2009 +0000

16 years agoFix xenstore permissions for Solaris domUs.
Keir Fraser [Tue, 17 Mar 2009 14:52:46 +0000 (14:52 +0000)]
Fix xenstore permissions for Solaris domUs.

Solaris domUs use hvmpv/ and guest/ frontend xenstore directories.

Signed-off-by: John Levon <john.levon@sun.com>
xen-unstable changeset:   19334:8ecf3ecc888e6dc7ddf39c078929f748745a84f9
xen-unstable date:        Thu Mar 12 11:14:22 2009 +0000

16 years agolibxc: Replace bzero() usage with memset().
Keir Fraser [Tue, 17 Mar 2009 14:51:45 +0000 (14:51 +0000)]
libxc: Replace bzero() usage with memset().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19315:75fa5c00a100e843323414c2406f1396f2367195
xen-unstable date:        Thu Mar 12 08:34:07 2009 +0000

16 years agox86 hvm: Fix hvmemul_read_msr().
Keir Fraser [Tue, 17 Mar 2009 14:51:18 +0000 (14:51 +0000)]
x86 hvm: Fix hvmemul_read_msr().

Original patch by Christoph Egger <christoph.egger@amd.com>

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19313:5b8f9ef92e00fe5070f5470fc1e3e32b9e85efd5
xen-unstable date:        Wed Mar 11 19:13:47 2009 +0000

16 years agox86: Mask X86_FEATURE_XSAVE in cpuid leaf 1, ecx, as we don't allow
Keir Fraser [Tue, 17 Mar 2009 14:50:26 +0000 (14:50 +0000)]
x86: Mask X86_FEATURE_XSAVE in cpuid leaf 1, ecx, as we don't allow
guests to use it (by setting cr4.OSXSAVE).

This prevents crashes in pvops kernels, as new versions of Linux
try to use this feature.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19288:9ed53e60211954c2a04dfdcae207819276b2cca0
xen-unstable date:        Mon Mar 09 08:54:19 2009 +0000

16 years agominios: Fix 18874 memory clipping
Keir Fraser [Tue, 17 Mar 2009 14:48:04 +0000 (14:48 +0000)]
minios: Fix 18874 memory clipping

Fix 18874's memory clipping: there are three page-sized holes between
direct mapping, demand mapping, heap pages and the end of memory.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
xen-unstable changeset:   19287:5a981686bbf85f686bbf9f1e5f77e7da72200f8a
xen-unstable date:        Mon Mar 09 08:43:11 2009 +0000

16 years agoFix cpu selection at the time vCPU allocation
Keir Fraser [Tue, 17 Mar 2009 14:45:32 +0000 (14:45 +0000)]
Fix cpu selection at the time vCPU allocation

After cpu_[online/offline], set bits in cpu_online_map could be not
continuous. Use cycle_cpu() to pick the next one.

Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
xen-unstable changeset:   19276:a44751edcb7637103258d043e92490d561aec186
xen-unstable date:        Fri Mar 06 18:54:09 2009 +0000

16 years agoDo not deadlock in scheduler when sending VIRQ_CON_RING.
Keir Fraser [Tue, 17 Mar 2009 14:45:07 +0000 (14:45 +0000)]
Do not deadlock in scheduler when sending VIRQ_CON_RING.
Instead defer the virq notification to tasklet context.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19275:3fd8f9b349413c5a04d0e3f93e43463f1021c9dc
xen-unstable date:        Fri Mar 06 14:28:27 2009 +0000

Avoid deadlock in tasklet_schedule() after console_force_unlock().

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19296:f57ac4af36b431b10645ee145270ee658f46d58d
xen-unstable date:        Mon Mar 09 09:56:16 2009 +0000

16 years agox86: Fix event-channel access for 32-bit HVM guests.
Keir Fraser [Tue, 17 Mar 2009 14:44:07 +0000 (14:44 +0000)]
x86: Fix event-channel access for 32-bit HVM guests.

Based on a patch by Joe Jin <joe.jin@oracle.com>

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19266:71af89e70fee39954496130e92807c42d1405489
xen-unstable date:        Tue Mar 03 13:17:05 2009 +0000

Fix MAX_EVTCHNS() definition.

Pointed out by Jan Beulich.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19365:2dcdd2fcb945c66ad3b8fcb91d19a9b5115b30f1
xen-unstable date:        Tue Mar 17 13:21:46 2009 +0000

16 years agoWhen a domain crashes, ignore shutdown deferrals.
Keir Fraser [Mon, 2 Mar 2009 14:19:35 +0000 (14:19 +0000)]
When a domain crashes, ignore shutdown deferrals.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19259:c62b453f27d5bf843890d47ec88e39be78efc0b1
xen-unstable date:        Mon Mar 02 14:09:21 2009 +0000

16 years agoxmexample: portability fix
Keir Fraser [Mon, 2 Mar 2009 14:19:13 +0000 (14:19 +0000)]
xmexample: portability fix

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   19255:5e34a89662515c21e686e8a7906d140b470bcb99
xen-unstable date:        Mon Mar 02 11:04:43 2009 +0000

16 years agoacm: Return a valid buffer
Keir Fraser [Mon, 2 Mar 2009 14:18:33 +0000 (14:18 +0000)]
acm: Return a valid buffer

This patch reverts a previous patch trying to fix a memory, even
though I don't think there was any. Now return a valid buffer. All
functions calling this function do free the buffer.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
xen-unstable changeset:   19248:6f207d1eee5c21452d4527fe202c5a3f4d2b815c
xen-unstable date:        Mon Mar 02 10:31:16 2009 +0000

16 years agox86, hvm: gcc44 build fix.
Keir Fraser [Mon, 2 Mar 2009 14:17:50 +0000 (14:17 +0000)]
x86, hvm: gcc44 build fix.

Broken constrain in inline asm.  Bytewise access works with a, b, c, d
registers only, thus "r" is wrong, it must be "q".  gcc 4.4 tries to
use the si register, which doesn't work and thus fails the build.

From: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19243:e5c696aaf2a6e8805231c0c0f1414560262e7005
xen-unstable date:        Sun Mar 01 14:58:07 2009 +0000

16 years agoxenstored: fix use-after free bug
Keir Fraser [Mon, 2 Mar 2009 14:17:28 +0000 (14:17 +0000)]
xenstored: fix use-after free bug

Problem:  Handling requests for one connection can not only zap the
connection itself, due to socket disconnects for example.  It can also
zap *other* connections, due to domain release requests.  Especially
it can zap the connection we have saved a pointer to in the "next"
variable.

From: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19242:226031d62fc53d92df1aa7ba5565e887fa925318
xen-unstable date:        Sun Mar 01 14:50:04 2009 +0000

16 years agox86, time: fix S3 suspend error
Keir Fraser [Mon, 2 Mar 2009 14:17:05 +0000 (14:17 +0000)]
x86, time: fix S3 suspend error

platform_time_calibration() is invoked in S3 when irq is disabled,
which causes ASSERT() error in spin_lock_irq(). spin_lock_irqsave()
saves us.

Signed-off-by: Guanqun Lu <guanqun.lu@intel.com>
xen-unstable changeset:   19240:9af46734ce70fcc7e89f3af1ace876652ec9478f
xen-unstable date:        Sun Mar 01 14:30:35 2009 +0000

16 years agox86, ioapic: Fix S3 suspend error.
Keir Fraser [Mon, 2 Mar 2009 14:16:42 +0000 (14:16 +0000)]
x86, ioapic: Fix S3 suspend error.

Invoke ioapic_pm_state_alloc() earlier,
thus avoiding check_lock() BUG_ON() in spin_lock().

Signed-off-by: Guanqun Lu <guanqun.lu@intel.com>
xen-unstable changeset:   19239:9cad48ba52b0dd83dfeae014aaac7a16af0585dc
xen-unstable date:        Sun Mar 01 14:17:08 2009 +0000

16 years agoxen: backport of microcode updates from xen-unstable
Keir Fraser [Mon, 2 Mar 2009 11:26:44 +0000 (11:26 +0000)]
xen: backport of microcode updates from xen-unstable

18406 x86: constify microcode hypercall argument
18475 x86: microcode update support for AMD CPUs
18481 x86: Fix 32-bit build after AMD microcode update patch.
18483 x86, microcode: Clean up for Xen coding style, and disable for now
18485 x86, microcode: More code cleanups.
18487 x86, microcode: Do not run microcode update in IRQ context.
18488 x86, microcode: Free microcode_info struct at end of hypercall.
18509 x86: Allow continue_hypercall_on_cpu() to be called from within
    an existing continuation handler. This fix is needed for the new
    method of microcode re-programming.
18519 x86,amd,microcode: fix hypercall return code
19059 x86: update microcode support

From: Hans Rosenfeld <hans.rosenfeld@amd.com>
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
16 years agoxenconsole: Fix pty handling
Keir Fraser [Fri, 20 Feb 2009 17:03:57 +0000 (17:03 +0000)]
xenconsole: Fix pty handling

I printed the terminal attributes after openpty() and they were
garbage on the first console, valid on the second etc.
openpty() gets garbage in (uninitialized attributes MODIFIED by
cfmakeraw()). It sets the slave to the attributes requested. Using
uninitialized data for cfmakeraw->openpty results in pty attributes
that may even have the receiver disabled. Closing the slave just hides
the bug as these attributes disappear and hope the slave will be
reopened and initialized.

From: Juergen Hannken-Illjes <hannken@netbsd.org>
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   19238:f8187a343ad2bdbfe3166d7ee7e3d55a9f157fdc
xen-unstable date:        Fri Feb 20 17:02:36 2009 +0000

16 years agoxenconsoled: make guest console visible on NetBSD dom0
Keir Fraser [Fri, 20 Feb 2009 11:44:58 +0000 (11:44 +0000)]
xenconsoled: make guest console visible on NetBSD dom0

After openpty(), slave_fd must be closed or guest console output goes
to the slave while select() in xen console client listens on the
master.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   19237:b749d0aba17f71ab58a51bdfc62d0fb71f70fa27
xen-unstable date:        Fri Feb 20 11:13:11 2009 +0000

16 years agolibxc: xc_ptrace cleanup
Keir Fraser [Fri, 20 Feb 2009 11:44:27 +0000 (11:44 +0000)]
libxc: xc_ptrace cleanup

There are some bugs in PTRACE_PEEK/POKE.
- can't track 2MB pages in 32bit pae mode.
- leakage of mmap/munmap.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
xen-unstable changeset:   19235:9559343fe5e835092a76af0988e49b99c4342714
xen-unstable date:        Fri Feb 20 11:09:46 2009 +0000

16 years agoxend: Fix exception in pci_convert_sxp_to_dict()
Keir Fraser [Fri, 20 Feb 2009 11:42:58 +0000 (11:42 +0000)]
xend: Fix exception in pci_convert_sxp_to_dict()

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
xen-unstable changeset:   19232:84af3ded5b02ba0b3f8647e3bfa993725428633b
xen-unstable date:        Thu Feb 19 11:07:33 2009 +0000

16 years agovt-d: workaround for Mobile Series 4 Chipset
Keir Fraser [Fri, 20 Feb 2009 11:42:30 +0000 (11:42 +0000)]
vt-d: workaround for Mobile Series 4 Chipset

Incorporated VT-d workaround for a sighting on Intel Mobile Series 4
chipset found in Linux iommu.  The sighting is the chipset is not
reporting write buffer flush capability correctly.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
xen-unstable changeset:   19230:bd991b0431aad9a0e8631a09da138a4961117ef3
xen-unstable date:        Thu Feb 19 10:59:43 2009 +0000

16 years agopygrub: fix for NetBSD
Keir Fraser [Fri, 20 Feb 2009 11:41:44 +0000 (11:41 +0000)]
pygrub: fix for NetBSD

Signed-off-by: Frank van der Linden <frank.vanderlinden@sun.com>
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   19229:0c61a377c6278c0d124617a86abfa37eba201d17
xen-unstable date:        Thu Feb 19 10:53:46 2009 +0000

16 years agoxenapi: Correct some syntax errors in xen/xend/XendAPI.py
Keir Fraser [Fri, 20 Feb 2009 11:36:25 +0000 (11:36 +0000)]
xenapi: Correct some syntax errors in xen/xend/XendAPI.py

- usage of undefined variables in error cases (invalid handle
specified) in methods VBD_create, VTPM_destroy, event_unregister
- not imported module 'uuid' in method debug_create results in an
exception

Signed-off-by: Lutz Dube <Lutz.Dube@fujitsu-siemens.com>
xen-unstable changeset:   19208:5ae8ed54e2cd6b26e12f14e40c948c024ba6273d
xen-unstable date:        Fri Feb 13 09:38:16 2009 +0000

16 years agox86 hvm: Allow restore of old images with different segment attribute format.
Keir Fraser [Fri, 20 Feb 2009 11:33:59 +0000 (11:33 +0000)]
x86 hvm: Allow restore of old images with different segment attribute format.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   19204:e6f1c66874d55fcf76ebdd4130ba55a3c8952b55
xen-unstable date:        Fri Feb 13 09:29:52 2009 +0000

16 years agoxm save: Display help text if bad options specified.
Keir Fraser [Thu, 12 Feb 2009 11:13:59 +0000 (11:13 +0000)]
xm save: Display help text if bad options specified.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   19197:94e12fa57816c26f8b76061f17c33928be202c85
xen-unstable date:        Thu Feb 12 10:53:10 2009 +0000

16 years agorombios: fix int15/86h (wait for microseconds)
Keir Fraser [Thu, 12 Feb 2009 11:13:27 +0000 (11:13 +0000)]
rombios: fix int15/86h (wait for microseconds)

The bcc compiler generates wrong stack pointer offset of a local
variable within ASM code if another local variable is declared
later.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
xen-unstable changeset:   19196:a624353a668d72d3c3397ae19c3437d5173101f9
xen-unstable date:        Thu Feb 12 10:52:05 2009 +0000

16 years agoxend: PCIQuirk`__devIsUnconstrained refers to an undeclared variable
Keir Fraser [Thu, 12 Feb 2009 11:11:00 +0000 (11:11 +0000)]
xend: PCIQuirk`__devIsUnconstrained refers to an undeclared variable
if /etc/xen/xend-pci-permissive.sxp doesn't exist.

Signed-off-by: David Edmondson <dme@sun.com>
xen-unstable changeset:   19191:1a786ec606e491895c8d2d2f0bdc3b880cbe60ff
xen-unstable date:        Wed Feb 11 10:45:34 2009 +0000

16 years agopciif: Fix typo in constant definition.
Keir Fraser [Thu, 12 Feb 2009 11:10:31 +0000 (11:10 +0000)]
pciif: Fix typo in constant definition.

Signed-off-by: David Edmondson <dme@sun.com>
xen-unstable changeset:   19190:1a2c446d79877bd84e74abdf2cfe1f39b3636cf4
xen-unstable date:        Wed Feb 11 10:45:19 2009 +0000

16 years agoblktap: Fix check_gcrypt
Keir Fraser [Thu, 12 Feb 2009 11:09:23 +0000 (11:09 +0000)]
blktap: Fix check_gcrypt

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
xen-unstable changeset:   19189:a55919061d7950541089f454559e6a5a4cfb05c7
xen-unstable date:        Wed Feb 11 10:44:42 2009 +0000

16 years agominios: fix p2m on x86
Keir Fraser [Thu, 12 Feb 2009 11:08:37 +0000 (11:08 +0000)]
minios: fix p2m on x86

15675:bf85b467ee89 Fixed p2m on x86_64, but instead broke it on x86.

Signed-off-by: Samuel Thibault <samuel.thibaut@ens-lyon.org>
xen-unstable changeset:   19184:1d4ce9e31fa00cda2ee31ec5af9d5d0fc6880b11
xen-unstable date:        Mon Feb 09 14:22:07 2009 +0000

16 years agox86: ->shutdown() in free_irq() should be passed vector, not irq.
Keir Fraser [Thu, 12 Feb 2009 11:08:07 +0000 (11:08 +0000)]
x86: ->shutdown() in free_irq() should be passed vector, not irq.

Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
xen-unstable changeset:   19176:9dacc372215970bc822843b99fbc9be41572f8c5
xen-unstable date:        Fri Feb 06 10:39:10 2009 +0000

16 years agoFix PCI passthrough for devices w/o iomem.
Keir Fraser [Thu, 12 Feb 2009 11:07:41 +0000 (11:07 +0000)]
Fix PCI passthrough for devices w/o iomem.

From: Manuel Bouyer <bouyer@netbsd.org>
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   19173:92557a0b021fe02a69f6ce7fc5660d50b8f092c8
xen-unstable date:        Thu Feb 05 15:08:53 2009 +0000

16 years agox86: recover pat value for bsp after S3 resume.
Keir Fraser [Thu, 12 Feb 2009 11:07:15 +0000 (11:07 +0000)]
x86: recover pat value for bsp after S3 resume.

host pat is set to cover all memory types by Xen, which is
necessary to support guest mtrr/pat, especially when device
is passthroughed with VT-d. However pat on bsp is not=20
recovered which could make assigned device defunct after S3
resume

Signed-off-by Kevin Tian <kevin.tian@intel.com>
xen-unstable changeset:   19167:8303bd33d0304ed4f4edc94960c874eabad60563
xen-unstable date:        Thu Feb 05 12:14:09 2009 +0000

16 years agox86: Clean up PV guest LDT handling.
Keir Fraser [Thu, 12 Feb 2009 11:05:54 +0000 (11:05 +0000)]
x86: Clean up PV guest LDT handling.
 1. Do not touch deferred_ops in invalidate_shadow_ldt(), as we may
 not always be in a context where deferred_ops is valid.
 2. Protected the shadow LDT with a lock, now that mmu updates are not
 protected by the per-domain lock.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19161:13a0272c8c024fca83bc991c7e2da992d07bc8eb
xen-unstable date:        Wed Feb 04 15:08:46 2009 +0000

16 years agoxend: fix vncconsole option
Keir Fraser [Wed, 4 Feb 2009 13:17:30 +0000 (13:17 +0000)]
xend: fix vncconsole option
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19157:7a3124098155e710147420047538dc2ef785633d
xen-unstable date:        Wed Feb 04 12:43:11 2009 +0000

16 years agoxm: Improve xm error if booted native
Keir Fraser [Wed, 4 Feb 2009 13:16:18 +0000 (13:16 +0000)]
xm: Improve xm error if booted native

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
xen-unstable changeset:   19153:7e15ccb7bbd88e550ada6a6b86196cc4e5d880b6
xen-unstable date:        Wed Feb 04 11:58:25 2009 +0000

16 years agodocs: Add detach console note to xm man page
Keir Fraser [Wed, 4 Feb 2009 13:15:55 +0000 (13:15 +0000)]
docs: Add detach console note to xm man page

I've been asked too many times about a hint in xm man page on how to
'detach' from a guest console - aka Ctrl+]

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
xen-unstable changeset:   19152:3e1e87052029dfdefbbc7e4f4b8868c6ff24b401
xen-unstable date:        Wed Feb 04 11:57:47 2009 +0000

16 years agoXendAPIStore - do not remove non-existent item
Keir Fraser [Wed, 4 Feb 2009 13:15:37 +0000 (13:15 +0000)]
XendAPIStore - do not remove non-existent item

If list is searched and item not found, then don't attempt to delete
the item.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
xen-unstable changeset:   19151:861ebefa7f396c43c02a47f0bb9977f88dbc9f1b
xen-unstable date:        Wed Feb 04 11:57:17 2009 +0000

16 years agox86_64: Remove bogus extra do_xsm_op from hypercall_args_table
Keir Fraser [Wed, 4 Feb 2009 13:14:03 +0000 (13:14 +0000)]
x86_64: Remove bogus extra do_xsm_op from hypercall_args_table
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19131:686144ac19517049f008b1822e878509700a01e1
xen-unstable date:        Fri Jan 30 10:51:01 2009 +0000

16 years agoacpi: Neaten reboot messages.
Keir Fraser [Wed, 4 Feb 2009 13:13:39 +0000 (13:13 +0000)]
acpi: Neaten reboot messages.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19104:31983c30c460fb405b4fc6ab8e2ae49ada2cfec5
xen-unstable date:        Tue Jan 27 16:41:09 2009 +0000

16 years agox86-64: don't generate dependency files when building compat headers
Keir Fraser [Wed, 4 Feb 2009 13:13:16 +0000 (13:13 +0000)]
x86-64: don't generate dependency files when building compat headers

The generated dependency files weren't correct (as their names get
derived only from the base name of the target file, and there are
public headers with the same base name in different directories), not
needed (as the makefile already listed all necessary dependencies
explicitly), and resulted in the first re-build in an already built
tree to be an almost full re-build since the *.c files explicitly
mentioned in the .*.d result in make not considering them as
intermediate anymore, thus triggering re-generation of the headers,
and hence re-building of almost the entire tree.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   19102:dbf53b739af0434adff50172fc071f718b57b450
xen-unstable date:        Tue Jan 27 11:54:22 2009 +0000

16 years agox86: Fix memory_is_conventional_ram() e820 entry size check.
Keir Fraser [Wed, 4 Feb 2009 13:12:47 +0000 (13:12 +0000)]
x86: Fix memory_is_conventional_ram() e820 entry size check.

Thanks to Joe Cihula for spotting this.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19083:55bf9404a675357c5e0a00a49313124a2e77aaa8
xen-unstable date:        Sun Jan 25 10:12:38 2009 +0000

16 years agoxenoprof: dom0 hypercall could trigger Xen NULL-pointer access
Keir Fraser [Wed, 4 Feb 2009 13:12:10 +0000 (13:12 +0000)]
xenoprof: dom0 hypercall could trigger Xen NULL-pointer access

Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
xen-unstable changeset:   19064:033945166a3a5f3078b1e583bc5e50871ef7e801
xen-unstable date:        Wed Jan 21 11:58:01 2009 +0000

16 years agox86, hvm: Limit output debug port to printable characters.
Keir Fraser [Wed, 4 Feb 2009 13:11:48 +0000 (13:11 +0000)]
x86, hvm: Limit output debug port to printable characters.

In particular, '\r' was causing output corruption, and it's not
actually needed.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19063:a0dddcbd9e32279cfa2b2835beb002b25eb94d46
xen-unstable date:        Tue Jan 20 16:41:29 2009 +0000

16 years agohvmloader: ACPI compiler is not to be built and installed on target system.
Keir Fraser [Wed, 4 Feb 2009 13:11:22 +0000 (13:11 +0000)]
hvmloader: ACPI compiler is not to be built and installed on target system.

Since it is a build prerequisite (in some cases) simply fail the build
if it is not found when it turns out to be required. Just as we would
for any other tool-chain prereq.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19062:adee46c3fbfa3738db50e9e93487435ef249818d
xen-unstable date:        Tue Jan 20 15:10:28 2009 +0000

16 years agox86: Tighten MSR access checks so only dom0 can access cpufreq MSRs,
Keir Fraser [Wed, 4 Feb 2009 13:10:44 +0000 (13:10 +0000)]
x86: Tighten MSR access checks so only dom0 can access cpufreq MSRs,
and then only when it is the cpufreq controller.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19056:c1320922d05e56c61190cd5df0dc105fe6fe4e7a
xen-unstable date:        Fri Jan 16 15:43:59 2009 +0000

16 years agox86: Let dom0 write MPERF/APERF MSRs if it is managing cpufreq.
Keir Fraser [Wed, 4 Feb 2009 13:08:04 +0000 (13:08 +0000)]
x86: Let dom0 write MPERF/APERF MSRs if it is managing cpufreq.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
xen-unstable changeset:   19055:3c9b66b1798dd920a49d9511176aa0c03af9bc00
xen-unstable date:        Fri Jan 16 15:32:12 2009 +0000

16 years agoxenpm: build fix
Keir Fraser [Wed, 4 Feb 2009 13:04:22 +0000 (13:04 +0000)]
xenpm: build fix

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   19043:10a8fae412c5e1b1cd24e58f94f780f180b84ab8
xen-unstable date:        Wed Jan 14 13:43:17 2009 +0000

16 years agox86: Call msix_set_enable for MSI-x interrupt
Keir Fraser [Wed, 4 Feb 2009 13:02:52 +0000 (13:02 +0000)]
x86: Call msix_set_enable for MSI-x interrupt

For MSI-x, we should call msix_set_enable() instead of
msi_set_enable().

Signed-off-by: Jiang Yunhong <yunhong.jiang@intel.com>
xen-unstable changeset:   19035:4f6a2bbdff3fea7db13979ffccb1ae5403ca79c8
xen-unstable date:        Tue Jan 13 15:53:47 2009 +0000

16 years agoetherboot: Apply upstream patch to fix TFTP block wrap.
Keir Fraser [Tue, 27 Jan 2009 16:06:29 +0000 (16:06 +0000)]
etherboot: Apply upstream patch to fix TFTP block wrap.

Build eb-roms.h rather than keeping a version in the repository. To
that end, modify CFLAGS such that etherboot builds correctly
(-std=gnu89 -fno-stack-protector).

Signed-off-by: David Edmondson <dme@sun.com>
16 years agotools: Don't turn CFLAGS into a := (immediate evaluation) variable as
Keir Fraser [Mon, 12 Jan 2009 16:40:43 +0000 (16:40 +0000)]
tools: Don't turn CFLAGS into a := (immediate evaluation) variable as
this breaks 'CFLAGS += -MMD -MF .$(@F).d'

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19028:5ad9fc3c896f404bb7b1e44ed5833a6ee7ea02a5
xen-unstable date:        Mon Jan 12 16:39:07 2009 +0000

16 years agohvmloader: Fix SMBIOS memory device length boundary condition.
Keir Fraser [Mon, 12 Jan 2009 16:17:33 +0000 (16:17 +0000)]
hvmloader: Fix SMBIOS memory device length boundary condition.

dev_memsize ends up 0 when it shouldn't be on 16G boundary conditions.

Signed-off-by: Bill Rieske <brieske@novell.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19027:95d8788bf4be2e8b8d2b984e290f5e19eef1a16c
xen-unstable date:        Mon Jan 12 10:23:55 2009 +0000

16 years agoDo not print `***' when compiling unless we fall over
Keir Fraser [Mon, 12 Jan 2009 16:17:09 +0000 (16:17 +0000)]
Do not print `***' when compiling unless we fall over

This has finally bugged me enough to do something about it:

make prints `***' when it stops due to an error.  With make -j, and/or
with automated build systems, this error marker can be in the middle
of a large logfile.  It is useful to be able to search for it.

Therefore change occurrences of `*' to `=' for information and warning
messages.  `***' is reserved for cases where the build stops.

A corresponding change is being applied to qemu-xen-unstable.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen-unstable changeset:   19026:59d511c4a8d8ba451afc6ebd88e049fa2addf9f5
xen-unstable date:        Mon Jan 12 10:17:12 2009 +0000

16 years agoUse -MMD -MF in tools/* rather than -Wp,-M...
Keir Fraser [Mon, 12 Jan 2009 16:16:33 +0000 (16:16 +0000)]
Use -MMD -MF in tools/* rather than -Wp,-M...

If you use -MMD -MF then the correct .o filename is written to the
.*.d file as the compiler driver arranges everything.  This was done
in 19010:275abe1c5d24 for the hypervisor.

In this patch we do the same elsewhere in the xen-unstable tree,
particularly tools/.  Specifically:
 * Change tools/Rules.mk to add -MMD -MF ... to CFLAGS and set DEPS.
 * Remove -Wp,-MD... from every other Makefile
 * Remove setting of DEPS from every other Makefile
 * Ensure that every Makefile says -include $(DEPS)
 * Ensure that every Makefile's clean target removes $(DEPS)

Some Makefiles were already halfway there, but often for a different
variable name eg PROG_DEP.  The variable name is now standardised in
Rules.mk as DEPS.

I have done a test build with this change, on Debian etch.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen-unstable changeset:   19025:bd78714b8594f5c86a78e5d5cd16879487bbd048
xen-unstable date:        Mon Jan 12 10:16:05 2009 +0000

16 years agoAMD IOMMU: Allocate I/O pagetable from domheap instead of xenheap
Keir Fraser [Mon, 12 Jan 2009 16:13:03 +0000 (16:13 +0000)]
AMD IOMMU: Allocate I/O pagetable from domheap instead of xenheap

Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen-unstable changeset:   19023:1dfc48a8c361051d5bce8156a7942ffaaa42c89d
xen-unstable date:        Fri Jan 09 15:57:57 2009 +0000

16 years agoAuto-build dependency files in hypervisor build tree.
Keir Fraser [Mon, 12 Jan 2009 16:11:44 +0000 (16:11 +0000)]
Auto-build dependency files in hypervisor build tree.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19010:275abe1c5d24009e8a3ffa11cf4685085314cb81
xen-unstable date:        Thu Jan 08 13:08:37 2009 +0000

Fix gcc make-dep cmdline options.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   19013:1025a725d45b69be196e02b5c3478feb7df14780
xen-unstable date:        Thu Jan 08 13:37:16 2009 +0000