]> xenbits.xensource.com Git - people/vhanquez/xen.git/log
people/vhanquez/xen.git
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

16 years agolibxc: Define xc_ffs{8,16,32,64} functions. Use them.
Keir Fraser [Mon, 12 Jan 2009 16:07:33 +0000 (16:07 +0000)]
libxc: Define xc_ffs{8,16,32,64} functions. Use them.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18972:f6b92526e9162f0ea2183903cedee7394da86cfd
xen-unstable date:        Tue Jan 06 09:14:39 2009 +0000

16 years agovmx: Print advanced features during boot
Keir Fraser [Mon, 12 Jan 2009 16:06:10 +0000 (16:06 +0000)]
vmx: Print advanced features during boot
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18970:2c5a2e99a1d69d635843955310488fbd5e1bcdd2
xen-unstable date:        Mon Jan 05 11:52:34 2009 +0000

16 years agoDownload external tarballs from xenbits.xensource.com
Keir Fraser [Mon, 12 Jan 2009 16:05:19 +0000 (16:05 +0000)]
Download external tarballs from xenbits.xensource.com

I have copied the tarballs that the xen-unstable build downloads to
xenbits.xensource.com (which also hosts our hg and git).  This patch
changes the download URLs to use that location.

That way the build will depend on only one external machine, under one
administration, rather than many.  Also it means that the build won't
break if these sites become permanently unavailable or are rearranged
and we don't run a risk of having to panic and beg if a file should go
missing.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen-unstable changeset:   18969:d6889b3b64231dd4c2cd86ca6e66d0a4ef2d5dfc
xen-unstable date:        Mon Jan 05 11:19:16 2009 +0000

16 years agox86: Do not restrict 32-bit EPT to 4GB.
Keir Fraser [Mon, 12 Jan 2009 16:00:45 +0000 (16:00 +0000)]
x86: Do not restrict 32-bit EPT to 4GB.

Signed-off-by: Xin, Xiaohui <xiaohui.xin@intel.com>
xen-unstable changeset:   18943:0af9fbf3f05306d4972cf05e4b6d7be2199a41cb
xen-unstable date:        Mon Dec 29 13:32:32 2008 +0000

16 years agoUpdate Xen version for 3.3.2-rc1-pre
Keir Fraser [Mon, 12 Jan 2009 16:00:17 +0000 (16:00 +0000)]
Update Xen version for 3.3.2-rc1-pre

16 years agoAdded tag RELEASE-3.3.1 for changeset 3c01d6592692a1ed8ff0f35439bbca19415adc9b
Keir Fraser [Mon, 5 Jan 2009 11:10:54 +0000 (11:10 +0000)]
Added tag RELEASE-3.3.1 for changeset 3c01d6592692a1ed8ff0f35439bbca19415adc9b

16 years agoUpdate Xen version for 3.3.1 RELEASE-3.3.1
Keir Fraser [Mon, 5 Jan 2009 11:10:44 +0000 (11:10 +0000)]
Update Xen version for 3.3.1

16 years agoAdded tag 3.3.1-rc4 for changeset 0e942fd61c79db16863fa62671fc57f03538de00
Keir Fraser [Fri, 19 Dec 2008 15:16:13 +0000 (15:16 +0000)]
Added tag 3.3.1-rc4 for changeset 0e942fd61c79db16863fa62671fc57f03538de00

16 years agoUpdate Xen version to 3.3.1-rc4 3.3.1-rc4
Keir Fraser [Fri, 19 Dec 2008 15:16:07 +0000 (15:16 +0000)]
Update Xen version to 3.3.1-rc4

16 years agoxend: Actually restrict a domU's access to xenstore when we mean to --
Keir Fraser [Fri, 19 Dec 2008 15:14:35 +0000 (15:14 +0000)]
xend: Actually restrict a domU's access to xenstore when we mean to --
this means that in some cases it cannot be owner of its own xenstore
nodes.

This bug was pointed out by Daniel Berrange at Red Hat. This patch is
my own more generic fix that automatically covers a range of callers
(albeit the patch is arguably a bit of a hack ;-).

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18933:8c35da364ab39605839869d8eb0ac9b831c370f0
xen-unstable date:        Thu Dec 18 17:18:28 2008 +0000

16 years agox86: Quieten tracing in msi startup/shutdown handlers.
Keir Fraser [Fri, 19 Dec 2008 15:13:50 +0000 (15:13 +0000)]
x86: Quieten tracing in msi startup/shutdown handlers.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18932:54c5d8247aaf0f4fed9f3fa794f7bf57009808f8
xen-unstable date:        Thu Dec 18 17:14:27 2008 +0000

16 years agoAdded tag 3.3.1-rc3 for changeset 5180caa129b7d78bc7d3323d9b2742e2340352b2
Keir Fraser [Wed, 17 Dec 2008 13:52:35 +0000 (13:52 +0000)]
Added tag 3.3.1-rc3 for changeset 5180caa129b7d78bc7d3323d9b2742e2340352b2

16 years agoUpdate Xen version for 3.3.1-rc3 3.3.1-rc3
Keir Fraser [Wed, 17 Dec 2008 13:52:29 +0000 (13:52 +0000)]
Update Xen version for 3.3.1-rc3

16 years agovmx: Do not disable real EFER.NXE even when disabled by guest.
Keir Fraser [Tue, 16 Dec 2008 13:27:29 +0000 (13:27 +0000)]
vmx: Do not disable real EFER.NXE even when disabled by guest.

We must not disable EFER.NXE in host mode since shadow code relies on
accessing shadow mappings with NX set.

We do not want to write EFER on every vmentry/vmexit if we can avoid
it, since it will be somewhat slow.

Finally, we don't believe that any guest relies on NX really being
disabled when EFER.NXE is cleared.

This given, it makes sense to ignore the guest's setting of EFER.NXE.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18922:c3df4b8ea2fc2e86ecf4de97cf3f5516cac8eade
xen-unstable date:        Tue Dec 16 11:54:11 2008 +0000

16 years agoxentop: Fix fprintf() build failure.
Keir Fraser [Tue, 16 Dec 2008 13:26:38 +0000 (13:26 +0000)]
xentop: Fix fprintf() build failure.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18912:68b76ad4faf7086455a7d93b0b666cdeba24fe87
xen-unstable date:        Thu Dec 11 22:32:20 2008 +0000

16 years agoUpdate Xen version for 3.3.1-rc3-pre
Keir Fraser [Mon, 15 Dec 2008 13:31:45 +0000 (13:31 +0000)]
Update Xen version for 3.3.1-rc3-pre

16 years agoAdded tag 3.3.1-rc2 for changeset c992372a3f1a422c8bb19be6894dae4106e31dca
Keir Fraser [Mon, 15 Dec 2008 13:31:12 +0000 (13:31 +0000)]
Added tag 3.3.1-rc2 for changeset c992372a3f1a422c8bb19be6894dae4106e31dca

16 years agoUpdate Xen version for 3.3.1-rc2 3.3.1-rc2
Keir Fraser [Mon, 15 Dec 2008 13:31:04 +0000 (13:31 +0000)]
Update Xen version for 3.3.1-rc2

16 years agovga: Only vga_endboot() if vga_init() completed.
Keir Fraser [Thu, 11 Dec 2008 13:35:07 +0000 (13:35 +0000)]
vga: Only vga_endboot() if vga_init() completed.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18908:33ae75b60de289bb72d8480dddea55dd07c032ab
xen-unstable date:        Thu Dec 11 13:09:59 2008 +0000

16 years agoFix BUILD_BUG_ON()
Keir Fraser [Thu, 11 Dec 2008 13:34:43 +0000 (13:34 +0000)]
Fix BUILD_BUG_ON()

As was noticed on the Linux side, using an array here isn't
appropriate
if the condition is not a compile time constant - gcc allows such
arrays, and hence the intended effect of producing a compiler error is
not achieved in that case. Bit field widths do not know similar
language extensions, and hence always produce a compiler error.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   18899:1419a73316e1d75d3e5d7c1530ac6ae7e7bc7fb4
xen-unstable date:        Thu Dec 11 11:19:01 2008 +0000

16 years agox86: Make MCE panic message more obvious
Keir Fraser [Wed, 10 Dec 2008 14:31:59 +0000 (14:31 +0000)]
x86: Make MCE panic message more obvious

Make it more obvious to the untrained user that machine check reboots
are hardware faults, rather then just saying "CPU context corrupt".

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   18896:415a69b41397923ec27c5b8a821e72b5eb0d4e53
xen-unstable date:        Wed Dec 10 13:30:10 2008 +0000

16 years agolibxc: Fix memory leak in zlib usage
Keir Fraser [Wed, 10 Dec 2008 14:31:29 +0000 (14:31 +0000)]
libxc: Fix memory leak in zlib usage

Any call to inflate() must be followed by inflateEnd(), otherwise the
internal zlib state is leaked.

Signed-off-by: Kevin Wolf <kwolf@suse.de>
xen-unstable changeset:   18892:b73f3646a17fa5fb9fa8edd0a5a4d70dd3353c15
xen-unstable date:        Wed Dec 10 13:14:13 2008 +0000

16 years agotools: Fix a few error-path memory leaks.
Keir Fraser [Wed, 10 Dec 2008 14:30:47 +0000 (14:30 +0000)]
tools: Fix a few error-path memory leaks.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18886:f7f8f44b9292a30707bd645739390ef3d0f22232
xen-unstable date:        Tue Dec 09 12:53:19 2008 +0000

16 years agolibxc: Fix gcc 4.3 build failure
Keir Fraser [Wed, 10 Dec 2008 14:30:14 +0000 (14:30 +0000)]
libxc: Fix gcc 4.3 build failure

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
xen-unstable changeset:   18883:628b3a76dbf40872b2d24ff6ba6ca8b13b0391df
xen-unstable date:        Tue Dec 09 12:42:18 2008 +0000

16 years agox86/32on64: adjust address when converting syscall to fault
Keir Fraser [Wed, 10 Dec 2008 14:25:56 +0000 (14:25 +0000)]
x86/32on64: adjust address when converting syscall to fault

The faulting address is at the start of the syscall instruction rather
than at the following one.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   18876:e34f3e314ecf3c28a295351ade9e02596c0dad81
xen-unstable date:        Fri Dec 05 15:21:59 2008 +0000

16 years agominios: Clip memory not usable by Mini-OS (above 1GB)
Keir Fraser [Wed, 10 Dec 2008 14:25:25 +0000 (14:25 +0000)]
minios: Clip memory not usable by Mini-OS (above 1GB)

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
xen-unstable changeset:   18874:4ffd935c08a3e88fa67328efc4f7bbdbce4a162b
xen-unstable date:        Fri Dec 05 13:06:57 2008 +0000

16 years agocpuidle: revise tsc-save/restore to reduce tsc skew between cpus
Keir Fraser [Wed, 10 Dec 2008 14:24:57 +0000 (14:24 +0000)]
cpuidle: revise tsc-save/restore to reduce tsc skew between cpus

Signed-off-by: Wei Gang <gang.wei@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18873:eed39afde7dd52d623d8c1a0f659507ac630d9fc
xen-unstable date:        Fri Dec 05 13:03:44 2008 +0000

x86, time: Fix scale_reciprocal().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18875:c520af4bde59d5756d6c58014d5ae0b9011840bc
xen-unstable date:        Fri Dec 05 14:46:38 2008 +0000

16 years agovga: Clear the screen when relinquishing VGA to dom0.
Keir Fraser [Wed, 10 Dec 2008 14:23:44 +0000 (14:23 +0000)]
vga: Clear the screen when relinquishing VGA to dom0.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18872:5e066dc410ac872c8976ae4db17891ed1dc5e00e
xen-unstable date:        Fri Dec 05 11:37:20 2008 +0000

vga: Fix screen clear at end of Xen bootstrap.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18890:5535efd8e01141f840f9a8cbc31a9b3a4c9d49e9
xen-unstable date:        Tue Dec 09 13:23:15 2008 +0000

16 years agoFix existence check for MMIO-mapped 16550 UARTs
Keir Fraser [Wed, 10 Dec 2008 14:22:52 +0000 (14:22 +0000)]
Fix existence check for MMIO-mapped 16550 UARTs

Changeset 982e6fce0e47 added an existence test for UARTs.
Unfortunately, the existence test happens before MMIO UARTs are
ioremapped, therefore it may not be probing where it thinks it's
probing.  Rather than moving more code around, I think it's probably
safe to assume the arch code knows what it's doing if it passes in an
MMIO UART.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen-unstable changeset:   18861:cb289056b5233b6a7799633cefdae41a91f8e071
xen-unstable date:        Thu Dec 04 11:36:18 2008 +0000

16 years agoxend: Remember bootloader settings in xenstore
Keir Fraser [Wed, 10 Dec 2008 14:22:12 +0000 (14:22 +0000)]
xend: Remember bootloader settings in xenstore

When xend is restarted, bootloader settings of all running domains are
lost. The attached patches fixes this by saving bootloader and
bootloader_args to xenstore database.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
xen-unstable changeset:   18859:63aa939c114cf88d400514a04d69165cff64759d
xen-unstable date:        Thu Dec 04 11:31:37 2008 +0000

16 years agoxentop: Fix xentop for blktap
Keir Fraser [Wed, 10 Dec 2008 14:21:51 +0000 (14:21 +0000)]
xentop: Fix xentop for blktap

Blktap devices information isn't shown by xentop currently.

xen-unstable c/s 17813 said "blktap devices have statistics
counters (e.g., rd_req, wr_req, oo_req) prepended by tap_".
In fact, it is as follows.

# ls -l /sys/devices/xen-backend/tap-1-769/statistics/
total 0
-r--r--r-- 1 root root 4096 Dec  3 20:37 oo_req
-r--r--r-- 1 root root 4096 Dec  3 20:37 rd_req
-r--r--r-- 1 root root 4096 Dec  3 20:37 rd_sect
-r--r--r-- 1 root root 4096 Dec  3 20:37 wr_req
-r--r--r-- 1 root root 4096 Dec  3 20:37 wr_sect

The statistics counters haven't had "tap_" because it was removed
by linux-2.6.18-xen c/s 34.

This patch reverts xen-unstable c/s 17813, then we can get the
blktap devices information by using xentop.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   18858:7338f6301067c7298eb4b3ff44992c53488b0df7
xen-unstable date:        Wed Dec 03 15:58:23 2008 +0000

16 years agoAMD IOMMU: Invalidate all pages on domain destruction
Keir Fraser [Wed, 10 Dec 2008 14:21:28 +0000 (14:21 +0000)]
AMD IOMMU: Invalidate all pages on domain destruction

Attached patch adds support to invalidate all pages associated with
the same domain ID on domain destruction.

Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen-unstable changeset:   18857:bb768351060037735c9ee4dfef996e198cb4d4bb
xen-unstable date:        Wed Dec 03 15:56:33 2008 +0000

16 years agoAMD IOMMU: Propagate HyperTransport settings from IVHD table to
Keir Fraser [Wed, 10 Dec 2008 14:21:08 +0000 (14:21 +0000)]
AMD IOMMU: Propagate HyperTransport settings from IVHD table to
control register

Attached patch propagate HyperTransport settings suggested by IVHD
table to iommu control register(MMIO offset 0018h).

Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen-unstable changeset:   18856:f571834d3f5d9f24bf978139d610c97178af009d
xen-unstable date:        Wed Dec 03 15:56:05 2008 +0000

16 years agoAMD IOMMU: Fix event log interrupt handling
Keir Fraser [Wed, 10 Dec 2008 14:20:47 +0000 (14:20 +0000)]
AMD IOMMU: Fix event log interrupt handling

Reset EventLogInt bit in iommu status register(MMIO offset 2020h) in
event log interrupt handler, to show software has handled the
interrupt. Completion wait interrupt is disabled.

Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen-unstable changeset:   18855:5c121966ad9acb91a850f491b98655b255c9924d
xen-unstable date:        Wed Dec 03 15:55:32 2008 +0000

16 years agoFix the HVM save hypercall to avoid freeing an uninitalised pointer.
Keir Fraser [Wed, 10 Dec 2008 14:20:24 +0000 (14:20 +0000)]
Fix the HVM save hypercall to avoid freeing an uninitalised pointer.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   18854:00a15b45cae3b23ff557791c0f4debf6749c86cf
xen-unstable date:        Wed Dec 03 15:54:24 2008 +0000

16 years agox86: Fix mfn_to_virt() to cast MFN to address size.
Keir Fraser [Wed, 10 Dec 2008 14:20:01 +0000 (14:20 +0000)]
x86: Fix mfn_to_virt() to cast MFN to address size.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18851:9a6153a89d6642555c9ed4dc386d243c3df23eab
xen-unstable date:        Wed Dec 03 11:38:36 2008 +0000

16 years agox86: No need for short jmp before long hjmp when setting CR0.PE
Keir Fraser [Wed, 10 Dec 2008 14:19:29 +0000 (14:19 +0000)]
x86: No need for short jmp before long hjmp when setting CR0.PE
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18850:28d485613eb3666b7e060c10eee9777a93b9eded
xen-unstable date:        Wed Dec 03 11:21:34 2008 +0000

16 years agoFix Xen panic with oprofile
Keir Fraser [Wed, 10 Dec 2008 14:18:59 +0000 (14:18 +0000)]
Fix Xen panic with oprofile

The attached patch fixes a Xen panic when a domain is shutdown before
oprofile is stopped. Without this patch, free_xenoprof_pages() is
called before the domain is destroyed and that, in turn, prevents
oprofile from cleaning up pages shared with guests. Shutting down a
domain without terminating oprofile therefore causes a Xen panic at a
later point in time.

Signed-off-by: Niraj Tolia <niraj.tolia@hp.com>
xen-unstable changeset:   18848:fc5208167bb69f7d02247644fd76a82a2649e310
xen-unstable date:        Tue Dec 02 11:53:24 2008 +0000

16 years agopvgrub: value returned by getrtsecs should be BCD
Keir Fraser [Wed, 10 Dec 2008 14:18:16 +0000 (14:18 +0000)]
pvgrub: value returned by getrtsecs should be BCD

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   18847:f39673ce7d6e084d86b2d5c8c77eca63fa469c0a
xen-unstable date:        Mon Dec 01 13:45:46 2008 +0000

16 years agoxend: Fix device release for tap devices
Keir Fraser [Wed, 10 Dec 2008 14:17:45 +0000 (14:17 +0000)]
xend: Fix device release for tap devices

I saw an error message when I shut down a domain.  The error
message showed that release of device(vbd/51712) failed.  But the
device was tap, was not vbd.  I think that a cause of the error
message is
because _releaseDevices() calls destroyDevice() by wrong device class.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   18843:8dbf23c89cc6a4fbd7b9063b14e706c065ba1678
xen-unstable date:        Fri Nov 28 13:05:58 2008 +0000

16 years agoUpdate Xen version for 3.3.1-rc2-pre
Keir Fraser [Mon, 1 Dec 2008 11:37:42 +0000 (11:37 +0000)]
Update Xen version for 3.3.1-rc2-pre

16 years agoAdded tag 3.3.1-rc1 for changeset 41cc0c01646f9afc578398ac146c4e7e1129173e
Keir Fraser [Mon, 1 Dec 2008 11:37:00 +0000 (11:37 +0000)]
Added tag 3.3.1-rc1 for changeset 41cc0c01646f9afc578398ac146c4e7e1129173e

16 years agoUpdate Xen version for 3.3.1-rc1 3.3.1-rc1
Keir Fraser [Mon, 1 Dec 2008 11:36:54 +0000 (11:36 +0000)]
Update Xen version for 3.3.1-rc1