]> xenbits.xensource.com Git - people/vhanquez/xen.git/log
people/vhanquez/xen.git
17 years agoAdded tag RELEASE-3.1.4 for changeset 9c6995d6100fc17ad39732e1b1f6dbda244339c8 3.1-testing
Keir Fraser [Fri, 25 Apr 2008 13:03:12 +0000 (14:03 +0100)]
Added tag RELEASE-3.1.4 for changeset 9c6995d6100fc17ad39732e1b1f6dbda244339c8

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

17 years agoshadow: Fix TLB flushing in the second pass of sh_prealloc() in the
Keir Fraser [Fri, 25 Apr 2008 12:29:14 +0000 (13:29 +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.1.4-rc7 for changeset d60831acd1213646536d74972f318c55991cc5c2
Keir Fraser [Wed, 23 Apr 2008 08:19:00 +0000 (09:19 +0100)]
Added tag 3.1.4-rc7 for changeset d60831acd1213646536d74972f318c55991cc5c2

17 years agoUpdate Xen version to 3.1.4-rc7 3.1.4-rc7
Keir Fraser [Wed, 23 Apr 2008 08:18:52 +0000 (09:18 +0100)]
Update Xen version to 3.1.4-rc7

17 years agox86: Reduce assertion aggressiveness in send_IPI_mask().
Keir Fraser [Wed, 23 Apr 2008 08:18:30 +0000 (09:18 +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:03:29 +0000 (09:03 +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.1.4-rc6 for changeset 99417a533da8e9f2149fc03fbabe552f3b64078e
Keir Fraser [Tue, 22 Apr 2008 11:00:55 +0000 (12:00 +0100)]
Added tag 3.1.4-rc6 for changeset 99417a533da8e9f2149fc03fbabe552f3b64078e

17 years agoUpdate Xen version to 3.1.4-rc6 3.1.4-rc6
Keir Fraser [Tue, 22 Apr 2008 11:00:41 +0000 (12:00 +0100)]
Update Xen version to 3.1.4-rc6

17 years agox86_emulate: Disable writeback if BSF/BSR are passed zero input.
Keir Fraser [Tue, 22 Apr 2008 10:59:39 +0000 (11:59 +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:58:52 +0000 (11:58 +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:55:29 +0000 (11:55 +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 agosrc-tarball: Remove source control metadata.
Keir Fraser [Mon, 21 Apr 2008 19:18:53 +0000 (20:18 +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

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

17 years agoAdded tag 3.1.4-rc5 for changeset b61f13d2fd8f4a216387b56605b2ef99a9f55bb5
Keir Fraser [Fri, 11 Apr 2008 12:24:44 +0000 (13:24 +0100)]
Added tag 3.1.4-rc5 for changeset b61f13d2fd8f4a216387b56605b2ef99a9f55bb5

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

17 years agox86/64 compat: Replace hypervisor BUG_ON() with a cleaner hypercall failure.
Keir Fraser [Fri, 11 Apr 2008 08:19:33 +0000 (09:19 +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:19:11 +0000 (09:19 +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 agoAdded tag 3.1.4-rc4 for changeset 1005065d91f8cc57deb76910cb02a4891c96a23a
Keir Fraser [Wed, 9 Apr 2008 16:05:12 +0000 (17:05 +0100)]
Added tag 3.1.4-rc4 for changeset 1005065d91f8cc57deb76910cb02a4891c96a23a

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

17 years agox86 hvm: Make sure that we correctly tear down the vlapic periodic
Keir Fraser [Wed, 9 Apr 2008 16:02:03 +0000 (17:02 +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 agoioemu: Fix rtl8139 emulation so that reboot works correctly in 64-bit
Keir Fraser [Wed, 9 Apr 2008 15:59:57 +0000 (16:59 +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:59:35 +0000 (16:59 +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:59:14 +0000 (16:59 +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 14:00:25 +0000 (15:00 +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:35 +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 agoAdded tag 3.1.4-rc3 for changeset a6f519b9e98690fe115d3510778b4b0eb2a34707
Keir Fraser [Mon, 7 Apr 2008 14:16:20 +0000 (15:16 +0100)]
Added tag 3.1.4-rc3 for changeset a6f519b9e98690fe115d3510778b4b0eb2a34707

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

17 years agotools: Use PATH_MAX for pathname char arrays.
Keir Fraser [Fri, 4 Apr 2008 13:53:20 +0000 (14:53 +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 ago[IA64] avoid unnecessarily SWIOTLB bounce buffering
Keir Fraser [Thu, 3 Apr 2008 10:40:31 +0000 (11:40 +0100)]
[IA64] avoid unnecessarily SWIOTLB bounce buffering

x86 improved range_straddles_page_boundary() by the c/s
501:5486a234923d. The same discussion applies to ia64. This patch is
ia64 counter part of it.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
linux-2.6.18-xen changeset: ec6e3e18ea314e9520ee6bba898e30228bf3bda4
linux-2.6.18-xen date: Wed Apr 02 10:02:57 2008 -0600

17 years ago[IA64] Define paddr_t.
Keir Fraser [Thu, 3 Apr 2008 10:39:47 +0000 (11:39 +0100)]
[IA64] Define paddr_t.

Temporary build workaround

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
linux-2.6.18-xen changeset:   51:50306c16650087922da4b54b4d222cfd8d17697a
linux-2.6.18-xen date:        Tue Jun 12 15:40:30 2007 -0600

17 years agoConstrain the checks for GCC/ANSI to just those header files that
Keir Fraser [Mon, 31 Mar 2008 17:09:19 +0000 (18:09 +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 agoRevert all usages of gcc's __extension__ keyword, and instead assert
Keir Fraser [Mon, 31 Mar 2008 16:51:33 +0000 (17:51 +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 agoballon sysfs: Avoid sysfs name-clash with Linux memory hotplug
Keir Fraser [Mon, 31 Mar 2008 15:49:23 +0000 (16:49 +0100)]
ballon sysfs: Avoid sysfs name-clash with Linux memory hotplug
infrastructure by renaming to /sys/devices/system/xen_memory/
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
linux-2.6.18-xen changeset:   500:171ffa6bf3a51ddf83d559c4d9312a3603497ff1
linux-2.6.18-xen date:        Fri Mar 28 14:27:38 2008 +0000

17 years agoAvoid kernel hang reading /sys/hypervisor/uuid if xenstore is not available.
Keir Fraser [Mon, 31 Mar 2008 15:49:02 +0000 (16:49 +0100)]
Avoid kernel hang reading /sys/hypervisor/uuid if xenstore is not available.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
linux-2.6.18-xen changeset:   499:080b0c482ad67dffdaed7eaf91ece34a42669c90
linux-2.6.18-xen date:        Fri Mar 28 10:21:17 2008 +0000

17 years agoAvoid deadlock when unregistering a xenbus watch.
Keir Fraser [Mon, 31 Mar 2008 15:48:37 +0000 (16:48 +0100)]
Avoid deadlock when unregistering a xenbus watch.

Watch handlers which run in a separate thread (XBWF_new_thread) should
run without the xenbus_mutex held since kthread_run can block waiting
for memory which causes a deadlock if further watches need to be
unregistered in order to activate the swap device on resume.

XBWF_new_thread cannot be safely unregistered anyway since the mutex
only protects thread startup.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
linux-2.6.18-xen changeset:   498:0637d22ed554eb0b9cecc7a74fa0a77a7c456497
linux-2.6.18-xen date:        Fri Mar 28 09:49:22 2008 +0000

17 years agoAvoid another allocation on the resume path which can lead to deadlock
Keir Fraser [Mon, 31 Mar 2008 15:48:17 +0000 (16:48 +0100)]
Avoid another allocation on the resume path which can lead to deadlock
if the swap device isn't present yet.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
linux-2.6.18-xen changeset:   497:fdb998e79aba45e27948047f680bf70ca5dddbd9
linux-2.6.18-xen date:        Fri Mar 28 09:44:51 2008 +0000

17 years agoblkback: Fix creation of grant-unmap array in fast_flush_area().
Keir Fraser [Mon, 31 Mar 2008 15:47:53 +0000 (16:47 +0100)]
blkback: Fix creation of grant-unmap array in fast_flush_area().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
linux-2.6.18-xen changeset:   496:a8f250d8a3e92a387f63b07180b228069446150b
linux-2.6.18-xen date:        Thu Mar 27 17:56:50 2008 +0000

17 years agoxen: fix grant table bug
Keir Fraser [Mon, 31 Mar 2008 15:45:04 +0000 (16:45 +0100)]
xen: fix grant table bug

A PV OS has two grant table data structures: the grant table itself
and a free list.  The free list is composed of an array of pages,
which grow dynamically as the guest OS requires more grants.  While
the grant table contains 8-byte entries, the free list contains 4-byte
entries.  So we have half as many pages in the free list than in the
grant table.

There was a bug in the free list allocation code. The free list was
indexed as if it was the same size as the grant table.  But it's only
half as large.  So memory got corrupted, and I was seeing crashes in
the slab allocator later on.

Signed-off-by: Michael Abd-El-Malek <mabdelmalek@cmu.edu>
linux-2.6.18-xen changeset:   502:4018c0da336008e5dfb1163bddbdfbc328c8f5c4
linux-2.6.18-xen date:        Mon Mar 31 11:03:07 2008 +0100

17 years agoXen dma: avoid unnecessarily SWIOTLB bounce buffering.
Keir Fraser [Mon, 31 Mar 2008 15:44:42 +0000 (16:44 +0100)]
Xen dma: avoid unnecessarily SWIOTLB bounce buffering.

On Xen kernels, BIOVEC_PHYS_MERGEABLE permits merging of disk IOs that
span multiple pages, provided that the pages are both
pseudophysically- AND machine-contiguous ---

        (((bvec_to_phys((vec1)) + (vec1)->bv_len) ==
        bvec_to_phys((vec2))) && \
         ((bvec_to_pseudophys((vec1)) + (vec1)->bv_len) == \
          bvec_to_pseudophys((vec2))))

However, this best-effort merging of adjacent pages can occur in
regions of dom0 memory which just happen, by virtue of having been
initially set up that way, to be machine-contiguous.  Such pages
which occur outside of a range created by xen_create_contiguous_
region won't be seen as contiguous by range_straddles_page_boundary(),
so the pci-dma-xen.c code for dma_map_sg() will send these regions
to the swiotlb for bounce buffering.

This patch adds a new check, check_pages_physically_contiguous(),
to the test for pages stradding page boundaries both in
swiotlb_map_sg() and dma_map_sg(), to capture these ranges and map
them directly via virt_to_bus() mapping rather than through the
swiotlb.

Signed-off-by: Stephen Tweedie <sct@redhat.com>
linux-2.6.18-xen changeset:   501:5486a234923da1fbab13eef6165f25c54ab63bd9
linux-2.6.18-xen date:        Mon Mar 31 10:32:25 2008 +0100

17 years agox86_64: Initialise upper half of 32-bit parameter registers when
Keir Fraser [Mon, 31 Mar 2008 15:42:20 +0000 (16:42 +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:41:53 +0000 (16:41 +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:41:24 +0000 (16:41 +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 agohvm: Allow HVM guests to execute GNTTABOP_setup_table.
Keir Fraser [Fri, 28 Mar 2008 18:00:02 +0000 (18:00 +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.1.4-rc2 for changeset 5363a7350b127369a5c99c796ae7ac5822a8c395
Keir Fraser [Fri, 28 Mar 2008 11:08:24 +0000 (11:08 +0000)]
Added tag 3.1.4-rc2 for changeset 5363a7350b127369a5c99c796ae7ac5822a8c395

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

17 years agoAdded tag 3.1.4-rc2 for changeset 2f92fa17cf24cda089d71eb5ebd265b9f17a7688
Keir Fraser [Fri, 28 Mar 2008 11:06:00 +0000 (11:06 +0000)]
Added tag 3.1.4-rc2 for changeset 2f92fa17cf24cda089d71eb5ebd265b9f17a7688

17 years agoxen, i386: Fix non-PAE build failure.
Keir Fraser [Wed, 26 Mar 2008 09:44:24 +0000 (09:44 +0000)]
xen, i386: Fix non-PAE build failure.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
linux-2.6.18-xen changeset:   492:1327b9dcc63a9855b998fdc21269d4c9eeb557a3
linux-2.6.18-xen date:        Wed Mar 26 09:07:52 2008 +0000

17 years agoPrefix unnamed union structure fields with __extension__ to make it
Keir Fraser [Wed, 26 Mar 2008 09:42:05 +0000 (09:42 +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:40:12 +0000 (09:40 +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: IDE should accept SETMULT 0
Keir Fraser [Wed, 26 Mar 2008 09:39:40 +0000 (09:39 +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 agoAdded tag 3.1.4-rc1 for changeset 0a10d67e0994176098425882305d65bd7ae5c471
Keir Fraser [Mon, 24 Mar 2008 19:01:01 +0000 (19:01 +0000)]
Added tag 3.1.4-rc1 for changeset 0a10d67e0994176098425882305d65bd7ae5c471

17 years agoUpdate Xen version to 3.1.4-rc1 3.1.4-rc1
Keir Fraser [Mon, 24 Mar 2008 19:00:51 +0000 (19:00 +0000)]
Update Xen version to 3.1.4-rc1

17 years agox86_emulate: Allow to build outside Xen tree (in tools/test).
Keir Fraser [Mon, 24 Mar 2008 19:00:40 +0000 (19:00 +0000)]
x86_emulate: Allow to build outside Xen tree (in tools/test).
Signed-off-by: Keir Fraser <keir@xensource.com>
xen-unstable changeset:   16309:3e397fa3a6adbe595b038c90179a390ede9ddede
xen-unstable date:        Fri Nov 02 10:22:22 2007 +0000

17 years agoRevert 15676:532d9bb1b153.
Keir Fraser [Mon, 24 Mar 2008 15:38:14 +0000 (15:38 +0000)]
Revert 15676:532d9bb1b153.

It is incorrect for 3.1 branch.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
17 years agoxen, x86: Track foreign and I/O mappings with a new pte flag, and do
Keir Fraser [Thu, 20 Mar 2008 12:29:47 +0000 (12:29 +0000)]
xen, x86: Track foreign and I/O mappings with a new pte flag, and do
not subject such ptes to conversions to/from pseudophysical addresses.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
linux-2.6.18-xen changeset:   488:de57c3f218fb5c23bb767d2192e9beb1b4d09681
linux-2.6.18-xen date:        Thu Mar 20 11:35:25 2008 +0000

17 years agolibxc: Remove permute() function from xc_domain_save().
Keir Fraser [Thu, 20 Mar 2008 12:27:11 +0000 (12:27 +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 agosvm: Reported SS.DPL must equal CPL, as this is assumed by generic HVM
Keir Fraser [Thu, 20 Mar 2008 12:25:35 +0000 (12:25 +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:24:10 +0000 (12:24 +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 agoSVM: handle page faults in emulated instruction fetches
Keir Fraser [Thu, 20 Mar 2008 12:23:14 +0000 (12:23 +0000)]
SVM: handle page faults in emulated instruction fetches

Deal with failures in hvm_copy_from_guest_virt when fetching
instructions in the various SVM emulation paths.  Since we know that
the instruction was fetchable by the hardware, we can usually just
return from the VMEXIT and try again; whatever caused us to fail will
cause the hardware to fail next time and we'll get the correct exit
code.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen-unstable changeset:   17202:8325f200e19414d998b7625f2e3cf786a6d3d3a3
xen-unstable date:        Mon Mar 17 11:39:50 2008 +0000

17 years agoioemu: Set subsystem vendor/device for ne2k device model.
Keir Fraser [Thu, 20 Mar 2008 12:17:57 +0000 (12:17 +0000)]
ioemu: Set subsystem vendor/device for ne2k device model.
From: Kamala Narasimhan <kamala.narasimhan@citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17226:8cc1ed987d5f726c4a57325b03e71f4b18b52525
xen-unstable date:        Tue Mar 18 13:08:30 2008 +0000

17 years agox86 numa: Fix the overflow of physical addresses.
Keir Fraser [Thu, 20 Mar 2008 12:17:29 +0000 (12:17 +0000)]
x86 numa: Fix the overflow of physical addresses.

If memory address >4G, the address will overflow in some NUMA code if
using unsigned long to statement a physical address in PAE arch.

Replace "unsigned long" with paddr_t to avoid overflow.

Signed-off-by: Duan Ronghui <ronghui.duan@intel.com>
xen-unstable changeset:   17201:f82baf1755ac6b4e1b77a35f160d26d30a094a1c
xen-unstable date:        Mon Mar 17 11:18:06 2008 +0000

17 years agohvm bios: Fix EDD pointer in int 13h, fn 48h BIOS call return buffer
Keir Fraser [Thu, 20 Mar 2008 12:17:04 +0000 (12:17 +0000)]
hvm bios: Fix EDD pointer in int 13h, fn 48h BIOS call return buffer

I ran into this when I was reviewing what was outstanding to get
NetWare to run fully virtualized.

The BIOS emulator code has the segment and offset backward in the
returned buffer for the int 13h, fn 48h BIOS call.

Signed-off-by: Bruce Rogers <brogers@novell.com>
xen-unstable changeset:   17200:9f6117e9d7d9ed2761ad79403837d419145c54e2
xen-unstable date:        Mon Mar 17 11:16:08 2008 +0000

17 years agoPV-on-HVM: Fix __xen_suspend() for changed XenLinux interface.
Keir Fraser [Wed, 5 Mar 2008 16:52:56 +0000 (16:52 +0000)]
PV-on-HVM: Fix __xen_suspend() for changed XenLinux interface.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17153:9049b0b62e0891e9bfb188bef40f68c04b5ea653
xen-unstable date:        Fri Feb 29 10:30:28 2008 +0000

17 years agox86: Clean up FPU code style and add a comment about FNSAVE/FWAIT
Keir Fraser [Wed, 5 Mar 2008 16:46:27 +0000 (16:46 +0000)]
x86: Clean up FPU code style and add a comment about FNSAVE/FWAIT
instruction pair.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17182:d6e6ba8a72bf3025652fefa61553ab9454f1e897
xen-unstable date:        Tue Mar 04 11:20:22 2008 +0000

17 years agox86_emulate: INS/OUTS need Mov attribute to force writeback (since
Keir Fraser [Wed, 5 Mar 2008 16:45:30 +0000 (16:45 +0000)]
x86_emulate: INS/OUTS need Mov attribute to force writeback (since
dst.orig_val is not initialised). Also, Mov attribute on cmpxchg is
not necessary -- when destination is memory (i.e., successful cmpxchg)
then dst.orig_val is already correctly filled in. In case that
dst.orig_val == dst.val then the instruction linearises at the point
we first read the destination (and initialised dst.orig_val).
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17174:c89f6ed5635179695c92810a9c9eec205e5d0d78
xen-unstable date:        Mon Mar 03 11:47:40 2008 +0000

17 years agoFix xm vcpu-pin for inactive managed domains
Keir Fraser [Wed, 5 Mar 2008 16:45:06 +0000 (16:45 +0000)]
Fix xm vcpu-pin for inactive managed domains

We cannot currently change cpu affinity definitions of inactive
managed domains by xm vcpu-pin command. This patch enables changing
cpu affinity definitions of inactive managed domains. However, we
cannot change cpu affinity definitions to each vcpu because we cannot
currently define cpu affinity definitions to each vcpu to domain
configuration definitions.  Therefore, we need to specify 'all' to
VCPU argument of xm vcpu-pin command.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   17173:a142ddb40b1c77d6b8726a2b57ac324ab74c6d06
xen-unstable date:        Mon Mar 03 11:09:33 2008 +0000

17 years agoTPM emulator: HMAC calculation fix for response from TPM_LoadKey2
Keir Fraser [Wed, 5 Mar 2008 16:44:11 +0000 (16:44 +0000)]
TPM emulator: HMAC calculation fix for response from TPM_LoadKey2
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
xen-unstable changeset:   17162:5ea409d66ee4c78764920c4319f8bdece359a0f6
xen-unstable date:        Mon Mar 03 10:53:43 2008 +0000

17 years agoxend: Remove duplicate setResume() method.
Keir Fraser [Wed, 5 Mar 2008 16:43:48 +0000 (16:43 +0000)]
xend: Remove duplicate setResume() method.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   17138:f8624b023d67820a9ee92f3cf149ffc2f808311a
xen-unstable date:        Thu Feb 28 10:31:45 2008 +0000

17 years agoFix error message of xm suspend and xm resume for Domain-0.
Keir Fraser [Wed, 5 Mar 2008 16:43:31 +0000 (16:43 +0000)]
Fix error message of xm suspend and xm resume for Domain-0.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   17137:c19044cad1a305a9931b3b62039c13a8d4f1cb62
xen-unstable date:        Thu Feb 28 10:30:21 2008 +0000

17 years agoFix xm save command's #params check.
Keir Fraser [Wed, 5 Mar 2008 16:43:12 +0000 (16:43 +0000)]
Fix xm save command's #params check.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   17132:bfd87849ccda6db8bd7b336b5230237683af96ee
xen-unstable date:        Wed Feb 27 13:19:42 2008 +0000

17 years agoFix xm mem-max command to restore previous setting if
Keir Fraser [Wed, 5 Mar 2008 16:42:56 +0000 (16:42 +0000)]
Fix xm mem-max command to restore previous setting if
xc.domain_setmaxmem fails.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   17125:450be98ef36b1af40ab381d8e0aac647012a60a2
xen-unstable date:        Tue Feb 26 15:02:26 2008 +0000

17 years agox86: make show_page_walk() more robust.
Keir Fraser [Wed, 5 Mar 2008 10:04:00 +0000 (10:04 +0000)]
x86: make show_page_walk() more robust.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   16879:1a2f557448cf5de825d40e550140637961d2eb46
xen-unstable date:        Thu Jan 24 18:11:44 2008 +0000

17 years agoUpdate version to 3.1.4-rc1-pre
Keir Fraser [Mon, 3 Mar 2008 13:42:03 +0000 (13:42 +0000)]
Update version to 3.1.4-rc1-pre

17 years agoFix restore of saved image containing rtc_timeoffset
Keir Fraser [Mon, 3 Mar 2008 13:41:34 +0000 (13:41 +0000)]
Fix restore of saved image containing rtc_timeoffset

Saved images contain rtc_timeoffset as a string value, resulting in a
TypeError exception when calling xc.domain_set_time_offset() on
restore.  Cast rtc_timeoffset to int before calling
xc.domain_set_time_offset().

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
xen-unstable changeset:   17113:9dd235d6174d1944caf53798a07ecf509678eead
xen-unstable date:        Tue Feb 26 14:35:39 2008 +0000

17 years agoxen suspend: Fix write-after-read error on fast_suspend flag.
Keir Fraser [Mon, 3 Mar 2008 13:41:06 +0000 (13:41 +0000)]
xen suspend: Fix write-after-read error on fast_suspend flag.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
linux-2.6.18-xen changeset:   465:1cf7ba68d855aa86b1c54c34c03fc62571eb5c94
linux-2.6.18-xen date:        Mon Mar 03 13:36:57 2008 +0000

17 years agoRemove reference to ICH9 from arch/i386/pci/irq-xen.c. ICH9 support is
Keir Fraser [Sat, 1 Mar 2008 10:36:30 +0000 (10:36 +0000)]
Remove reference to ICH9 from arch/i386/pci/irq-xen.c. ICH9 support is
not in this tree.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
17 years agoRevert (linux-2.6.18-xen) 419:0034d9389 and (linux-2.6.18-xen) 425:9dea529497.
Keir Fraser [Sat, 1 Mar 2008 09:30:16 +0000 (09:30 +0000)]
Revert (linux-2.6.18-xen) 419:0034d9389 and (linux-2.6.18-xen) 425:9dea529497.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
linux-2.6.18-xen changeset:   458:eb906651be99d2e93850f809a70c32bf60881b01
linux-2.6.18-xen date:        Sat Mar 01 09:19:27 2008 +0000

17 years agoxen: Fix PV resume race against another back-to-back suspend request.
Keir Fraser [Sat, 1 Mar 2008 09:29:28 +0000 (09:29 +0000)]
xen: Fix PV resume race against another back-to-back suspend request.
Previously the next suspend request was being dropped on the floor.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
linux-2.6.18-xen changeset:   451:49ffe9ef67d420bde98e7ead29c9b9bfc5b026ba
linux-2.6.18-xen date:        Fri Feb 29 10:29:13 2008 +0000

17 years agoReduce diff between arch/i386/pci/irq.c and irq-xen.c.
Keir Fraser [Sat, 1 Mar 2008 09:28:59 +0000 (09:28 +0000)]
Reduce diff between arch/i386/pci/irq.c and irq-xen.c.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
linux-2.6.18-xen changeset:   450:87721beab1b907e45f101ed4075a75adab828b59
linux-2.6.18-xen date:        Thu Feb 28 16:41:41 2008 +0000

17 years agoFully initialise watch data structure in pcifront by using kzalloc.
Keir Fraser [Sat, 1 Mar 2008 09:27:47 +0000 (09:27 +0000)]
Fully initialise watch data structure in pcifront by using kzalloc.

This avoids creating a watch with XBWF_new_thread set spuriously.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
linux-2.6.18-xen changeset:   447:7c04748ed275531734d24ba40261143c77acdcb8
linux-2.6.18-xen date:        Wed Feb 27 16:33:32 2008 +0000

17 years agoAvoid using a separate watch thread due to uninitialised watch->flags.
Keir Fraser [Sat, 1 Mar 2008 09:27:10 +0000 (09:27 +0000)]
Avoid using a separate watch thread due to uninitialised watch->flags.

The xenbus_dev code isn't setup to handle the case where
XBWF_new_thread is set so there is a potetial crash if this flag is
erroneously set. Therefore initialise flags to zero by using kzalloc
rather than kmalloc.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
linux-2.6.18-xen changeset:   440:43de9d7c3c63adaac7e334621f763c94acbbc178
linux-2.6.18-xen date:        Tue Feb 26 17:59:18 2008 +0000

17 years agoioemu: IDE flush on O_DIRECT with drive caching off.
Keir Fraser [Tue, 26 Feb 2008 15:06:42 +0000 (15:06 +0000)]
ioemu: IDE flush on O_DIRECT with drive caching off.

Long ago Xen added code to the device model to basically do an fsync()
after every data write if the user in the guest specified that IDE
write caching should be disabled.  This works fine, except in the case
where you are doing O_DIRECT writes inside the guest (ala dd
if=/dev/zero of=/dev/hdb oflag=direct). This is because you can get
out of ide_write_dma_cb() in the middle of the loop without going
through the logic to sync.  This simple patch makes sure that you
always check (and sync) inside the write callback.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
17 years agox86/64: Fix PAE-on-64 mmuext_op() preemption.
Keir Fraser [Thu, 21 Feb 2008 15:15:36 +0000 (15:15 +0000)]
x86/64: Fix PAE-on-64 mmuext_op() preemption.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17096:ea1dc85d7122c6f0c11afbe4500c191b6896056f
xen-unstable date:        Wed Feb 20 18:18:03 2008 +0000

17 years agoxm: Fix xm vcpu-pin to complain for CPU numbers out of range.
Keir Fraser [Thu, 21 Feb 2008 15:15:02 +0000 (15:15 +0000)]
xm: Fix xm vcpu-pin to complain for CPU numbers out of range.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   17092:511ab2b89ced1e190c6c76139b60049b69be69ef
xen-unstable date:        Wed Feb 20 17:42:12 2008 +0000

17 years ago[HVM] Save/restore: don't leak shared-memory segments after HVM
Keir Fraser [Wed, 20 Feb 2008 17:50:27 +0000 (17:50 +0000)]
[HVM] Save/restore: don't leak shared-memory segments after HVM
live-migrate.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
xen-unstable changeset:   15645:07655ed2fe58ebf883b8a4b5c2dccf15576f4778
xen-unstable date:        Thu Jul 26 12:00:32 2007 +0100

17 years agoFix x86 SMP non-ACPI build.
Keir Fraser [Mon, 18 Feb 2008 17:19:08 +0000 (17:19 +0000)]
Fix x86 SMP non-ACPI build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
linux-2.6.18-xen changeset:   425:9dea529497fe546d25b5dc965d8161494c27d127
linux-2.6.18-xen date:        Mon Feb 18 17:16:52 2008 +0000

17 years agoXen dom0 arbitrarily assigns APIC ID x to CPU ID x. Make dom0 also
Keir Fraser [Mon, 18 Feb 2008 14:33:57 +0000 (14:33 +0000)]
Xen dom0 arbitrarily assigns APIC ID x to CPU ID x.  Make dom0 also
assign the APIC ID to ACPI ID mapping in the same way.
Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
linux-2.6.18-xen changeset:   419:0034d9389130969f9452b76370f76394e10238b8
linux-2.6.18-xen date:        Fri Feb 15 10:01:06 2008 +0000

17 years agofbfront: Fix no-kbd-event case
Keir Fraser [Mon, 18 Feb 2008 14:33:35 +0000 (14:33 +0000)]
fbfront: Fix no-kbd-event case
out_cons shouldn't even be used.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
linux-2.6.18-xen changeset:   418:d9eaaff9a9bdb37b1aec92e071dc47e038bbd2c5
linux-2.6.18-xen date:        Thu Feb 14 09:25:05 2008 +0000

17 years agoCVE-2008-0600: Fix exploitable hole in vmsplice() syscall.
Keir Fraser [Mon, 18 Feb 2008 14:33:11 +0000 (14:33 +0000)]
CVE-2008-0600: Fix exploitable hole in vmsplice() syscall.
Fix is Al Viro's suggested patch for RHEL5.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
linux-2.6.18-xen changeset:   416:08e85e79c65d0316bfda5e77e8a0dc7ab9ca181a
linux-2.6.18-xen date:        Mon Feb 11 11:05:27 2008 +0000

17 years agofbfront: Clear ring contents on save/restore. Otherwise in some cases
Keir Fraser [Mon, 18 Feb 2008 14:29:50 +0000 (14:29 +0000)]
fbfront: Clear ring contents on save/restore. Otherwise in some cases
a restored domain loses mouse and keyboard.
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
linux-2.6.18-xen changeset:   415:90fbf541d772e9df4e7a4be3ed667d9bac5412c0
linux-2.6.18-xen date:        Mon Feb 11 10:19:25 2008 +0000

17 years agox86: Fix mod_l3_entry() for PAE-on-64 guests. The adjustment of
Keir Fraser [Mon, 18 Feb 2008 14:26:38 +0000 (14:26 +0000)]
x86: Fix mod_l3_entry() for PAE-on-64 guests. The adjustment of
_PAGE_RW and _PAGE_USER cannot happen before get_page_from_l3e().

Original patch by Manuel Bouyer <bouyer@netbsd.org>.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17061:9d29141a5e527d13c10b592c5b7807af73750a19
xen-unstable date:        Mon Feb 18 13:50:25 2008 +0000

17 years agox86/64: Make BIOS call to declare our intention to enter long mode.
Keir Fraser [Mon, 18 Feb 2008 14:24:54 +0000 (14:24 +0000)]
x86/64: Make BIOS call to declare our intention to enter long mode.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17051:55ae3b66b1b6e9039f13d9eec0b98864ca87ba6f
xen-unstable date:        Thu Feb 14 11:24:49 2008 +0000

17 years agoioemu: save 3MB of ioport tables (on 64bit machines)
Keir Fraser [Mon, 18 Feb 2008 14:23:34 +0000 (14:23 +0000)]
ioemu: save 3MB of ioport tables (on 64bit machines)
by keeping then initialized to NULL and check for it in the handlers.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
xen-unstable changeset:   17019:7e189fc27f4ffd0bfcb1727dbbf3b06a1a515705
xen-unstable date:        Mon Feb 11 14:47:19 2008 +0000

17 years agox86_emulate: Fix IMUL r/m8 emulation.
Keir Fraser [Mon, 18 Feb 2008 14:21:51 +0000 (14:21 +0000)]
x86_emulate: Fix IMUL r/m8 emulation.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   16998:1b750b9cf4319c076bb831d26dcdcffbd5cfb913
xen-unstable date:        Thu Feb 07 19:30:36 2008 +0000

17 years agox86_emulate: Fix MUL emulation.
Keir Fraser [Mon, 18 Feb 2008 14:21:11 +0000 (14:21 +0000)]
x86_emulate: Fix MUL emulation.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   16995:445edf4089a3ccaca977665423e903b5300832cb
xen-unstable date:        Thu Feb 07 18:00:44 2008 +0000

17 years agox86: physaddr_bitsize must always be initialised for 32-on-64 dom0.
Keir Fraser [Mon, 18 Feb 2008 14:20:50 +0000 (14:20 +0000)]
x86: physaddr_bitsize must always be initialised for 32-on-64 dom0.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   16993:eef22fa42f44cf4f8d971a37dd265fc56eb35417
xen-unstable date:        Thu Feb 07 13:20:15 2008 +0000

17 years agoxm reboot: Fix wait option of xm reboot command
Keir Fraser [Mon, 18 Feb 2008 14:19:42 +0000 (14:19 +0000)]
xm reboot: Fix wait option of xm reboot command

When I rebooted a domain by xm reboot command with wait option,
I saw the following message.  But, rebooting the domain succeeded.
 Domain vm1 destroyed for failed in rebooting

The cause why the message was shown is the domain is destroyed
temporarily by processing of xm reboot command.  The domain
information is not gotten from Xend by server.xend.domains()
function till recreating the domain is completed.
This patch fixes processing of xm reboot command in Xm side.
It waits just a bit till recreating the domain is completed,
then it measures the success or failure of the reboot of the
domain.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   16988:d04593aa1605fd337423b2c1296e275424e06656
xen-unstable date:        Thu Feb 07 09:27:46 2008 +0000

17 years agox86_emulate: fix side-effect macro call.
Keir Fraser [Wed, 6 Feb 2008 10:18:35 +0000 (10:18 +0000)]
x86_emulate: fix side-effect macro call.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
xen-unstable changeset:   16980:bf4a24c172d23ae9839ee564225d49ed95167de3
xen-unstable date:        Tue Feb 05 15:50:59 2008 +0000

17 years agoxend: Scrub vnc password for vfb from xend.log.
Keir Fraser [Wed, 6 Feb 2008 10:18:09 +0000 (10:18 +0000)]
xend: Scrub vnc password for vfb from xend.log.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
xen-unstable changeset:   16978:df6b8bed284500d767a21f843e99bc55ab25ae7c
xen-unstable date:        Tue Feb 05 10:40:10 2008 +0000

17 years agox86_emulate: Fix SAHF emulation.
Keir Fraser [Wed, 6 Feb 2008 10:17:49 +0000 (10:17 +0000)]
x86_emulate: Fix SAHF emulation.
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
xen-unstable changeset:   16976:32e9c52fc6d9a6104afb2dbd84a89395b16f0e34
xen-unstable date:        Tue Feb 05 10:29:19 2008 +0000