]> xenbits.xensource.com Git - people/vhanquez/xen.git/log
people/vhanquez/xen.git
16 years agosvm: Better handling of NMI injection -- avoid nested NMIs.
Keir Fraser [Fri, 23 May 2008 10:09:05 +0000 (11:09 +0100)]
svm: Better handling of NMI injection -- avoid nested NMIs.

We do this by emulating the NMI mask which blocks NMI delivery until
next IRET on native hardware.

Signed-off-by: Gianluca Guida <gianluca.guida@eu.citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17655:2ada81810ddb73f29dfd1eb00de466eec2881ce6
xen-unstable date:        Mon May 19 10:03:26 2008 +0100

16 years agoFix showing of CPU Affinity by xm vcpu-list
Keir Fraser [Fri, 23 May 2008 10:05:12 +0000 (11:05 +0100)]
Fix showing of CPU Affinity by xm vcpu-list
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   17654:8dce20be0bd5a4d3abaebb84b3c749e8d69bfb48
xen-unstable date:        Mon May 19 09:46:02 2008 +0100

16 years agox86: Fix kexec reservation
Keir Fraser [Fri, 23 May 2008 10:04:46 +0000 (11:04 +0100)]
x86: Fix kexec reservation

The reservation of space for the kexec area in
kexec_reserve_area is incorrect. It specifies the
start address and size to reserve_e820_mem when
the args should be start and end.

Bug found and fixed by Dave Anderson.

Signed-off-by: Bill Burns <bburns@redhat.com>
xen-unstable changeset:   17653:e66aefdfedcca8319f7ecf9c8d742ae157c2d690
xen-unstable date:        Mon May 19 09:43:42 2008 +0100

16 years agostdvga: handle 64bit io operations
Keir Fraser [Fri, 23 May 2008 10:04:19 +0000 (11:04 +0100)]
stdvga: handle 64bit io operations

Handle 64bit operations in stdvga instead of throwing away the
upper 32bits.

This fixes some noisy xen messages like "invalid io size: 8".

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   17651:3a5750f4a7387cd635328449a03bdc0eb4ae9ce6
xen-unstable date:        Mon May 19 09:40:53 2008 +0100

17 years agoioemu: Do not try to guess backing file format when using qcow vbds.
Keir Fraser [Thu, 15 May 2008 14:11:29 +0000 (15:11 +0100)]
ioemu: Do not try to guess backing file format when using qcow vbds.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
xen-unstable changeset:   17646:e3b13e1ecf6ca61b84c8bdf5ae3e961268c920f5
xen-unstable date:        Thu May 15 15:10:05 2008 +0100

17 years agoAdd ZFS libfsimage support patch
Keir Fraser [Thu, 15 May 2008 08:59:19 +0000 (09:59 +0100)]
Add ZFS libfsimage support patch

Add support to pygrub and libfsimage to boot ZFS root filesystems.
Boot argument of zfs-bootfs is set to describe ZFS root pool and
boot filesystem object number.  Boot argument bootpath is set to
describe the virtual device root mirror components.

Signed-off-by: Susan Kamm-Worrell <susan.kamm-worrell@sun.com>
xen-unstable changeset:   17557:64f790e90d3d4797e298cc5abdfc54cb943687f3
xen-unstable date:        Thu May 01 16:38:56 2008 +0100

[libfsimage/zfs] compilation fix ZFS libfsimage support.

Depending on environments, zfs libfsimage support doesn't compile.
This patch fixes it.

ia64-linux-gnu-gcc  -DPIC -O2 -fomit-frame-pointer
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement
-I/usr/ia64-linux-gnu/
sys-root/usr/include -D__XEN_TOOLS__  -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE  -I../../../tools/libfsimage/common/ -Werror
-Wp,-MD,.zfs_lzjb.opic.d -fPIC -c -o zfs_lzjb.opic zfs_
lzjb.c
In file included from fsys_zfs.h:41,
                 from zfs_lzjb.c:25:
zfs-include/zfs_acl.h:29: error: redefinition of typedef uid_t
/usr/ia64-linux-gnu/sys-root/usr/include/sys/types.h:82: error:
previous declaration of uid_t was here

This depends on how __uid_t is defined in the system header.
No file under the zfs directory uses uid_t so that just removing
the definition in the zfs_acl.h looks reasonable.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen-unstable changeset:   17559:1f24743354ea85d3c6485c986522cb1698169bd1
xen-unstable date:        Fri May 02 13:47:01 2008 +0100

17 years agox86: Fix an S3 bug caused by x_firmware_waking_vector
Keir Fraser [Thu, 15 May 2008 08:55:53 +0000 (09:55 +0100)]
x86: Fix an S3 bug caused by x_firmware_waking_vector

According to ACPI spec., x_firmware_waking_vector in FACS is for
waking up in protected mode and firmware_waking_vector is for in real
mode. Xen once use x_firmware_waking_vector which can make S3 failed
on some platform. This patch fixed the bug by using non-x one.

Signed-off-by: Huacai Chen <huacai.chen@intel.com>
xen-unstable changeset:   17644:29dc52031954896a407a97cba167c197f8e1c0ed
xen-unstable date:        Thu May 15 09:38:00 2008 +0100

17 years agoioemu: Fix PVFB backend to limit frame buffer size
Keir Fraser [Thu, 15 May 2008 08:53:32 +0000 (09:53 +0100)]
ioemu: Fix PVFB backend to limit frame buffer size

The recent fix to validate the frontend's frame buffer description
neglected to limit the frame buffer size correctly.  This lets a
malicious frontend make the backend attempt to map an arbitrary amount
of guest memory, which could be useful for a denial of service attack
against dom0.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
xen-unstable changeset:   17643:9044705960cb30cec385bdca7305bcf7db096721
xen-unstable date:        Thu May 15 09:36:38 2008 +0100

17 years agoxend: fix block protocol mismatch on save/restore
Keir Fraser [Thu, 15 May 2008 08:47:41 +0000 (09:47 +0100)]
xend: fix block protocol mismatch on save/restore

The protocol field of the blkif interface is correct at startup for a
guest of a different mode from dom0 (eg. 32-bit dom0, 64-bit guest).
However, this property is not persisted on save, so a later restore
(or migrate) will setup the block interface with the wrong mode.

Signed-off-by: Herbert van den Bergh <herbert.van.den.bergh@oracle.com>
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
xen-unstable changeset:   17635:049459aec2b10628a8b7474d43a89e2a89b29405
xen-unstable date:        Wed May 14 09:19:05 2008 +0100

17 years agoqemu: Fix shift-insert behavior
Keir Fraser [Thu, 15 May 2008 08:47:08 +0000 (09:47 +0100)]
qemu: Fix shift-insert behavior

This patch is related to Changeset 15635:7bdc9f6407d3
<http://xenbits.xensource.com/staging/xen-unstable.hg?rev/7bdc9f6407d3>
[PVFB] Fix shift key for graphical vnc display.
With above patch, if a user presses shift-insert, qemu sends shift
down, shift up, insert down and then another shift key down (see trace
below).  This makes it impossible to do shift insert pasting or use
guest hot shifted-Fkeys.

Shift Insert trace:
 do_key_event():1135 keycode:2a         shift down
    kbd_put_keycode():539 keycode:2a     send shift down
 do_key_event():1135 keycode:d2         insert down
    kbd_put_keycode():539 keycode:aa     send shift up
    kbd_put_keycode():539 keycode:e0     send insert down
    kbd_put_keycode():539 keycode:52
 do_key_event():1135 keycode:d2         insert up
    kbd_put_keycode():539 keycode:e0     send insert up
    kbd_put_keycode():539 keycode:d2
    kbd_put_keycode():539 keycode:2a     send shift down
 do_key_event():1135 keycode:2a         shift up
    kbd_put_keycode():539 keycode:aa     send shift up

This patch adds a check for the keycode being shiftable, something
other than a keypad key, f1-12 , insert, del , etc. before allowing
the press_shift_up() operation.

Signed-off-by: Pat Campbell <plc@novell.com>
xen-unstable changeset:   17634:feec00994a0b06ec093a4a4779484810a138eef2
xen-unstable date:        Wed May 14 09:16:40 2008 +0100

17 years agoqemu: Send unit_attention on cd-rom not_ready to ready transition
Keir Fraser [Thu, 15 May 2008 08:46:39 +0000 (09:46 +0100)]
qemu: Send unit_attention on cd-rom not_ready to ready transition

Patch sends a UNIT_ATTENTION(6), MEDIUM_MAY_HAVE_CHANGED(0x28) sense
when cdrom transitions from not ready to ready.

ATA Packet interface for CD-ROMS, SFF8020i.pdf. See state diagram
Figure 12, page 82 and Table 44 -recommended Sense Key, ASC

With patch in place HVM win2008 server guest sees the CD/DVD contents
have changed when the media is switched.

Signed-off-by: Pat Campbell <plc@novell.com>
xen-unstable changeset:   17633:a864c0c4d605efceac28106a7072aa8c1ebdea83
xen-unstable date:        Wed May 14 09:15:02 2008 +0100

17 years agoqemu: add 0xe0 prefix to r-ctrl and r-alt keycodes
Keir Fraser [Thu, 15 May 2008 08:46:16 +0000 (09:46 +0100)]
qemu: add 0xe0 prefix to r-ctrl and r-alt keycodes

Patch puts 0xe0 prefix before putting right alt or right cntrl
keycodes. Also adds keysm definition for ISO_Left_Tab.

Signed-off-by: Pat Campbell <plc@novell.com>
xen-unstable changeset:   17632:39566bf4c9f09cc0b14e2c8ea2963e2efdf9f469
xen-unstable date:        Wed May 14 09:13:48 2008 +0100

17 years agoioemu: Fix handling of phy: block devices.
Keir Fraser [Wed, 14 May 2008 08:12:27 +0000 (09:12 +0100)]
ioemu: Fix handling of phy: block devices.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen-unstable changeset:   17631:cb22b23156a4b72455d733f547d0c2a59810bed5
xen-unstable date:        Wed May 14 09:11:40 2008 +0100

17 years agoSVM: clean up __get_instruction_length_from_list()
Keir Fraser [Tue, 13 May 2008 14:54:31 +0000 (15:54 +0100)]
SVM: clean up __get_instruction_length_from_list()

Remove unused arguments, fix its behaviour near page boundaries,
inject appropriate pagefaults, and inject #GP if the instruction is
not decodable or %eip is not pointing to valid RAM.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17575:01aa7c088e983cd54b61faeb3ff533581714a26f
xen-unstable date:        Tue May 06 13:32:18 2008 +0100

17 years agoioemu: Fix PVFB backend to validate frontend's frame buffer
Keir Fraser [Tue, 13 May 2008 14:34:33 +0000 (15:34 +0100)]
ioemu: Fix PVFB backend to validate frontend's frame buffer
description

A buggy or malicious frontend can describe its shared framebuffer to
the backend in a way that makes the backend map an arbitrary amount of
guest memory, malloc an arbitrarily large internal buffer, copy
arbitrary memory to that buffer, even beyond its end.  A domU running
a malicious frontend can abuse the former two for denial of service
attacks against dom0.  It can abuse the third to write arbitrary
backend memory.  It can abuse all three to terminate or crash the
backend.  Arbitrary code execution looks quite feasible.

From: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17630:53195719f7621110dab7a97a2bca292b73baa715
xen-unstable date:        Tue May 13 15:08:17 2008 +0100

17 years agox86: only print pages' mfn-s in dump_pageframe_info()
Keir Fraser [Tue, 13 May 2008 14:23:51 +0000 (15:23 +0100)]
x86: only print pages' mfn-s in dump_pageframe_info()

Printing page_to_maddr() and page_to_mfn() of the same page is
redundant, and _p(page_to_maddr(page)) is even incorrect on x86/PAE.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   17613:a6e2679b1aad89d654d0af7f973f338d3f2cd9db
xen-unstable date:        Mon May 12 10:16:18 2008 +0100

17 years agox86: fix a few 32-on-64 compat mode issues
Keir Fraser [Tue, 13 May 2008 14:23:24 +0000 (15:23 +0100)]
x86: fix a few 32-on-64 compat mode issues

- handle VCPUOP_register_vcpu_info and VCPUOP_get_physid (and add
  respective layout checks)
- add missing structure size check for struct vcpu_info
- add missing layout check for vcpu_set_periodic_timer
- handle VCPUOP_set_singleshot_timer via argument translation as the
  structure sizes differ (due to padding in 64-bits)

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   17612:945394931d9e5cb6094f5117acc0a9f55e1019d9
xen-unstable date:        Mon May 12 10:15:07 2008 +0100

17 years agoioemu: fix disk format security vulnerability
Keir Fraser [Tue, 13 May 2008 14:19:47 +0000 (15:19 +0100)]
ioemu: fix disk format security vulnerability

* make the xenstore reader in qemu-dm's startup determine which
  of qemu's block drivers to use according to the xenstore
  backend `type' field.  This `type' field typically comes from
  the front of the drive mapping string in ioemu.  The
  supported cases are:
    xm config file string      `type'  image format    qemu driver
     phy:[/dev/]<device>        phy     raw image       bdrv_raw
     file:<filename>            file    raw image       bdrv_raw
     tap:aio:<filename>         tap     raw image       bdrv_raw
     tap:qcow:<image>           tap     not raw         autoprobe
     tap:<cow-fmt>:<image>      tap     named format    bdrv_<cow-fmt>
  It is still necessary to autoprobe when the image is specified as
  `tap:qcow:<image>', because qemu distinguishes `qcow' and `qcow2'
  whereas blktap doesn't; `qcow' in xenstore typically means what
  qemu calls qcow2.  This is OK because qemu can safely distinguish
  the different cow formats provided we know it's not a raw image.

* Make the format autoprobing machinery never return `raw'.  This has
  two purposes: firstly, it arranges that the `tap:qcow:...' case
  above can be handled without accidentally falling back to raw
  format.  Secondly it prevents accidents in case the code changes in
  future: autoprobing will now always fail on supposed cow files which
  actually contain junk, rather than giving the guest access to the
  underlying file.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen-unstable changeset:   17606:e3be00bd6aa963aca563692c271af762f9380ba0
xen-unstable date:        Mon May 12 10:09:12 2008 +0100

17 years agoxend: Fix and improve error handling for failed suspend/migrate
Keir Fraser [Tue, 13 May 2008 14:16:59 +0000 (15:16 +0100)]
xend: Fix and improve error handling for failed suspend/migrate

This has been broken since cset 16964:5d84464dc1fc
Also deal better with very early errors (close sender side socket)

Signed-off-by: Steven Hand <steven.hand@cl.cam.ac.uk>
xen-unstable changeset:   17601:c99a88623eda83d8e02f4b6d7c32bc4c6d298d8a
xen-unstable date:        Thu May 08 14:33:31 2008 +0100

17 years agox86 hvm: Warn only once per time source when the periodic tiemout is
Keir Fraser [Tue, 13 May 2008 14:15:02 +0000 (15:15 +0100)]
x86 hvm: Warn only once per time source when the periodic tiemout is
set 'too small'.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17579:cc953475ab149a61defff06de237295a7feb882d
xen-unstable date:        Tue May 06 16:20:54 2008 +0100

17 years agox86 hvm: Support interrupt delivery for PIT channel 0 when in modes 3 and 4.
Keir Fraser [Tue, 13 May 2008 14:14:34 +0000 (15:14 +0100)]
x86 hvm: Support interrupt delivery for PIT channel 0 when in modes 3 and 4.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17578:a95c2e36d6fda747279123ab13bfaf40c4041337
xen-unstable date:        Tue May 06 16:20:24 2008 +0100

17 years agox86, hvm: stdvga cache always on
Keir Fraser [Tue, 13 May 2008 14:12:54 +0000 (15:12 +0100)]
x86, hvm: stdvga cache always on

currently the hypervisor vga cache (stdvga.c) enables itself only in
graphical mode and in the a0000h-affffh range. However there is no
reason for this: it already allocates enought memory to map the whole
vram. I am attaching a patch that implements the bank switching
mechanism in stdvga.c, allowing the cache to be always enabled when
the emulated graphic card is in VGA mode.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17572:d5589865bfce91bf65c34bd56e466bf26ca4176f
xen-unstable date:        Tue May 06 10:19:10 2008 +0100

17 years agolibxc foreign address translation bug
Keir Fraser [Tue, 13 May 2008 14:11:11 +0000 (15:11 +0100)]
libxc foreign address translation bug

In the xc_translate_foreign_address function from libxc, there is a
check on the page directory entry to see if the page is 4K or 4M.
However, the check is looking at bit 3, when it should be looking at
bit 7.  This patch fixes the problem.

Signed-off-by: Bryan D. Payne <bryan@thepaynes.cc>
xen-unstable changeset:   17558:a353dd2ab9445036351c5da5c14555b82bc85ae6
xen-unstable date:        Fri May 02 13:46:16 2008 +0100

17 years agoXEN_GUEST_HANDLE_00030205() compat macro is broken. Remove it and
Keir Fraser [Fri, 2 May 2008 13:23:07 +0000 (14:23 +0100)]
XEN_GUEST_HANDLE_00030205() compat macro is broken. Remove it and
open-code an alternative at its two invocation sites.

Based on a patch by Jan Beulich.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   16778:491c283207945c5acdad8f9bc1f64c76511d83b6
xen-unstable date:        Tue Jan 22 10:18:58 2008 +0000

17 years agodocs: Do not reference stale external websites.
Keir Fraser [Thu, 1 May 2008 12:48:15 +0000 (13:48 +0100)]
docs: Do not reference stale external websites.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17547:b2a036d390dbce2a0359740da0c52906d749eead
xen-unstable date:        Thu May 01 13:47:08 2008 +0100

17 years agoxenstored: Fix xenstored abort when connection dropped.
Keir Fraser [Thu, 1 May 2008 09:17:39 +0000 (10:17 +0100)]
xenstored: Fix xenstored abort when connection dropped.

If a connection is dropped with pending input and output data then the
connection will be dereferenced by both handle_input and handle_output
resulting in a double free when the main loop dereferences the
connection.

Fix this issue by taking/releasing a reference over the calls to
handle_input and handle_output separately and checking the result of
talloc_free to see if the connection went away.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
xen-unstable changeset:   17532:5e5bc5b2bb6d4d71c0de97c15448f2f991f4271d
xen-unstable date:        Thu May 01 10:00:00 2008 +0100

17 years agox86 time: Read platform time before locally-extrapolated time during
Keir Fraser [Thu, 1 May 2008 09:17:10 +0000 (10:17 +0100)]
x86 time: Read platform time before locally-extrapolated time during
calibration and frequency changes. This places the variable delay
(acquiring the platform_timer_lock) safely as the very first thing we
do, avoiding a variable delay /between/ computing the two timestamps.

Problem diagnosed by Dave Winchell <dwinchell@virtualiron.com>

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17526:013a47065e8c4e815e3b1aba0883341c19238e82
xen-unstable date:        Thu May 01 09:45:44 2008 +0100

17 years agox86: Fix a typo in shadow_get_and_create_l1e().
Keir Fraser [Thu, 1 May 2008 09:15:44 +0000 (10:15 +0100)]
x86: Fix a typo in shadow_get_and_create_l1e().

The typo is benign because sh_page_fault() gates the call to
shadow_get_and_create_l1e() on an equivalent test.

Signed-off-by: Tim Deegan <tim.deegan@citrix.com>
xen-unstable changeset:   17505:bc7ee2f93852b0ac1e644a5604dda223f12b8604
xen-unstable date:        Wed Apr 23 13:32:58 2008 +0100

17 years agox86/hvm: fix copy-and-paste mistakes
Keir Fraser [Thu, 1 May 2008 09:15:18 +0000 (10:15 +0100)]
x86/hvm: fix copy-and-paste mistakes
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   17500:5355726f01b66565a55ef2201bebd283c1f9a384
xen-unstable date:        Tue Apr 22 14:40:34 2008 +0100

17 years agovtpm: Small makefile fix.
Keir Fraser [Thu, 1 May 2008 09:14:53 +0000 (10:14 +0100)]
vtpm: Small makefile fix.
Signed-off-by: Jason Andryuk <the_deuce@yahoo.com>
xen-unstable changeset:   16935:daf1862c4ee50e5d57304e80bd62ba40b8565a3a
xen-unstable date:        Wed Jan 30 09:31:35 2008 +0000

17 years agoAdded tag RELEASE-3.2.1 for changeset d2eb5fad9242b4b876c464a69f3fbef481caaa69
Keir Fraser [Fri, 25 Apr 2008 13:03:45 +0000 (14:03 +0100)]
Added tag RELEASE-3.2.1 for changeset d2eb5fad9242b4b876c464a69f3fbef481caaa69

17 years agoUpdate Xen version to 3.2.1 RELEASE-3.2.1
Keir Fraser [Fri, 25 Apr 2008 13:03:39 +0000 (14:03 +0100)]
Update Xen version to 3.2.1

17 years agoshadow: Fix TLB flushing in the second pass of sh_prealloc() in the
Keir Fraser [Fri, 25 Apr 2008 12:28:16 +0000 (13:28 +0100)]
shadow: Fix TLB flushing in the second pass of sh_prealloc() in the
case where multiple vcpus use the same pagetables.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   17520:7689e311f3b5ee4a4d547405c73e40ab689875f0
xen-unstable date:        Fri Apr 25 13:27:19 2008 +0100

17 years agoAdded tag 3.2.1-rc8 for changeset 0471528ee64ffad794e880541e63aae6836c1241
Keir Fraser [Wed, 23 Apr 2008 08:17:14 +0000 (09:17 +0100)]
Added tag 3.2.1-rc8 for changeset 0471528ee64ffad794e880541e63aae6836c1241

17 years agoUpdate Xen version to 3.2.1-rc8 3.2.1-rc8
Keir Fraser [Wed, 23 Apr 2008 08:16:45 +0000 (09:16 +0100)]
Update Xen version to 3.2.1-rc8

17 years agox86: Reduce assertion aggressiveness in send_IPI_mask().
Keir Fraser [Wed, 23 Apr 2008 08:16:17 +0000 (09:16 +0100)]
x86: Reduce assertion aggressiveness in send_IPI_mask().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17503:a5319f23db7c0985ac7ac84a998fedf435565062
xen-unstable date:        Wed Apr 23 09:15:34 2008 +0100

17 years agofiglet: Fix handling of full final line of octal output.
Keir Fraser [Wed, 23 Apr 2008 08:02:46 +0000 (09:02 +0100)]
figlet: Fix handling of full final line of octal output.
It should not be terminated with a backslash.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17502:4f9284a5d3ab4fb402e6838f39fb2e43ee833779
xen-unstable date:        Wed Apr 23 09:02:15 2008 +0100

17 years agoAdded tag 3.2.1-rc7 for changeset ec9fa27d810ded1d6cbf8348b4632c70c9ee08f9
Keir Fraser [Tue, 22 Apr 2008 11:01:25 +0000 (12:01 +0100)]
Added tag 3.2.1-rc7 for changeset ec9fa27d810ded1d6cbf8348b4632c70c9ee08f9

17 years agoUpdate Xen version to 3.2.1-rc7 3.2.1-rc7
Keir Fraser [Tue, 22 Apr 2008 11:01:21 +0000 (12:01 +0100)]
Update Xen version to 3.2.1-rc7

17 years agox86_emulate: Disable writeback if BSF/BSR are passed zero input.
Keir Fraser [Tue, 22 Apr 2008 10:54:13 +0000 (11:54 +0100)]
x86_emulate: Disable writeback if BSF/BSR are passed zero input.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17496:1cc4df5c7fe8b34de2a3258f1cafec94540d1712
xen-unstable date:        Tue Apr 22 11:44:56 2008 +0100

17 years agox86: Fix handling of BSF and BSR instructions.
Keir Fraser [Tue, 22 Apr 2008 10:52:36 +0000 (11:52 +0100)]
x86: Fix handling of BSF and BSR instructions.

 1. We cannot rely on BSF/BSR leaving the destination register intact
    if the source is zero (according to Intel manuals)
 2. We race clear_bit() in find_first_bit(), which may occur after
    SCAS but before BSF. So we must handle zero input to BSF.

Signed-off-by: Naoki Nishiguchi <nisiguti@jp.fujitsu.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17495:fec632d30571c40f05e6638477472500ef9cb2c7
xen-unstable date:        Tue Apr 22 11:43:10 2008 +0100

17 years agox86_emulate: BT instruction does not write to its 'destination' operand.
Keir Fraser [Tue, 22 Apr 2008 10:49:56 +0000 (11:49 +0100)]
x86_emulate: BT instruction does not write to its 'destination' operand.

This fixes w2k3 guests occasionally writing back to read-only registers.

Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com>
xen-unstable changeset:   17492:d9a74b8e9b1a345cc3d82efb837014e5658522c2
xen-unstable date:        Tue Apr 22 10:27:04 2008 +0100

17 years agoCache figlet output across builds, and provide src-tarball target
Keir Fraser [Mon, 21 Apr 2008 19:16:48 +0000 (20:16 +0100)]
Cache figlet output across builds, and provide src-tarball target
which creates figlet output and then deletes figlet itself (which is
not licensed under GPL).

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17488:b2e28707ecbb
xen-unstable date:        Mon Apr 21 20:08:29 2008 +0100

src-tarball: Remove source control metadata.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17489:b3e53e17d87a
xen-unstable date:        Mon Apr 21 20:21:39 2008 +0100

17 years agoAdded tag 3.2.1-rc6 for changeset 6c9902d6e07f3f238878bb319a649e67e24dc191
Keir Fraser [Wed, 16 Apr 2008 13:29:39 +0000 (14:29 +0100)]
Added tag 3.2.1-rc6 for changeset 6c9902d6e07f3f238878bb319a649e67e24dc191

17 years agoUpdate Xen version to 3.2.1-rc6 3.2.1-rc6
Keir Fraser [Wed, 16 Apr 2008 13:29:27 +0000 (14:29 +0100)]
Update Xen version to 3.2.1-rc6

17 years agox86, hvm: Fix memory leak.
Keir Fraser [Wed, 16 Apr 2008 08:44:08 +0000 (09:44 +0100)]
x86, hvm: Fix memory leak.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17463:c3efeb3095ac8699d564cdbbe91ca214afe8e4d3
xen-unstable date:        Wed Apr 16 09:32:45 2008 +0100

17 years agotools: Build fixes for *BSD.
Keir Fraser [Tue, 15 Apr 2008 15:09:12 +0000 (16:09 +0100)]
tools: Build fixes for *BSD.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17459:6235c85a145f50cf483e66b731aa55f85832049a
xen-unstable date:        Tue Apr 15 16:07:30 2008 +0100

17 years agoAdded tag 3.2.1-rc5 for changeset 1c26e71aad9972857feeaf07b8762037e7005a53
Keir Fraser [Fri, 11 Apr 2008 12:25:35 +0000 (13:25 +0100)]
Added tag 3.2.1-rc5 for changeset 1c26e71aad9972857feeaf07b8762037e7005a53

17 years agoUpdate Xen version to 3.2.1-rc5 3.2.1-rc5
Keir Fraser [Fri, 11 Apr 2008 12:25:26 +0000 (13:25 +0100)]
Update Xen version to 3.2.1-rc5

17 years agox86 acpi: Correctly obtain information needed for successfully
Keir Fraser [Fri, 11 Apr 2008 12:21:45 +0000 (13:21 +0100)]
x86 acpi: Correctly obtain information needed for successfully
powering off various systems (making use of the optional nature of
PM1b_{cnt,evt}_blk).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
17 years agox86/64 compat: Replace hypervisor BUG_ON() with a cleaner hypercall failure.
Keir Fraser [Fri, 11 Apr 2008 08:18:41 +0000 (09:18 +0100)]
x86/64 compat: Replace hypervisor BUG_ON() with a cleaner hypercall failure.

While trying to run a 32-bit PV domU on a 64-bit hypervisor, I
triggered an assert in the hypervisor.  The assert dealt with the
maximum number of grants that a domU can have.  I made the hypervisor
a bit more graceful by returning an error rather than asserting.

Signed-off-by: Michael Abd-El-Malek <mabdelmalek@cmu.edu>
xen-unstable changeset:   17438:115a1720e976a184b2c044541a99b413b2bf844e
xen-unstable date:        Fri Apr 11 09:10:58 2008 +0100

17 years agolibxenguest: Fix a typo.
Keir Fraser [Fri, 11 Apr 2008 08:18:08 +0000 (09:18 +0100)]
libxenguest: Fix a typo.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   17437:bde269270d9a08722c03a0c1a49a2711be3329a2
xen-unstable date:        Fri Apr 11 09:07:58 2008 +0100

17 years ago[IA64] Add EXTRA_AFLAGS for platform-pci/xcom_asm.S
Keir Fraser [Fri, 11 Apr 2008 08:15:46 +0000 (09:15 +0100)]
[IA64] Add EXTRA_AFLAGS for platform-pci/xcom_asm.S

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
Acked-by: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
xen-unstable changeset:   17068:700f33cc0297703d189570e6feba045555a0b481
xen-unstable date:        Tue Feb 05 09:30:25 2008 -0700

17 years ago[IA64] Add xencomm_arch_hypercall_suspend to fix module load
Keir Fraser [Fri, 11 Apr 2008 08:15:27 +0000 (09:15 +0100)]
[IA64] Add xencomm_arch_hypercall_suspend to fix module load

Make use of split out xencomm_arch_hypercall_suspend to fix the
following module load error:

  Loading xen-platform-pci.ko module
  xen_platform_pci: Unknown symbol xencomm_hypercall_suspend
  insmod: error inserting '/lib/xen-platform-pci.ko':
   -1 Unknown symbol in module
  ERROR: /bin/insmod exited abnormally! (pid 210)

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen-unstable changeset:   17066:c98276a51ff8066eabdd3a5399cfcf3d94bde1d0
xen-unstable date:        Mon Feb 04 08:38:35 2008 -0700

17 years agohvm: Fix a typo in p2m.c.
Keir Fraser [Thu, 10 Apr 2008 15:20:05 +0000 (16:20 +0100)]
hvm: Fix a typo in p2m.c.

Spotted by Xiao Wang <sirouni@yahoo.com.cn>

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17435:09903e0e75287a1920733e4df1f51e7b9a7b9c5d
xen-unstable date:        Thu Apr 10 16:17:28 2008 +0100

17 years agolibxc: Move xg_memalign() into a proper source file, so that it
Keir Fraser [Wed, 9 Apr 2008 16:50:15 +0000 (17:50 +0100)]
libxc: Move xg_memalign() into a proper source file, so that it
definitely does not leak out of tools/libxc. Return to the
ioemu/osdep.c way of checking for posix_memalign() as this works on
Solaris.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17427:5b25d3264f7e3ca1d9e958be8a8543fcf1fc5958
xen-unstable date:        Wed Apr 09 17:49:25 2008 +0100

17 years agoAdded tag 3.2.1-rc4 for changeset f160b3fb58d3c02a227b480513efc1716a63b6e5
Keir Fraser [Wed, 9 Apr 2008 16:05:39 +0000 (17:05 +0100)]
Added tag 3.2.1-rc4 for changeset f160b3fb58d3c02a227b480513efc1716a63b6e5

17 years agoUpdate Xen version to 3.2.1-rc4 3.2.1-rc4
Keir Fraser [Wed, 9 Apr 2008 16:05:34 +0000 (17:05 +0100)]
Update Xen version to 3.2.1-rc4

17 years agox86 hvm: Make sure that we correctly tear down the vlapic periodic
Keir Fraser [Wed, 9 Apr 2008 15:56:24 +0000 (16:56 +0100)]
x86 hvm: Make sure that we correctly tear down the vlapic periodic
timer when the vlapic is destroyed or reset.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   17425:e63b48242116f9909799962ae17a4bff287e5cce
xen-unstable date:        Wed Apr 09 16:32:51 2008 +0100

17 years agosave/restore: Use page-aligned allocations for hypercall args that are
Keir Fraser [Wed, 9 Apr 2008 15:56:05 +0000 (16:56 +0100)]
save/restore: Use page-aligned allocations for hypercall args that are
mlock()ed across other hypercall invocations, to avoid aliasing with
other hypercall arguments, causing spurious unlocking.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   17424:f410fa7f379c3a2fc8d4117188f36899e63e6053
xen-unstable date:        Wed Apr 09 16:31:16 2008 +0100

17 years agox86 libxc: Fix mlock sizes in libxc around vcpu context hypercalls
Keir Fraser [Wed, 9 Apr 2008 15:45:46 +0000 (16:45 +0100)]
x86 libxc: Fix mlock sizes in libxc around vcpu context hypercalls
backing off to the old behaviour if we fail.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   17423:c99dee5e44d68d6a0a5251da86e70cf842160dd0
xen-unstable date:        Wed Apr 09 16:24:46 2008 +0100

17 years agoioemu: Fix rtl8139 emulation so that reboot works correctly in 64-bit
Keir Fraser [Wed, 9 Apr 2008 15:45:21 +0000 (16:45 +0100)]
ioemu: Fix rtl8139 emulation so that reboot works correctly in 64-bit
Windows VMs. Return an error if the guest OS tries to transmit a
packet with the transmitter disabled, so that it doesn't spin forever
waiting for it to complete.

Signed-off-by: Steven Smith <Steven.Smith@eu.citrix.com>
xen-unstable changeset:   17420:40c0dda6eae68ec1bbd3bfd3e812d8b9e34051a0
xen-unstable date:        Wed Apr 09 16:03:40 2008 +0100

17 years agoxenstore: fix canonicalize for metanodes
Keir Fraser [Wed, 9 Apr 2008 15:44:54 +0000 (16:44 +0100)]
xenstore: fix canonicalize for metanodes

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   17418:506c21c5c55547b9445b4f97428e40b5abc7feaa
xen-unstable date:        Wed Apr 09 15:59:54 2008 +0100

17 years agohvm: Allocate memory for hvm domains in batches.
Keir Fraser [Wed, 9 Apr 2008 15:44:16 +0000 (16:44 +0100)]
hvm: Allocate memory for hvm domains in batches.

Without this change, dom0 is unresponsive while the hvm domain's
physmap is populated in xen.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   17416:aee133a8e5e72bc9a6da4bb1619931992da3b6ff
xen-unstable date:        Wed Apr 09 15:25:16 2008 +0100

17 years agovmx: On EPT-enabled Intel CPUs we must explicitly request CR3 load and
Keir Fraser [Wed, 9 Apr 2008 13:58:03 +0000 (14:58 +0100)]
vmx: On EPT-enabled Intel CPUs we must explicitly request CR3 load and
store intercepts.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
17 years agoxenstore: fix Solaris compile with newer GCC versions
Keir Fraser [Wed, 9 Apr 2008 12:33:09 +0000 (13:33 +0100)]
xenstore: fix Solaris compile with newer GCC versions
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17408:cb1f41538756efc93e632e8896b0c2955a82bb51
xen-unstable date:        Wed Apr 09 13:32:21 2008 +0100

17 years agox86_64: Be more careful in emulating 32-bit call gates.
Keir Fraser [Tue, 8 Apr 2008 08:48:53 +0000 (09:48 +0100)]
x86_64: Be more careful in emulating 32-bit call gates.

An assertion could legitimately fire.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17401:324f772239a7062bed404fac02adefa817bf10ca
xen-unstable date:        Tue Apr 08 09:46:57 2008 +0100

17 years agoAdded tag 3.2.1-rc3 for changeset b20c9473f779882d3f844c421c25e3cd52220680
Keir Fraser [Mon, 7 Apr 2008 14:16:50 +0000 (15:16 +0100)]
Added tag 3.2.1-rc3 for changeset b20c9473f779882d3f844c421c25e3cd52220680

17 years agoUpdate Xen version to 3.2.1-rc3 3.2.1-rc3
Keir Fraser [Mon, 7 Apr 2008 14:16:45 +0000 (15:16 +0100)]
Update Xen version to 3.2.1-rc3

17 years agoioemu: advertise write cache feature
Keir Fraser [Mon, 7 Apr 2008 14:13:31 +0000 (15:13 +0100)]
ioemu: advertise write cache feature

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
xen-unstable changeset:   17390:80f3c86feb7f9069dfd2c0cf64302cbce67da6af
xen-unstable date:        Fri Apr 04 15:43:01 2008 +0100

17 years agoxm: When dumping core of an errant domain do not unpause after the
Keir Fraser [Mon, 7 Apr 2008 14:13:07 +0000 (15:13 +0100)]
xm: When dumping core of an errant domain do not unpause after the
dump. This could allow the domain to e.g., access disks after
fail-over.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   17382:0834234fd668cb8004abd6cb2c7cf8a6c3211a64
xen-unstable date:        Fri Apr 04 10:18:45 2008 +0100

17 years agoioemu: advertise write cache as enabled only when it actually is.
Keir Fraser [Mon, 7 Apr 2008 14:12:20 +0000 (15:12 +0100)]
ioemu: advertise write cache as enabled only when it actually is.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
xen-unstable changeset:   17373:b89a5d046aa73918a6fb41a948357d73cbc54bb2
xen-unstable date:        Wed Apr 02 15:30:26 2008 +0100

17 years agotools: Use PATH_MAX for pathname char arrays.
Keir Fraser [Fri, 4 Apr 2008 13:51:19 +0000 (14:51 +0100)]
tools: Use PATH_MAX for pathname char arrays.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17389:633099ff88a848fe0e48dd52d7f3820045c2bf8e
xen-unstable date:        Fri Apr 04 14:49:37 2008 +0100

17 years agodocs: Fix HVM user documentation
Keir Fraser [Tue, 1 Apr 2008 16:32:30 +0000 (17:32 +0100)]
docs: Fix HVM user documentation

Summary of changes:

- replaced VMX with HVM
- added AMD as a vendor of HVM capable processors
- removed LibVNCServer as a requirement for HVM builds
- fixed name of HVM example file
- changed default value of acpi, apic and pae options
- added hap option
- removed reference to cdrom option and integrated it into "disk"
- improved examples for disk option
- replaced vncviewer option with vncconsole
- removed obsolete ne2000 option
- replaced enable-audio with soundhw
- fixed dd usage for creating sparse files (count=0)
- remove acpi=0 hint for Windows guests
- removed reference to (obsolete?) -f option for xm create
- made shutdown advice less Linux centric
- removed comment about save/restore and migration not yet ready

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
xen-unstable changeset:   17335:720552439f74fffe419339d8c30172522b8e4395
xen-unstable date:        Tue Apr 01 17:24:22 2008 +0100

17 years agoConstrain the checks for GCC/ANSI to just those header files that
Keir Fraser [Mon, 31 Mar 2008 17:08:17 +0000 (18:08 +0100)]
Constrain the checks for GCC/ANSI to just those header files that
require it.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17327:da9bd2e81288225c8836e8083430ebcadf696f98
xen-unstable date:        Mon Mar 31 18:05:18 2008 +0100

17 years agoMissed one usage of __extension__ keyword.
Keir Fraser [Mon, 31 Mar 2008 16:50:33 +0000 (17:50 +0100)]
Missed one usage of __extension__ keyword.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
17 years agoRevert all usages of gcc's __extension__ keyword, and instead assert
Keir Fraser [Mon, 31 Mar 2008 16:48:44 +0000 (17:48 +0100)]
Revert all usages of gcc's __extension__ keyword, and instead assert
that our headers are not built with __GNUC__ and __STRICT_ANSI__.

__extension__ had some weird (and buggy) behaviours when nested which
make it a risky proposition for general usage in our header
files. Better to disallow -ansi, -std=c99, and similar gcc options
when building against Xen headers.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17326:615ee2933137e057e625ffdb9c84ace56d07881b
xen-unstable date:        Mon Mar 31 17:43:18 2008 +0100

17 years agox86_64: Initialise upper half of 32-bit parameter registers when
Keir Fraser [Mon, 31 Mar 2008 15:40:34 +0000 (16:40 +0100)]
x86_64: Initialise upper half of 32-bit parameter registers when
making Target Mode BIOS call. Fixes boot problems with some buggy
BIOSes.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17325:ffcc213f87112a9bcae2524dc9dd08bc13911d8c
xen-unstable date:        Mon Mar 31 16:32:33 2008 +0100

17 years agoxend: Improve localtime calculation -- Python time module already
Keir Fraser [Mon, 31 Mar 2008 15:40:13 +0000 (16:40 +0100)]
xend: Improve localtime calculation -- Python time module already
provides the relevant information.

From: Ross Walker <rwalker@medallion.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17323:d24f37b31030bdc9305e40a9a71846e6f79909d7
xen-unstable date:        Mon Mar 31 10:40:43 2008 +0100

17 years agoioemu: ne2k buffer full bug fix, by Marcel Block.
Keir Fraser [Mon, 31 Mar 2008 15:39:47 +0000 (16:39 +0100)]
ioemu: ne2k buffer full bug fix, by Marcel Block.

Backport from qemu upstream.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen-unstable changeset:   17317:d686808b316903120473833738957c049765f49c
xen-unstable date:        Fri Mar 28 11:17:11 2008 +0000

17 years agoioemu: Two qcow2 bug fixes from upstream qemu.
Keir Fraser [Mon, 31 Mar 2008 15:39:19 +0000 (16:39 +0100)]
ioemu: Two qcow2 bug fixes from upstream qemu.

[Qemu-devel] PATCH: qcow2 image corruption
http://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00773.html

[Qemu-devel] [PATCH] qcow2: release refcount table clusters of the old
table, after growing the refcount table
http://lists.gnu.org/archive/html/qemu-devel/2007-04/msg00043.html

Signed-off-by: Kevin Wolf <kwolf@suse.de>
xen-unstable changeset:   17312:892a20f824a7aa5c5ed57ce80fc61f1dffd4b4d2
xen-unstable date:        Thu Mar 27 17:14:41 2008 +0000

17 years agohvm: Allow HVM guests to execute GNTTABOP_setup_table.
Keir Fraser [Fri, 28 Mar 2008 17:59:32 +0000 (17:59 +0000)]
hvm: Allow HVM guests to execute GNTTABOP_setup_table.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17320:6736c28a0d35cf4d25e2e93a98c1443e809f2c50
xen-unstable date:        Fri Mar 28 17:58:36 2008 +0000

17 years agoAdded tag 3.2.1-rc2 for changeset 526f7c11dad884049927786d852ad5cd2dc04972
Keir Fraser [Fri, 28 Mar 2008 11:07:42 +0000 (11:07 +0000)]
Added tag 3.2.1-rc2 for changeset 526f7c11dad884049927786d852ad5cd2dc04972

17 years agoUpdate Xen version to 3.2.1-rc2 3.2.1-rc2
Keir Fraser [Fri, 28 Mar 2008 11:07:33 +0000 (11:07 +0000)]
Update Xen version to 3.2.1-rc2

17 years agox86, vmx: HVM guests are allowed to modify CR2, and the written value
Keir Fraser [Thu, 27 Mar 2008 11:06:15 +0000 (11:06 +0000)]
x86, vmx: HVM guests are allowed to modify CR2, and the written value
should be remembered by Xen.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17306:a294519d97d2fc59ec286b9c4e9988776166053e
xen-unstable date:        Thu Mar 27 11:03:45 2008 +0000

17 years agoPrefix unnamed union structure fields with __extension__ to make it
Keir Fraser [Wed, 26 Mar 2008 09:38:49 +0000 (09:38 +0000)]
Prefix unnamed union structure fields with __extension__ to make it
work properly even in e.g. C99 standard mode.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
xen-unstable changeset:   17288:f5e6cccfdda5537876d6fc2b87ea1124d6043fc8
xen-unstable date:        Tue Mar 25 18:02:00 2008 +0000

17 years agoxend: typo
Keir Fraser [Wed, 26 Mar 2008 09:35:52 +0000 (09:35 +0000)]
xend: typo

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
xen-unstable changeset:   17283:56fda4319623437a5778a8e3d005ee9a797b58a2
xen-unstable date:        Tue Mar 25 10:26:05 2008 +0000

17 years agoioemu: prefix phy devices with /dev/
Keir Fraser [Wed, 26 Mar 2008 09:35:29 +0000 (09:35 +0000)]
ioemu: prefix phy devices with /dev/
just like blkif.py's _parse_uname does for PV guests.  Closes bug #983.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
xen-unstable changeset:   17282:0868396712b5c881bde59e7e4c6122805a32cd01
xen-unstable date:        Tue Mar 25 10:24:45 2008 +0000

17 years agoioemu: IDE should accept SETMULT 0
Keir Fraser [Wed, 26 Mar 2008 09:35:04 +0000 (09:35 +0000)]
ioemu: IDE should accept SETMULT 0
as upstream qemu now does

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
xen-unstable changeset:   17266:aedab7d280cb455d749daeb981df68cc0b1bcf52
xen-unstable date:        Thu Mar 20 17:47:05 2008 +0000

17 years agopv-on-hvm: Fix up linux code after hypercall-type-checking changes.
Keir Fraser [Tue, 25 Mar 2008 10:37:17 +0000 (10:37 +0000)]
pv-on-hvm: Fix up linux code after hypercall-type-checking changes.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   16862:1c826ea72a8018bb29c50958a541764c356a3f51
xen-unstable date:        Wed Jan 23 15:42:52 2008 +0000

17 years agox86_emulate: Fix out-of-tree test harness build.
Keir Fraser [Mon, 24 Mar 2008 18:55:23 +0000 (18:55 +0000)]
x86_emulate: Fix out-of-tree test harness build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
17 years agoAdded tag 3.2.1-rc1 for changeset 30d2dd8d10f993c1df64ae97f64d47119a797e32
Keir Fraser [Mon, 24 Mar 2008 15:40:08 +0000 (15:40 +0000)]
Added tag 3.2.1-rc1 for changeset 30d2dd8d10f993c1df64ae97f64d47119a797e32

17 years agoUpdate Xen version to 3.2.1-rc1 3.2.1-rc1
Keir Fraser [Mon, 24 Mar 2008 15:39:21 +0000 (15:39 +0000)]
Update Xen version to 3.2.1-rc1

17 years agoxend: Fix writing domain's VDI UUID into domain state file.
Keir Fraser [Thu, 20 Mar 2008 17:46:11 +0000 (17:46 +0000)]
xend: Fix writing domain's VDI UUID into domain state file.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17265:8f96b9d78ff1a5f448711ec18ab0b007e826128d
xen-unstable date:        Thu Mar 20 17:45:00 2008 +0000

17 years agox86_emulate: Return X86EMUL_UNHANDLEABLE if mode_iopl() or
Keir Fraser [Thu, 20 Mar 2008 12:14:53 +0000 (12:14 +0000)]
x86_emulate: Return X86EMUL_UNHANDLEABLE if mode_iopl() or
mode_ring0() checks cannot be carried out.
Also fix handling of EFLAGS.IF in iret and popf.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17251:f45aa9a14db425d1f726fb1368a8932263de68da
xen-unstable date:        Wed Mar 19 14:06:18 2008 +0000

17 years agolibxc: Remove permute() function from xc_domain_save().
Keir Fraser [Thu, 20 Mar 2008 12:12:57 +0000 (12:12 +0000)]
libxc: Remove permute() function from xc_domain_save().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17250:d1e91aba27584bbefd3650ac8e5174d63b8e5b33
xen-unstable date:        Wed Mar 19 12:41:48 2008 +0000

17 years agox86: fix feature availability for PV guests
Keir Fraser [Thu, 20 Mar 2008 12:11:48 +0000 (12:11 +0000)]
x86: fix feature availability for PV guests

PV guests should not be allowed to believe features not currently
virtualized (in many cases, requiring special MSRs) are available. Of
course it is bad enough that to work on older hypervisors guests will
still need to special case this, but better fix it now than never.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   17238:4b157affc08f75cb0e2d69954357cfb1630e798c
xen-unstable date:        Tue Mar 18 16:05:24 2008 +0000

17 years agosvm: Reported SS.DPL must equal CPL, as this is assumed by generic HVM
Keir Fraser [Thu, 20 Mar 2008 12:11:08 +0000 (12:11 +0000)]
svm: Reported SS.DPL must equal CPL, as this is assumed by generic HVM
code despite the fact that AMD processors do not always maintain this
invariant.

Based on a bug report and proposed patch by Ben Guthro and Robert
Phillips of Virtual Iron.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17235:c4de138175712f661e0a5bbe35b8834711db63b7
xen-unstable date:        Tue Mar 18 15:26:35 2008 +0000

17 years agodomain_shutdown() needs to vcpu_pause_nosync() rather than directly
Keir Fraser [Thu, 20 Mar 2008 12:10:20 +0000 (12:10 +0000)]
domain_shutdown() needs to vcpu_pause_nosync() rather than directly
incrementing the pause_count field. The latter ensures that the VCPU
gets descheduled --- synchronously in the case of the
currently-running VCPU.

Based on a bug report and proposed patch by Ben Guthro and Robert
Phillips of Virtual Iron.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17234:b2a3fe7f5591e3358aede7d05a4e8705e49ae13d
xen-unstable date:        Tue Mar 18 15:23:25 2008 +0000

17 years agoXend forgets to write the domain's VDI UUID into the domain state file
Keir Fraser [Thu, 20 Mar 2008 12:09:40 +0000 (12:09 +0000)]
Xend forgets to write the domain's VDI UUID into the domain state file
once the domain is started (before it's there). Once xend is restarted
it will not know the association between the VBD and VDI anymore due
to the missing UUID. This patch fixes this.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
xen-unstable changeset:   17230:5cbfc6c24d3201ec93b722bc91350be38991c177
xen-unstable date:        Tue Mar 18 13:14:26 2008 +0000