[Spice-commits] Changes to 'spice.v10'
Gerd Hoffmann
kraxel at kemper.freedesktop.org
Mon May 31 12:25:02 PDT 2010
New branch 'spice.v10' available with the following commits:
commit ddef1bbd661234962155ab4be2130e438ab32bb1
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Mon May 31 21:23:03 2010 +0200
fix configure script
commit a824145abdabf863efb1b7b2203dd69afb9d7de6
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Wed May 26 11:23:59 2010 +0200
qxl: zap ioport_is_assigned reference
commit 67f5e39959fa850437e09fcc401aab85280f75da
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Wed May 19 14:36:14 2010 +0200
qxl: raise cursor print debug level
commit eec37a3978dafedc6e41253d9aeb9ac787067fbe
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Wed May 19 13:18:59 2010 +0200
zap qxl_post_save
commit a2d6eb947f8aeba4f2abab5f78987712603b4a98
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Tue May 11 22:28:59 2010 +0200
qxl vga: handle the case that vga ports are taken already.
commit 8c0e53d712d83e7318d556031a5cb5f944c5b42b
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Fri May 7 15:43:02 2010 +0200
qxl: savevm/loadvm bits
commit 7e935c916c9c0cbfb497236f11eca66783908537
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Thu May 6 15:17:40 2010 +0200
adapt qxl to new vgabios.
commit 14793ef486722f6e693f47881230cb63109b55bb
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Mon May 3 21:29:55 2010 +0200
qxl: byteorder fixups (wip)
commit 0b22ee5951ac35ac0ca09411443357c89fcb4f28
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Fri Apr 23 13:28:21 2010 +0200
spice: live migration (wip).
Handle spice client migration, i.e. inform a spice client connected
about the new host and connection parameters, so it can move over the
connection automatically.
commit 3e5fc1194558f4174b9a5c5d02d66b7e79b79804
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Fri Mar 12 16:26:18 2010 +0100
spice: add pci vdi port backend (obsolete).
This is *not* intended to be merged upstream. It is just here
because the virtio-serial windows guest drivers are not ready,
so you can't go with the new spice-vmc yet.
commit cb8cd235ec33aaf3998442add618875083044b9e
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Tue Apr 20 13:33:54 2010 +0200
spice: add virtio-serial based vdi port backend.
Adds the spicevmc device. This is a communication channel between the
spice client and the guest. It is used to send display information and
mouse events from the spice clients to the guest.
commit 46283249478f50f9909f97d0ef9f59706bd3aa89
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Tue Apr 13 10:34:46 2010 +0200
spice: add audio
Add support for the spice audio interface.
The driver is first in the driver list, but can_be_default is set only
in case spice is active. So if you are using spice the spice audio
driver is the default one, otherwise whatever comes first after spice in
the list. Overriding the default using QEMU_AUDIO_DRV works in any
case.
commit 8a27801b508c875cdb846900be70da6c51c75a47
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Tue Apr 13 09:05:03 2010 +0200
spice: add tablet support
Add support for the spice tablet interface. The tablet interface will
be registered (and then used by the spice client) as soon as a absolute
pointing device is available and used by the guest, i.e. you'll have to
configure your guest with '-usbdevice tablet'.
commit ecb89bce31e082f9f6e63e2a613957b2486c85be
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Tue Apr 27 11:50:11 2010 +0200
spice: add qxl device
qxl is a paravirtual graphics card. The qxl device is the bridge
between the guest and the spice server (aka libspice-server). The
spice server will send the rendering commands to the spice client, which
will actually render them.
The spice server is also able to render locally, which is done in case
the guest wants read something from video memory. Local rendering is
also used to support display over vnc and sdl.
qxl is activated using "-vga qxl". qxl supports multihead, additional
cards can be added via '-device qxl".
commit 96f7606d4af5d25896e13caf9ec0b9758256a4fb
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Thu Mar 11 11:13:32 2010 -0300
spice: tls support
Add options to the -spice command line switch to setup tls:
tls-port
listening port
x509-dir
x509 file directory. Expects same filenames as
-vnc $display,x509=$dir
x509-key-file
x509-key-password
x509-cert-file
x509-cacert-file
x509-dh-key-file
x509 files can also be set individually.
tls-ciphers
which ciphers to use.
commit 5d6c845d04935af47a20ee9fd123a6a76f358a38
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Wed Mar 24 15:47:18 2010 +0100
spice: simple display
With that patch applied you'll actually see the guests screen in the
spice client. This does *not* bring qxl and full spice support though.
This is basically the qxl vga mode made more generic, so it plays
together with any qemu-emulated gfx card. You can display stdvga or
cirrus via spice client. You can have both vnc and spice enabled and
clients connected at the same time.
commit e65b08008adf9bc510f44edcd938b124ee2c4c88
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Thu Mar 11 11:13:29 2010 -0300
spice: add mouse
Open mouse channel. Now you can move the guests mouse pointer.
No tablet / absolute positioning (yet) though.
commit b811d625c00e39c40237fdeccae7126800633128
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Thu Mar 11 11:13:28 2010 -0300
spice: add keyboard
Open keyboard channel. Now you can type into the spice client and the
keyboard events are sent to your guest. You'll need some other display
like vnc to actually see the guest responding to them though.
commit d053405cb064386bbf74b711a0bdb45210329d42
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Thu Mar 11 11:13:27 2010 -0300
spice: core bits
Add -spice command line switch. Has support setting passwd and port for
now. With this patch applied the spice client can successfully connect
to qemu. You can't do anything useful yet though.
commit 26930473a59e1261cc8275959dcf72857fe2869d
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Wed Mar 24 10:26:51 2010 +0100
add spice into the configure file
commit 6683fddcf209f188fad8022b5d2844f6fe1dd76f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Fri Apr 23 13:44:10 2010 +0200
configure: add logging
commit 32d92b7d25486bb49c74ec540cf55dfbf6af0187
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Tue May 11 22:28:44 2010 +0200
all vga: refuse hotplugging.
Try to pci hotplug a vga card, watch qemu die with hw_error().
This patch fixes it.
commit 06ea1dcacd8c1cdd320b1d841a34eca064cfb3db
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Thu May 6 11:14:11 2010 +0200
switch vmware_vga to pci vgabios
commit 9176a62d921c7f547a113154fb9acb1c21390dc5
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Thu May 6 11:13:11 2010 +0200
switch stdvga to pci vgabios
commit d60bfd64a2daa47ef7d2087fdadfaf147a3d5009
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Wed Mar 24 11:16:54 2010 +0100
vgabios update to 0.6c + pcibios patches.
commit 6c1d3a450d066aa30d103337460279a6a8122a55
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Wed Apr 28 20:27:11 2010 +0200
Add support for depth 15 to qemu_default_pixelformat()
Makes qemu_default_pixelformat(15) return pixelformat filled for 15 bit
color depth (16 bpp, 5 bits for red,green,blue each, 1 bit unused).
commit d467b679f2993cb07fcc8112bfee6f6e8a40d093
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Fri May 21 11:54:34 2010 +0200
vnc: rich cursor support.
Uses VNC_ENCODING_RICH_CURSOR. Adding XCURSOR support should be
possible without much trouble. Shouldn't be needed though as
RICH_CURSOR is a superset of XCURSOR.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
commit fbe6d7a48d71e1dd05faa380c68965da4f8de1ac
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Fri May 21 11:54:33 2010 +0200
use new cursor struct + functions for vmware vga and sdl.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
commit 254e59506e34efcc92384ef30af3c266e4633c66
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Fri May 21 11:54:32 2010 +0200
cursor: add cursor functions.
Add a new cursor type to console.h and a bunch of functions to
deal with cursors the (new) cursor.c file.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
commit 019e78ba6ec6f402dffc6bc9683f461a11a52c28
Author: Kevin Wolf <kwolf at redhat.com>
Date: Mon May 17 10:36:47 2010 +0200
Fix error handling in qemu_read_config_file
We need to close the file even in error case. While at it, make the callers
catch all kind of errors. ENOENT is allowed for default config files, they
are optional.
Reported-by: Luiz Capitulino <lcapitulino at redhat.com>
Signed-off-by: Kevin Wolf <kwolf at redhat.com>
Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
commit ebbeb789351a69d58b0da526fcb77bc82d18da7b
Author: Amos Kong <akong at redhat.com>
Date: Sun May 23 10:49:10 2010 +0800
Virtio-net: Replace the hardcode 6 with defined ETN_ALEN
hw/virtio-net.h:
#define ETH_ALEN 6
ETH_ALEN was defined by commit 7967406801aa897fae83caad3278ac85a342adaa
Signed-off-by: Amos Kong <akong at redhat.com>
Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
commit 111f8ec99b67aeef152c71a5db12f0c0cb2422bd
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date: Sun May 23 10:29:34 2010 +0200
sdl: Do not disable screensaver by default
Unless we are running in full-screen mode, QEMU's SDL window should not
disable the host's screensaver. The user can still change this behaviour
by setting the environment variable SDL_VIDEO_ALLOW_SCREENSAVER as
desired.
Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
commit 9c678ccd15e71968ba9ce3cba704f429c5c7d539
Merge: 3853528a913f0807170e2c78b6ea692f8515c859 3e89cb0419cf5ff8f97fe219c6faa58f4c0c8728
Author: Anthony Liguori <aliguori at us.ibm.com>
Date: Mon May 24 10:53:41 2010 -0500
Merge remote branch 'kwolf/for-anthony' into staging
commit 3853528a913f0807170e2c78b6ea692f8515c859
Merge: 16f04416175844507b20072c422d08286ebbced6 41836a9f7e4da3a265989d79f35c44f659f7b3cf
Author: Anthony Liguori <aliguori at us.ibm.com>
Date: Mon May 24 09:00:24 2010 -0500
Merge remote branch 'qmp/for-anthony' into staging
commit 16f04416175844507b20072c422d08286ebbced6
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date: Mon May 24 11:14:04 2010 +0200
microblaze: Handle new elf mach nr for sysemu.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>
commit 259d5577ae546de27e25a40710f81aa031660de8
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date: Fri May 21 18:44:59 2010 +0200
lsi: Fix value overflow in request tag processing
This fixes a mismerge of 64d564094cac5f72eeaeb950c442b773a00d3586 (wrong
patch version): We need to mask the tag value properly to obtain its
device ID.
Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 664a65b0dbd9a4845ac7d3c21e8b103031ee57f2
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date: Sat May 22 14:52:40 2010 +0400
sparc64: flush translations on mmu context change
- two pairs of softmmu indexes bind softmmu tlb to cpu tlb in fault handlers
using value of DMMU primary and secondary context registers, so we need to
flush softmmu translations when context registers are changed
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 9fd1ae3a0e3328056eaa2ae950ba0023e53423b2
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date: Sat May 22 14:52:35 2010 +0400
sparc64: fix mmu context at trap levels above zero
- cpu_mmu_index return MMU_NUCLEUS_IDX if trap level is not zero
- cpu_get_tb_cpu_state: store trap level and primary context in flags
this allows to restart code translation when address translation is changed
- stop translation block after writing to pstate and tl registers
- stop translation block after writing to alternate space
this can be optimized to stop only if address translation can be changed
by write operation (e.g. by comparing with MMU ASI values)
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit e21295860883e0e1f8acc352f21eb9563b5cfd40
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date: Sat May 22 14:52:29 2010 +0400
sparc64: fix dump_mmu to look for global bit in tte value instead of tag
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 2aae2b8e0abd58e76d616bcbe93c6966d06d0188
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date: Sat May 22 14:52:24 2010 +0400
sparc64: fix pstate privilege bits
- refactor code to handle hpstate only if available for current cpu
- conditionally set hypervisor bit in hpstate register
- reorder softmmu indices so user accessable ones go first, translation context
macros supervisor() and hypervisor() adjusted as well
- disable sparcv8 registers for TARGET_SPARC64
- fix cpu_mmu_index to use sparcv9 bits only
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit b8e9fc0625c49404d63b4391f6dc5cf27be8b45b
Author: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Date: Sat May 22 14:52:19 2010 +0400
sparc64: generate data access exception on RW violation
- separate PRIV and PROT handling
- DPRINTF_MMU macro to clean up debug code
- dump mmu_idx, trap level and mmu context registers
along with address translation values
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 65899fe34b09ab4af4b045977460b531ec5c1f73
Author: Artyom Tarasenko <atar4qemu at googlemail.com>
Date: Sat May 22 10:38:56 2010 +0200
sparc32 protect read-only bits in DMA CSR registers
On a real hardware changing read-only bits has no effect
Use a mask common for SCSI and Ethernet registers. The crucial
bit is DMA_INTR, because setting or clearing it may produce
spurious interrupts.
This patch allows booting Solaris 2.3
Signed-off-by: Artyom Tarasenko <atar4qemu at gmail.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit ae6b2c4ed956c17456e70efefe13ad0ab7db31de
Author: TeLeMan <geleman at gmail.com>
Date: Wed May 12 10:28:51 2010 +0800
vmstate: fix breakage by 7e72abc382b700a72549e8147bdea413534eeedc
cirrus_post_load() will be executed twice when loading vm states and then the
wrong physical memory will be registered. This issue may lead to crash qemu.
Signed-off-by: TeLeMan <geleman at gmail.com>
Acked-by: Juan Quintela <quintela at redhat.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 9848bbf1a8b69cc6a8497b075ce5d171f7c62f1a
Author: Markus Armbruster <armbru at redhat.com>
Date: Tue May 11 14:02:31 2010 +0200
Fix -device help and documentation
Commit 6616b2ad reverted commit 40ea285c. Looks like a mismerge to
me.
Signed-off-by: Markus Armbruster <armbru at redhat.com>
Acked-by: Stefan Weil <weil at mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 4c0a6db01b89ff314b964ff7a9ae51276f127a34
Author: Stuart Brady <sdb at zubnet.me.uk>
Date: Wed May 12 20:42:04 2010 +0100
Fix tarbin Makefile rule
The 'tarbin' Makefile rule doesn't include qemu-system-sparc64, but
should do, now that sparc64-softmmu is in the default target list.
The rule attempts to tar up binaries that were not built if a target
list was passed to the configure script -- in which case, it will
either fail, or otherwise include binaries from previous builds.
Fix both problems once and for all by building a list of binaries to
include in the tarball, using the list of targets to be built.
Signed-off-by: Stuart Brady <sdb at zubnet.me.uk>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 6c913ba5f353741fc8284f54675b26943ecc7b8b
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date: Thu May 20 09:16:33 2010 +0200
hxtool: Add syntax error detection
Add basic imbalance detection for STEXT/ETEXI.
Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 3c4c32101bdb4ee939e40a8e3d3f9d2a5d0ec053
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date: Thu May 20 09:16:30 2010 +0200
Fix TEXI section mark imbalance in qemu-img-cmd.hx
Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit a71cd2a523f9b35ffeba8de3c536e494e255e6ea
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date: Sat May 15 13:03:28 2010 +0200
Put dependency files in proper subdir
This seems to resolve subtle breakages of our build system:
Dependency files generated for targets like 'dir/foo.o' were saved as
'foo.d'. Now, if there was also a target 'foo.o', one of the dependency
file was overwritten. Concrete example: libhw*/macio.o vs.
libhw*/ide/macio.o. And this often left a segfaulting build result
behind when changing the "wrong" data structures".
Fix it by generating proper 'dir/foo.d'.
Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
Acked-by: Paolo Bonzini <pbonzini at redhat.com>
Acked-by: Juan Quintela <quintela at redhat.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit b1acdd2cf1c45cf8278fe58d960a1480bf3f280e
Author: Jan Kiszka <jan.kiszka at siemens.com>
Date: Sat May 15 13:03:30 2010 +0200
Clean libhw subdirs as well
Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
Acked-by: Paolo Bonzini <pbonzini at redhat.com>
Acked-by: Juan Quintela <quintela at redhat.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 0bfcd599e3f5c5679cc7d0165a0a1822e2f60de2
Author: Blue Swirl <blauwirbel at gmail.com>
Date: Sat May 22 08:02:12 2010 +0000
Fix %lld or %llx printf format use
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 4556bd8b2514a55d48c15b1adb17537f49657744
Author: Blue Swirl <blauwirbel at gmail.com>
Date: Sat May 22 08:00:52 2010 +0000
Compile dma only once
Use a qemu_irq to request CPU exit.
7 compilations less for the full build.
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit c86d2c23879da1534a257eecb572a76f1ead5d93
Author: Blue Swirl <blauwirbel at gmail.com>
Date: Sat May 22 07:59:06 2010 +0000
pckbd: improve debugging
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 956a3e6bb7386de48b642d4fee11f7f86a2fcf9a
Author: Blue Swirl <blauwirbel at gmail.com>
Date: Sat May 22 07:59:01 2010 +0000
Compile pckbd only once
Use a qemu_irq to indicate A20 line changes. Move I/O port 92
to pckbd.c.
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 9e42382fc14b999126f8cabb32761eb98153fd1b
Author: Riku Voipio <riku.voipio at nokia.com>
Date: Fri May 7 12:28:05 2010 +0000
linux-user: do not warn for missing pselect6
Libc will fallback gracefully if pselect6 is not available. Thus put
pselect6 to nowarn until the atomicity issues of the original pselect6
patch are dealt with.
Signed-off-by: Riku Voipio <riku.voipio at nokia.com>
Cc: Michael Casadevall <mcasadevall at ubuntu.com>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 6781d08d2e0522c9e8ca421ad89ed9b19cf0555e
Author: Richard Henderson <rth at twiddle.net>
Date: Thu May 6 08:50:44 2010 -0700
tcg-ia64: Load GUEST_BASE into a register.
Saves one bundle per memory operation.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 7221f058a6bda93b892f4486801908ed3c90b534
Author: Richard Henderson <rth at twiddle.net>
Date: Thu May 6 08:50:43 2010 -0700
tcg-ia64: Fix some register usage issues.
(1) The output registers were not marked call-clobbered, even though
they can be modified by called functions.
(2) The thread pointer was not marked reserved.
(3) R4-R6 are call-saved, but not saved by the prologue. Rather than
save them, mark them reserved so that we don't use them.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 4b31713dc4fa81e9026413acc6825073b92453bc
Author: Richard Henderson <rth at twiddle.net>
Date: Thu May 6 08:50:42 2010 -0700
tcg-hppa: Load GUEST_BASE as an immediate.
Now that the prologue is generated after GUEST_BASE is fixed,
we can load it as an immediate, and also avoid reserving the
register if it isn't necessary.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 9002ec794e8154ff774270cf9fac5f850a1c5751
Author: Richard Henderson <rth at twiddle.net>
Date: Thu May 6 08:50:41 2010 -0700
tcg: Initialize the prologue after GUEST_BASE is fixed.
This will allow backends to make intelligent choices about how
to implement GUEST_BASE.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit a5b3b13bedc545b5e571480b9cf47d2d378ad193
Author: Richard Henderson <rth at twiddle.net>
Date: Mon May 3 10:07:55 2010 -0700
alpha-linux-user: Fix sigprocmask.
Alpha passes oldset by value in a register, and returns the newset
as the return value; as compared to the standard implementation in
which both are passed by reference. This requires being able to
distinguish negative return values that are not errors. Do this in
the same way as the Alpha Linux kernel, by storing a zero in V0 in
the implementation of the syscall.
At the same time, fix a think-o in the regular sigprocmask path in
which we passed the target, rather than the host, HOW value.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit f43ce12b47323f0555ae9dfdf2f9d443346a4952
Author: Richard Henderson <rth at twiddle.net>
Date: Mon May 3 10:07:54 2010 -0700
alpha-linux-user: Fix sigsuspend parameters.
Alpha passes the signal set in a register, not by reference.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 9231733a82cfced41edc4d859c1327f7a7ae8a59
Author: Richard Henderson <rth at twiddle.net>
Date: Mon May 3 10:07:53 2010 -0700
alpha-linux-user: Fix getxpid.
Put ppid in the second return register.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit fb41a66edd0c7bd652dab14db43426cbbd8514d7
Author: Richard Henderson <rth at twiddle.net>
Date: Mon May 3 10:07:52 2010 -0700
alpha-linux-user: Fix pipe return mechanism.
At the same time, tidy the code wrt MIPS and SH4 which have the
same two register return mechanism. Fix confusion between pipe
and pipe2 with an explicit flags=0, when the guest will not be
using the two register return mechanism.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 57f18a9515b1240280c59cf60df041f50be05493
Author: Richard Henderson <rth at twiddle.net>
Date: Mon May 3 10:07:51 2010 -0700
alpha-linux-user: Add correct sigaction constants.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 1b6bd8c7f3fc89cff9597efed8b776687d139eb0
Author: Richard Henderson <rth at twiddle.net>
Date: Mon May 3 10:07:50 2010 -0700
alpha-linux-user: Fix siginfo.si_addr for SIGSEGV and SIGBUS.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 7dd46c02e4b83be7fbabe81465137d7116b6add6
Author: Richard Henderson <rth at twiddle.net>
Date: Mon May 3 10:07:49 2010 -0700
alpha-linux-user: Fix brk error return.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 7868652357a9deb32b2f2d48b8563f2aeebba775
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:35 2010 -0700
tcg-i386: Nuke trailing whitespace.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 5d1e4e85cee8c735ae49599ba96440d29312557c
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:34 2010 -0700
tcg-i386: Use lea for three-operand add.
The result is shorter than the mov+add that TCG would
otherwise generate for us.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 34a6d0b7fcac2faf936ab92803b4ac21f809a3b9
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:33 2010 -0700
tcg-i386: Tidy lea.
Implement full modrm+sib addressing mode processing.
Use that in qemu_ld/st to output the LEA.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit b3e66df71acb52f9798f3da039470952c4b4c7c3
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:32 2010 -0700
tcg-i386: Tidy xchg.
Define and use OPC_XCHG_ax_r32.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 0566d387378fe02e89f27d3608474e216baa72d7
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:31 2010 -0700
tcg-i386: Tidy multiply.
Define and use OPC_IMUL_GvEv{,Ib,Iz}.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 9363dedbbb998949c0c851afe6597f2c97ed3c90
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:30 2010 -0700
tcg-i386: Tidy unary arithmetic.
Define OPC_GRP3 and EXT3_FOO to match. Use them instead of
bare constants.
Define OPC_GRP5 and rename the existing EXT_BAR to EXT5_BAR to
make it clear which extension should be used with which opcode.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 32a8ffb97043bc5691ebebfb219e4161a300ef8f
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:29 2010 -0700
tcg-i386: Tidy setcc.
Define and use OPC_SETCC.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 3c3accc670ec437c70557ca6f0a43111188805d8
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:28 2010 -0700
tcg-i386: Tidy ret.
Define and use OPC_RET.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit aadb21a4b27457710f2a62682fd040e8fe37af65
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:27 2010 -0700
tcg-i386: Tidy calls.
Define OPC_CALL_Jz, generated by tcg_out_calli; use the later
throughout. Unify the calls within qemu_st; adjust the stack
with a single pop if applicable.
Define and use EXT_CALLN_Ev for indirect calls.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 6858614e6c0da6e557680a3606b32c0b8f0a093d
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:26 2010 -0700
tcg-i386: Tidy push/pop.
Move tcg_out_push/pop up in the file so that they can be used
by qemu_ld/st. Define a tcg_out_pushi to be used as well.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit ef10b106b62aba0d47ecffb73730d751407d1881
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:25 2010 -0700
tcg-i386: Tidy movi.
Define and use OPC_MOVL_Iv.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 81570a70a004cf1292a55437f83c8f89131a6c08
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:24 2010 -0700
tcg-i386: Tidy non-immediate arithmetic operations.
Add more OPC values, and tgen_arithr. Use the later throughout.
Note that normal reg/reg arithmetic now uses the Gv,Ev opcode form
instead of the Ev,Gv opcode form used previously. Both forms
disassemble properly, and so there's no visible change when diffing
log files before and after the change. This change makes the operand
ordering within the output routines more natural, and avoids the need
to define an OPC_ARITH_EvGv since a read-modify-write with memory is
not needed within TCG.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit a369a702a13629ec58ed483eb4a259f5b67579d7
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:23 2010 -0700
tcg-i386: Tidy immediate arithmetic operations.
Define OPC_ARITH_EvI[bz]; use throughout. Use tcg_out_ext8u
directly in setcond. Use tgen_arithi in qemu_ld/st.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 6817c35598c2f58c53a9b5b7b5d6bd078a513a83
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:22 2010 -0700
tcg-i386: Tidy ext8s and ext16s operations.
Define OPC_MOVSBL and OPC_MOVSWL. Factor opcode emission to
separate functions.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 55e082a7a592d8115f9f44dd8c79395ff4f1ce42
Author: Richard Henderson <rth at twiddle.net>
Date: Fri May 21 08:30:21 2010 -0700
tcg-i386: Tidy ext8u and ext16u operations.
Define OPC_MOVZBL and OPC_MOVZWL. Factor opcode emission to
separate functions.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit a9456998e978d86c91e58cf1d56cf42739b627e8
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date: Fri May 21 16:09:10 2010 +0200
axisdev88: Fix passing of kernel cmdline.
Signed-off-by: Edgar E. Iglesias <edgar at axis.com>
commit f6d20d0f4f1e01f293c3d3b5772926275927c661
Author: Bernhard Kauer <kauer at os.inf.tu-dresden.de>
Date: Fri May 21 14:05:55 2010 +0200
Replace \0s with spaces before sending strings to curses.
Signed-off-by: Bernhard Kauer <kauer at tudos.org>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski at intel.com>
commit a9cf98d939c4f6539fad7e7d812ea16d96ba3dc9
Author: Rabin Vincent <rabin at rab.in>
Date: Sun May 2 15:20:52 2010 +0530
arm_timer: fix oneshot mode
In oneshot mode, the delta needs to come from the TimerLoad register,
not the maximum limit.
Signed-off-by: Rabin Vincent <rabin at rab.in>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit d6759902cb467c002086853d2eb38fb969c29f7f
Author: Rabin Vincent <rabin at rab.in>
Date: Sun May 2 15:20:51 2010 +0530
arm_timer: reload timer when enabled
Reload the timer when TimerControl is written, if the timer is to be
enabled. Otherwise, if an earlier write to TimerLoad was done while
periodic mode was not set, s->delta may incorrectly still have the value
of the maximum limit instead of the value written to TimerLoad.
This problem is evident on versatileap on current linux-next, which
enables TIMER_CTRL_32BIT before writing to TimerLoad and then enabling
periodic mode and starting the timer. This causes the first periodic
tick to be scheduled to occur after 0xffffffff periods, leading to a
perceived hang while the kernel waits for the first timer tick.
Signed-off-by: Rabin Vincent <rabin at rab.in>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 0b2ec6fcfdad1dd9ce74c50e2d752afbb627b0d0
Author: Michael Walle <michael at walle.cc>
Date: Sat May 1 19:34:06 2010 +0200
pflash_cfi01: add device ID read command
Add support to read manufacturer and device ID. For everything else (eg.
lock bits) 0 is returned.
Signed-off-by: Michael Walle <michael at walle.cc>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 3e89cb0419cf5ff8f97fe219c6faa58f4c0c8728
Author: Kevin Wolf <kwolf at redhat.com>
Date: Thu May 20 10:34:50 2010 +0200
vvfat: More build fixes with DEBUG
Casting a pointer to an int doesn't work on 64 bit platforms. Use the %p printf
conversion specifier instead.
Signed-off-by: Kevin Wolf <kwolf at redhat.com>
commit 792b45b142e6b901e1de20886bc3369211582b8c
Author: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
Date: Wed May 19 22:53:44 2010 +0200
vvfat: Fix compilation with DEBUG defined
gcc does not like passing a NULL where an int value is expected:
block/vvfat.c: In function âcheckpointâ:
block/vvfat.c:2868: error: passing argument 2 of âremove_mappingâ makes
integer from pointer without a cast
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
Signed-off-by: Kevin Wolf <kwolf at redhat.com>
commit 396759ad4ad5289623eb7e1993c433ad4e7b13a1
Author: Nicholas Bellinger <nab at linux-iscsi.org>
Date: Mon May 17 09:46:04 2010 -0700
block: Add SG_IO device check in refresh_total_sectors()
This patch adds a special case check for scsi-generic devices in
refresh_total_sectors() to skip the subsequent BlockDriver->bdrv_getlength()
that will be returning -ESPIPE from block/raw-posic.c:raw_getlength() for
BlockDriverState->sg=1 devices.
Signed-off-by: Nicholas A. Bellinger <nab at linux-iscsi.org>
Signed-off-by: Kevin Wolf <kwolf at redhat.com>
commit f8ea0b00e087380fa0c7309f843f67b7e2d0126a
Author: Nicholas Bellinger <nab at linux-iscsi.org>
Date: Mon May 17 09:45:57 2010 -0700
block: Make find_image_format() return 'raw' BlockDriver for SG_IO devices
This patch adds a special BlockDriverState->sg check in block.c:find_image_format()
after bdrv_file_open() -> block/raw-posix.c:hdev_open() has been called to determine
if we are dealing with a Linux host scsi-generic device.
The patch then returns the BlockDriver * from bdrv_find_format("raw"), skipping the
subsequent bdrv_read() and rest of find_image_format().
Signed-off-by: Nicholas A. Bellinger <nab at linux-iscsi.org>
Signed-off-by: Kevin Wolf <kwolf at redhat.com>
commit 77be4366baface6613cfc312ba281f8e5860997c
Author: Christoph Hellwig <hch at lst.de>
Date: Wed May 19 20:53:10 2010 +0200
block: fix sector comparism in multiwrite_req_compare
The difference between the start sectors of two requests can be larger
than the size of the "int" type, which can lead to a not correctly
sorted multiwrite array and thus spurious I/O errors and filesystem
corruption due to incorrect request merges.
So instead of doing the cute sector arithmetics trick spell out the
exact comparisms.
Spotted by Kevin Wolf based on a testcase from Michael Tokarev.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Kevin Wolf <kwolf at redhat.com>
commit 618fbb84299780af96e3d4c4b6f2148656fe3708
Author: Christoph Hellwig <hch at lst.de>
Date: Wed May 19 12:40:09 2010 +0200
virtio-blk: fix barrier support
Before issuing the barrier to the block driver we need to flush our oustanding
queue of write requests, as the flush is supposed to be issued after them.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Kevin Wolf <kwolf at redhat.com>
commit de6c8042ec55da18702fa51f09072fcaa315edc3
Author: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
Date: Fri May 14 22:52:30 2010 +0100
virtio-blk: Avoid zeroing every request structure
The VirtIOBlockRequest structure is about 40 KB in size. This patch
avoids zeroing every request by only initializing fields that are read.
The other fields are either written to or may not be used at all.
Oprofile shows about 10% of CPU samples in memset called by
virtio_blk_alloc_request(). The workload is
dd if=/dev/vda of=/dev/null iflag=direct bs=8k running concurrently 4
times. This patch makes memset disappear to the bottom of the profile.
Signed-off-by: Stefan Hajnoczi <stefanha at linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf at redhat.com>
commit c53a7285b4377e91f30b7742c7e12c16d6bf86f0
Author: Avi Kivity <avi at redhat.com>
Date: Sun May 16 14:59:57 2010 +0300
block: fix aio_flush segfaults for read-only protocols (e.g. curl)
Not all block format drivers expose an io_flush method (reasonable for
read-only protocols), so calling io_flush there will immediately segfault.
Fix by checking for the method's existence before calling it.
Signed-off-by: Avi Kivity <avi at redhat.com>
Signed-off-by: Kevin Wolf <kwolf at redhat.com>
commit 81a204e44356a4e147ee4bcfded3d25793c5a2ad
Author: Eduard - Gabriel Munteanu <eduard.munteanu at linux360.ro>
Date: Thu May 20 09:14:04 2010 +0300
pc: fix segfault introduced by 3d53f5c36ff6
Commit 3d53f5c36ff6 introduced a segfault by erroneously making fw_cfg a
'void **' and passing it around in different ways.
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu at linux360.ro>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 70c482852aed861d728654c7bad9404eff76d9e3
Author: Richard Henderson <rth at twiddle.net>
Date: Wed May 12 11:04:27 2010 -0700
target-sparc: Inline some generation of carry for ADDX/SUBX.
Computing carry is trivial for some inputs. By avoiding an
external function call, we generate near-optimal code for
the common cases of add+addx (double-word arithmetic) and
cmp+addx (a setcc pattern).
Signed-off-by: Richard Henderson <rth at twiddle.net>
Acked-by: Artyom Tarasenko <atar4qemu at gmail.com>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit da441cffde8f593404e4187c57abf392717da2bc
Author: Richard Henderson <rth at twiddle.net>
Date: Wed Apr 14 08:26:50 2010 -0700
tcg-i386: Tidy jumps.
Define OPC_JCC*, OC_JMP*, and EXT_JMPN_Ev. Use them throughout.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit a042ef9470e1111bd5f5f84def886040345baabc
Author: Richard Henderson <rth at twiddle.net>
Date: Wed Apr 14 08:06:00 2010 -0700
tcg-i386: Eliminate extra move from qemu_ld64.
If the address register overlaps one of the output registers
simply issue the clobbering load last, rather than emitting
an extra move of the address register.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit af2660894f1d71cd8c9edeb19230f0336e320bcd
Author: Richard Henderson <rth at twiddle.net>
Date: Wed Apr 14 07:58:59 2010 -0700
tcg-i386: Tidy move operations.
Define OPC_MOVB* and OPC_MOVL*; use them throughout.
Use tcg_out_ld/st instead of bare tcg_out_modrm_offset
when it makes sense.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit f53dba010162a5ae57776084013e2d3ae32b0889
Author: Richard Henderson <rth at twiddle.net>
Date: Wed Apr 28 10:38:04 2010 -0700
tcg-i386: Tidy shift operations.
Define OPC_SHIFT_{1,Ib,cl}. Factor opcode emission to a function.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit fcb5dac1f79d48788d61a25630b713e1c31061cd
Author: Richard Henderson <rth at twiddle.net>
Date: Wed Apr 28 10:31:18 2010 -0700
tcg-i386: Tidy bswap operations.
Define OPC_BSWAP. Factor opcode emission to separate functions.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 702a8a99c31bdec24739d1d4f9492b496d04817d
Author: Aurelien Jarno <aurelien at aurel32.net>
Date: Thu May 20 21:00:23 2010 +0200
Remove i386 from .gitignore
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 5a4bb580cdb10b066f9fd67658b31cac4a4ea5e5
Author: Richard Henderson <rth at twiddle.net>
Date: Wed May 12 11:04:26 2010 -0700
target-sparc: Simplify ICC generation.
Use int32 types instead of target_ulong when computing ICC. This
simplifies the generated code for 32-bit host and 64-bit guest.
Use the same simplified expressions for ICC as were already used
for XCC in carry flag generation.
Simplify the ADD carry generation to not consider a possible carry-in.
Use the more complex carry computation for ADDX only. Use the same
carry algorithm for the XCC result of ADDX. Similarly for SUB/SUBX.
Use the ADD carry generation functions for TADD/TADDTV. Similarly
for SUB and TSUB/TSUBTV.
Tidy the code with respect to CODING_STYLE.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 4c1a0d8244116e4658b24858808c25c11bdf506a
Author: Richard Henderson <rth at twiddle.net>
Date: Wed May 12 11:04:25 2010 -0700
target-sparc: Fix compilation with --enable-debug.
Return a target_ulong from compute_C_icc to match the width of the users.
Signed-off-by: Richard Henderson <rth at twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel at gmail.com>
commit 02021c3f3e723d17ac5767d33d58917552650ec9
Author: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
Date: Wed May 19 18:49:29 2010 +0200
Fix __VA__ARGS__ typo in cris mmu.c
Fix compilation with DEBUG defined
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>
commit e476492e78d5872980f371663c1a8a89fb3ce149
Author: Aurelien Jarno <aurelien at aurel32.net>
Date: Wed May 19 18:30:53 2010 +0200
linux-user: fix 32-bit host breakage
Fix breakage introduced by commit 81bbe906c89b6b7af58a1eeb96ec5a0bfdc3386f.
Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
commit 41836a9f7e4da3a265989d79f35c44f659f7b3cf
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date: Wed May 12 16:34:42 2010 -0300
Fix qtypes' licenses
- Change from GPL to LGPL
- Add license text when missing
- Minor cosmetic changes to make all headers look the same
Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
commit 39b59d2606b3360458361ab0f5419b3262dbf46d
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date: Tue May 11 18:08:20 2010 -0300
Monitor: Return before exiting with 'quit'
This is a new version of the (now reverted) following commit:
0e8d2b5575938b8876a3c4bb66ee13c5d306fb6d
The 'quit' Monitor command (implemented by do_quit()) calls
exit() directly, this is problematic under QMP because QEMU
exits before having a chance to send the ok response.
Clients don't know if QEMU exited because of a problem or
because the 'quit' command has been executed.
This commit fixes that by making do_quit() use
qemu_system_shutdown_request(), so that we exit gracefully.
Thanks to Paolo Bonzini <pbonzini at redhat.com> for suggesting
this solution.
Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
commit a691d41a118289e8eb8210e1a824a848497d14a9
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date: Tue May 11 18:07:04 2010 -0300
sysemu: Export 'no_shutdown'
It's a global variable already, do_quit() will use it.
Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
commit a875170167f75e63a11f68adc0a15b4e82a6c186
Author: Luiz Capitulino <lcapitulino at redhat.com>
Date: Tue May 11 17:50:50 2010 -0300
Revert "Monitor: Return before exiting with 'quit'"
This reverts commit 0e8d2b5575938b8876a3c4bb66ee13c5d306fb6d.
Next commits will do the same thing in a better way.
Signed-off-by: Luiz Capitulino <lcapitulino at redhat.com>
commit b752daf03092b6720e39fdf7f4198eec95f71468
Author: Markus Armbruster <armbru at redhat.com>
Date: Wed May 12 10:53:01 2010 +0200
Revert "monitor: Convert do_pci_device_hot_remove() to QObject"
We don't want pci_del in QMP. Use device_del instead.
This reverts commit 6848d827162fea039f2658414a4adb6164a4f9b0.
Conflicts:
hw/pci-hotplug.c
sysemu.h
Signed-off-by: Markus Armbruster <armbru at redhat.com>
commit 6c6a58aee425338bf67ec8faffdcda56b0b82090
Author: Markus Armbruster <armbru at redhat.com>
Date: Wed May 12 10:53:00 2010 +0200
Revert "PCI: Convert pci_device_hot_add() to QObject"
Short story: We don't want pci_add in QMP. Long story follows.
pci_add can do two things:
* Hot plug a PCI NIC. device_add is more general.
* Hot plug a PCI disk controller, and a drive connected to it.
The controller is either virtio-blk-pci (if=virtio) or lsi53c895a
(if=scsi). With the latter, the drive is optional. Use drive_add to
hotplug additional SCSI drives. Except drive_add is not available in
QMP.
device_add is more general for controllers and the guest part of
drives. I'm working on a more general alternative for the host part
of drives.
Why am I proposing to remove pci_add from QMP before its replacement is
ready? I want it out sooner rather than later, because it isn't fully
functional (errors and drive_add are missing), and we do not plan to
complete the job. In other words, it's not really usable over QMP now,
and it's not what we want for QMP anyway. Since we don't want it to be
used over QMP, we should take it out, not leave it around as a trap for
the uninitiated.
Dan Berrange confirmed that libvirt has no need for pci_add & friends
over QMP.
This reverts commit 7a344f7ac7bb651d0556a933ed8060d3a9e5d949.
Conflicts:
hw/pci-hotplug.c
sysemu.h
Signed-off-by: Markus Armbruster <armbru at redhat.com>
commit b3e5e3e6854bd3e3d642557b16f6cafb4b2fbe91
Author: Markus Armbruster <armbru at redhat.com>
Date: Mon May 10 09:16:05 2010 +0200
QMP: Add "Downstream extension of QMP" to spec
Signed-off-by: Markus Armbruster <armbru at redhat.com>
commit 0d5d46993840c1e6a04c1db38a554aad4ee83835
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date: Wed May 19 15:24:17 2010 +0200
microblaze: Update elf machine nums.
189 was allocated in upstream binutils.
0xbaab was the old temporary value. Still used by some tools and the
linux kernel.
I've seen 115 in older gdb versions, but lets ignore that one.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>
commit e4cbd44d8e86c7fb605f92b05fd9ae6b9e393c56
Author: Edgar E. Iglesias <edgar.iglesias at gmail.com>
Date: Wed May 19 15:09:28 2010 +0200
microblaze: Add linux-user core dumping support.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias at gmail.com>
More information about the Spice-commits
mailing list