As an alternative to the 3 individual handlers, there is also a simplified
io mem hook function. To be consistent, let's add an endianness parameter
there too.
Signed-off-by: Alexander Graf
---
hw/apb_pci.c |3 ++-
hw/pci_host.c | 12
hw/unin_pci.c |6 --
rwhandler.c
This patch replaces explicit bswaps with endianness hints to the
mmio layer.
Signed-off-by: Alexander Graf
---
hw/versatile_pci.c | 14 +-
1 files changed, 1 insertions(+), 13 deletions(-)
diff --git a/hw/versatile_pci.c b/hw/versatile_pci.c
index 3baad96..cc8f9f8 100644
--- a/hw/
This patch replaces explicit bswaps with endianness hints to the
mmio layer.
Signed-off-by: Alexander Graf
---
hw/openpic.c | 23 ++-
1 files changed, 2 insertions(+), 21 deletions(-)
diff --git a/hw/openpic.c b/hw/openpic.c
index 0e287bd..7b75d3f 100644
--- a/hw/openpic.c
This patch adds the storage sata class id.
Signed-off-by: Alexander Graf
---
hw/pci_ids.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/pci_ids.h b/hw/pci_ids.h
index 82cba7e..ea3418c 100644
--- a/hw/pci_ids.h
+++ b/hw/pci_ids.h
@@ -15,6 +15,7 @@
#define PCI_CLAS
Now that we have the function split out, we have to reindent it.
In order to increase the readability of the actual functional change,
this is split out.
Signed-off-by: Alexander Graf
---
hw/ide/core.c | 734
1 files changed, 367 insertio
This patch replaces explicit bswaps with endianness hints to the
mmio layer.
Signed-off-by: Alexander Graf
---
hw/heathrow_pic.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/hw/heathrow_pic.c b/hw/heathrow_pic.c
index 390b63c..b19b754 100644
--- a/hw/heathrow_pic.c
The only reason we have bswap versions of the pci host code is that
most pci host devices are little endian. The ppc e500 is the only
odd one here, being big endian.
So let's directly pass the endianness down to the mmio layer and not
worry about it on the pci host layer.
Signed-off-by: Alexander
Signed-off-by: Yoshiaki Tamura
---
qemu-char.c |2 +-
qemu_socket.h |1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 88997f9..8ef4760 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2116,7 +2116,7 @@ static void tcp_chr_telnet_init(int
The e1000 has compatibility code to handle big endianness which makes it
mandatory to be recompiled on different targets.
With the generic mmio endianness solution, there's no need for that anymore.
We just declare all mmio to be little endian and call it a day.
Because we don't depend on the tar
This patch adds support for AHCI emulation. I have tested and verified it works
in Linux, OpenBSD, Windows Vista and Windows 7. This AHCI emulation supports
NCQ, so multiple read or write requests can be outstanding at the same time.
The code is however not fully optimized yet. I'm fairly sure tha
The device is only used on big endian systems, but always byte swaps. That's
a very good indicator that it's actually a little endian device ;-).
Signed-off-by: Alexander Graf
---
hw/mac_dbdma.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/hw/mac_dbdma.c b/hw/mac_
Modify inuse type to uint16_t, let save/load to handle, and revert
last_avail_idx with inuse if there are outstanding emulation.
Signed-off-by: Yoshiaki Tamura
---
hw/virtio.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/hw/virtio.c b/hw/virtio.c
index 849a60f.
For DMA operations, we need to hook into even more IDE functionality.
This patch adds the respective hooking points, allowing us to handle
SG lists ourselves in the AHCI code.
Signed-off-by: Roland Elek
Signed-off-by: Alexander Graf
---
v1 -> v2:
- make dma hooks explicit by putting them i
Due to popular request, this patch moves pieces that are successfully identified
as PATA only to a new file called pata.c.
Signed-off-by: Alexander Graf
---
Makefile.objs |2 +-
hw/ide/core.c | 144 +--
hw/ide/internal.h |3 +
hw/ide/pata.
Record mmio write event to replay it upon failover.
Signed-off-by: Yoshiaki Tamura
---
exec.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/exec.c b/exec.c
index db9ff55..fd8823e 100644
--- a/exec.c
+++ b/exec.c
@@ -33,6 +33,7 @@
#include "osdep.h"
#include "kvm.h
We need a PCI ID for our new AHCI adapter. I just picked an ICH-7M
because that's the one built into the first Macbooks.
This patch adds a PCI ID define for an ICH-7M AHCI adapter.
Signed-off-by: Alexander Graf
---
v3 -> v4:
- add ICH7 instead of ICH7M (herbszt)
v4 -> v5:
- rename to IC
We need to be able to spawn new AHCI drives, so let's add AHCI support
to the -drive option.
Signed-off-by: Alexander Graf
---
blockdev.c|6 +-
blockdev.h|1 +
qemu-common.h |2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/blockdev.c b/blockdev.c
inde
When we add a device using -drive to the guest, we also need to create a
new SATA bus to handle the device. This patch adds a function call that
every machine that likes to have IF_SATA support can call to get full
device creation by keeping the actual qdev code clean.
Signed-off-by: Alexander Gra
When ft_mode is set in the header, tcp_accept_incoming_migration()
sets ft_trans_incoming() as a callback, and call
qemu_file_get_notify() to receive FT transaction iteratively. We also
need a hack no to close fd before moving to ft_transaction mode, so
that we can reuse the fd for it.
Signed-off
Replace replace qemu_send_packet() with qemu_send_packet_proxy() to
let event-tap capture events from e1000.
Signed-off-by: Yoshiaki Tamura
---
hw/e1000.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/e1000.c b/hw/e1000.c
index 7811699..51a35ec 100644
--- a/hw/e1
The ATA command interpretation code can be used for PATA and SATA
interfaces alike. So let's split it out into a separate function.
Signed-off-by: Alexander Graf
---
hw/ide/core.c | 20 ++--
hw/ide/internal.h |2 ++
2 files changed, 16 insertions(+), 6 deletions(-)
dif
event-tap controls when to start FT transaction, and provides proxy
functions to called from net/block devices. While FT transaction, it
queues up net/block requests, and flush them when the transaction gets
completed.
Signed-off-by: Yoshiaki Tamura
Signed-off-by: OHMURA Kei
---
Makefile.targe
Currently buf size is fixed at 32KB. It would be useful if it could
be flexible.
Signed-off-by: Yoshiaki Tamura
---
hw/hw.h |2 ++
savevm.c | 21 -
2 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/hw/hw.h b/hw/hw.h
index 9d2cfc2..b67f504 100644
--- a/hw
This code implements VM transaction protocol. Like buffered_file, it
sits between savevm and migration layer. With this architecture, VM
transaction protocol is implemented mostly independent from other
existing code.
Signed-off-by: Yoshiaki Tamura
Signed-off-by: OHMURA Kei
---
Makefile.objs
From: Roland Elek
I modified ide_identify() to include the zero-based queue length
value in word 75, and set bit 8 in word 76 to signal NCQ support
in the identify data for AHCI SATA drives.
Signed-off-by: Roland Elek
---
hw/ide/core.c |7 +++
hw/ide/internal.h |2 ++
2 files c
Currently FdMigrationState doesn't support read(), and this patch
introduces it to get response from the other side.
Signed-off-by: Yoshiaki Tamura
---
migration-tcp.c | 15 +++
migration.c | 12
migration.h |3 +++
3 files changed, 30 insertions(+), 0 de
By copying the next entry to a tmp pointer,
qemu_del_vm_change_state_handler() can be called in the handler.
Signed-off-by: Yoshiaki Tamura
---
vl.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/vl.c b/vl.c
index 805e11f..6b6aec0 100644
--- a/vl.c
+++ b/vl.c
@@ -10
Introduce migrate_ft_trans_put_ready() which kicks the FT transaction
cycle. When ft_mode is on, migrate_fd_put_ready() would open
ft_trans_file and turn on event_tap. To end or cancel FT transaction,
ft_mode and event_tap is turned off. migrate_ft_trans_get_ready() is
called to receive ack from
To utilize ft_trans_file function, savevm needs interfaces to be
exported.
Signed-off-by: Yoshiaki Tamura
---
hw/hw.h |5 ++
savevm.c | 165 ++
2 files changed, 170 insertions(+), 0 deletions(-)
diff --git a/hw/hw.h b/hw/hw.h
ind
When -k option is set to migrate command, it will turn on ft_mode to
start FT migration mode (Kemari).
Signed-off-by: Yoshiaki Tamura
---
hmp-commands.hx |7 ---
migration.c |3 +++
qmp-commands.hx |7 ---
3 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/hm
The option looks like, -incoming ::,ft_mode
Signed-off-by: Yoshiaki Tamura
---
migration.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/migration.c b/migration.c
index f0cfa37..58f1158 100644
--- a/migration.c
+++ b/migration.c
@@ -42,9 +42,16 @@ static Migrat
Replace bdrv_aio_writev() with bdrv_aio_writev_proxy() to let
event-tap capture events from dma-helpers.
Signed-off-by: Yoshiaki Tamura
---
dma-helpers.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dma-helpers.c b/dma-helpers.c
index 712ed89..8ab2c26 100644
--- a/
Record ioport event to replay it upon failover.
Signed-off-by: Yoshiaki Tamura
---
ioport.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ioport.c b/ioport.c
index aa4188a..74aebf5 100644
--- a/ioport.c
+++ b/ioport.c
@@ -27,6 +27,7 @@
#include "ioport.h"
#include
Signed-off-by: Yoshiaki Tamura
---
vl.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/vl.c b/vl.c
index 6b6aec0..ea6fe71 100644
--- a/vl.c
+++ b/vl.c
@@ -162,6 +162,7 @@ int main(int argc, char **argv)
#include "qemu-queue.h"
#include "cpus.h"
#include "arch_init.h
Introduce qemu_savevm_state_{begin,commit} to send the memory and
device info together, while avoiding cancelling memory state tracking.
Signed-off-by: Yoshiaki Tamura
---
savevm.c | 88 ++
sysemu.h |2 +
2 files changed, 90 inser
Hi,
This patch series is a revised version of Kemari for KVM, which
applied comments for the previous post and KVM Forum 2010. The
current code is based on qemu.git
f711df67d611e4762966a249742a5f7499e19f99.
For general information about Kemari, I've made a wiki page at
qemu.org.
http://wiki.qem
Replace replace bdrv_aio_multiwrite() with bdrv_aio_multiwrite_proxy()
to let event-tap capture events from virtio-blk.
Signed-off-by: Yoshiaki Tamura
---
hw/virtio-blk.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c
index e5f9b27..aa
Introduce skip_header parameter to qemu_loadvm_state() so that it can
be called iteratively without reading the header.
Signed-off-by: Yoshiaki Tamura
---
migration.c |2 +-
savevm.c| 24 +---
sysemu.h|2 +-
3 files changed, 15 insertions(+), 13 deletions(-)
Replace replace qemu_sendv_packet_async() with
qemu_sendv_packet_async_proxy() to let event-tap capture events from
virtio-net.
Signed-off-by: Yoshiaki Tamura
---
hw/virtio-net.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/virtio-net.c b/hw/virtio-net.c
index 1
Nicholas,
below.
On Thu, Nov 25, 2010 at 3:32 PM, Nicholas A. Bellinger
wrote:
> But existing code aside, I think having a small userspace iSCSI
> initiator built into QEMU that 'just works' across all host environments
> would be a pretty useful thing, even if the scalibility / scope is
> limit
On Wed, 2010-11-24 at 19:14 +, Stefan Hajnoczi wrote:
> On Wed, Nov 24, 2010 at 5:04 PM, Christoph Hellwig wrote:
> > Do you have any performance numbers showing why the addition of the
> > code is nessecary over just using the kernel iscsi initiator? Which
> > btw, is a lot more flexible as
On Wed, 2010-11-24 at 17:48 +0100, Christoph Hellwig wrote:
> Nick,
>
> can we wait a bit with this series? With the threadlets currently
> pending for inclusion I can get my rewrite of the generic-generic
> to not abuse the qemu block layer out of the closet again, which
> should simplify a lot
On Wed, 24 Nov 2010 13:38:59 +
Stefan Hajnoczi wrote:
> > This series adds rebased support for the hw/scsi-bsg.c backstore for
> > scsi-bus
> > compatible HBA emulation in QEMU-KVM on Linux hosts supporting the BSG
> > driver
> > against current mainline qemu-kvm.git/master code.
>
> I don
hi everyone
i try to make qemu-0.13.0
./configure --target-list=i386-linux-user
make
the report :Makefile:84: *** missing `endif'. Stop.
my gcc version :gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
thanks
The args_type of migrate_set_speed in qmp-commands.hx is wrong.
When we set migrate speed by json, qemu will be core dumped.
This bug was caused by 07de3e60b05 and hence affects master only.
Signed-off-by: Wen Congyang
---
qmp-commands.hx |2 +-
1 files changed, 1 insertions(+), 1 deletion
** Changed in: qemu-kvm (Ubuntu)
Assignee: Serge Hallyn (serge-hallyn) => (unassigned)
--
kvm sends caps lock key up event twice
https://bugs.launchpad.net/bugs/427612
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU:
Failure by qemu to open a default config file isn't cause to
error exit -- it just quietly continues on. After puzzling
issues with otherwise opaque config file locations and
startup handling numerous times, some help from qemu seemed
justified.
The prior version of this patch overloaded "-readc
Allow an optional qemu_early_init_vcpu() such that
kvm_arch_get_supported_cpuid() can be used from
cpu_x86_register(). Without this minimal setup
kvm_arch_get_supported_cpuid() gags kvm_ioctl() via
passing a NULL initialized KVMState *.
Signed-off-by: john cooper
---
diff --git a/cpus.c b/cpus.
Add kvm emulated x2apic flag to config defined cpu models
and general support for such hypervisor emulated flags.
In addition to checking user request flags against the host
we also selectively check against kvm for emulated flags.
Signed-off-by: john cooper
---
diff --git a/hw/pc.c b/hw/pc.c
i
Correct archaic CPU model "model" field for Intel CPUs.
The old "model" values caused two known problems:
- Skype crashes on a winxp guest if model < 6, due to syscall vs.
sysenter confusion.
- 32 bit windows doesn't enable MSI support if model < 13.
After consulting wi
[Resend of series which has been updated to apply to the
current tree. Associated discussion may be found in the
mail list archives.]
This series is a synopsis of several patches correcting
problems found during use and test of the cpu model config
definitions and usability in general.
Please re
This reuses the commandline copy setup in user space by
loader_build_argptr()
and fixes https://bugs.launchpad.net/qemu/+bug/673613 .
Signed-off-by: Wolfgang Schildbach
---
arm-semi.c | 79
+--
bsd-user/bsdload.c |2 -
bsd-user/qe
OK, I declare defeat :-) I'll followup with a patch that special-cases an empty
command line.
- Wolfgang
-Original Message-
From: Peter Maydell [mailto:peter.mayd...@linaro.org]
Sent: Wednesday, November 24, 2010 1:53 PM
To: Schildbach, Wolfgang
Cc: qemu-devel@nongnu.org
Subject: Re:
Attached a new version of my patch. You find two branches linked to this
bug for maverick and natty. The patch sets SDL_DISABLE_LOCK_KEYS and get
rid of the complete workaround in qemu-kvm. This requires SDL >= 1.2.14.
Stefan Weil wrote:
>The patch might fix part of the problem, but there remain m
Hello,
with these patches, hopefully all functions with printf like arguments
use gcc's format checking, so the TODO comment in HACKING can be removed.
The patch series was tested with a default build configuration on linux
and windows hosts (including some cross compilations for arm, mips and
** Branch linked: lp:~bdrung/qemu-kvm/caps-lock-key-up-event.maverick
--
kvm sends caps lock key up event twice
https://bugs.launchpad.net/bugs/427612
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: New
Status in “libsdl
** Also affects: libsdl1.2 (Ubuntu Maverick)
Importance: Undecided
Status: New
** Also affects: qemu-kvm (Ubuntu Maverick)
Importance: Undecided
Status: New
** Changed in: libsdl1.2 (Ubuntu Maverick)
Status: New => Invalid
--
kvm sends caps lock key up event twice
htt
** Branch linked: lp:~bdrung/qemu-kvm/caps-lock-key-up-event
--
kvm sends caps lock key up event twice
https://bugs.launchpad.net/bugs/427612
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: New
Status in “libsdl1.2” pack
On Wed, Nov 24, 2010 at 10:54 AM, Alexander Graf wrote:
>
> On 24.11.2010, at 03:22, Juan Quintela wrote:
>
>> Alexander Graf wrote:
>>> So far we have C preprocessor defines for target and host config
>>> options, but we're lacking any information on which devices are
>>> available.
>>>
>>> We d
On Wed, 24 Nov 2010, Christoph Hellwig wrote:
> On Wed, Nov 24, 2010 at 10:18:40AM -0800, Jeremy Fitzhardinge wrote:
> > Linux wants is a useful thing to do and implement (especially since it
> > amounts to standardising the ?BSD extension). I'm not sure of their
> > precise semantics (esp WRT ord
Hi folks, I've noticed an issue during our sanity testing for upstream.
On a RHEL 6 VM, After we issue the shutdown command, the qemu-kvm
process is still alive for some reason, making autotest fail the test.
More info:
VM serial console:
2010-11-24 15:15:16: initctl: Event failed
2010-11-24 15:1
On Wed, Nov 24, 2010 at 5:18 PM, M. Mohan Kumar wrote:
> Add qemu_read_full function
>
> Signed-off-by: M. Mohan Kumar
> ---
> osdep.c | 29 +
> qemu-common.h | 2 ++
> 2 files changed, 31 insertions(+), 0 deletions(-)
>
> diff --git a/osdep.c b/osdep.c
> i
On Wed, Nov 24, 2010 at 5:04 PM, Christoph Hellwig wrote:
> Do you have any performance numbers showing why the addition of the
> code is nessecary over just using the kernel iscsi initiator? Which
> btw, is a lot more flexible as it also supports SG_IO passthrough
> and thus accessing other devi
On Wed, Nov 24, 2010 at 10:18:40AM -0800, Jeremy Fitzhardinge wrote:
> Linux wants is a useful thing to do and implement (especially since it
> amounts to standardising the ?BSD extension). I'm not sure of their
> precise semantics (esp WRT ordering), but I think its already OK.
The nice bit is t
On Wed, 24 Nov 2010, Gerd Hoffmann wrote:
> This patch adds new set_password and expire_password monitor commands
> which allows to change and expire the password for spice and vnc
> connections. See the doc update patch chunk for details.
>
This has tabs.
[..snip..]
--
mailto:av1...@comtv.r
Add qemu_read_full function
Signed-off-by: M. Mohan Kumar
---
osdep.c | 29 +
qemu-common.h |2 ++
2 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/osdep.c b/osdep.c
index 327583b..7046b32 100644
--- a/osdep.c
+++ b/osdep.c
@@ -127,6 +127,35
I had the discussion with Jeremy in Boston before, but let's repeat it
here:
- is there actually any pre-existing xen backend that does properly
implement empty barries. Back then we couldn't find any.
- if this is a new concept to Xen please do not define an empty
barrier primitive, but
Btw, it might make sense to split this series into two.
Patches 1 to 11 are genuine improvements to the SCSI code, which I'd
like to see merged ASAP. The rest is the actual megasas driver, which
I still want to see, but haven't even gotten to review yet.
On Wed, 24 Nov 2010 09:28:54 +0800
Wen Congyang wrote:
> At 2010年11月23日 21:31, Luiz Capitulino Write:
> > On Tue, 23 Nov 2010 10:43:48 -0200
> > Luiz Capitulino wrote:
> >
> >> On Tue, 23 Nov 2010 13:41:26 +0800
> >> Wen Congyang wrote:
> >>
> >>> The args_type of migrate_set_speed in qmp-comm
On 11/24/2010 08:58 AM, Christoph Hellwig wrote:
> I had the discussion with Jeremy in Boston before, but let's repeat it
> here:
>
> - is there actually any pre-existing xen backend that does properly
>implement empty barries. Back then we couldn't find any.
> - if this is a new concept to
On Wed, Nov 24, 2010 at 12:16:08PM +0100, Hannes Reinecke wrote:
> Add callback to create a request with a predefined iovec.
> This is required for drivers which can use the iovec
> of a command directly.
What happend to my comment that the iov and non-iov case should share
code? Also what happen
On Wed, Nov 24, 2010 at 12:15:57PM +0100, Hannes Reinecke wrote:
> Traditionally, the linux stack is using SCSI status codes
> which are shifted by one as compared to those defined in SAM.
> A SCSI emulation should naturally return the SAM defined codes,
> not the linux ones.
> So to avoid any conf
This patch adds new set_password and expire_password monitor commands
which allows to change and expire the password for spice and vnc
connections. See the doc update patch chunk for details.
Signed-off-by: Gerd Hoffmann
---
hmp-commands.hx | 54 +
monitor.c
I don't really see the point of this. It's implemented as a protocol,
and thus the bottom of the qemu protocol stack. So we might get SCSI
commands in from the guest, decode them, just to re-encode them again
and send them off to the network all inside qemu.
Do you have any performance numbers s
This patch series adds new monitor commands to set and expire
the password:
set-password $protocol $secret
expire-password $protocol [ now | never | +secs | secs ]
The time when the password expires can be specified either relative
(+60 == password expires in 60 seconds from now) or absolute
protocol_client_auth_vnc() has two places where the auth can fail,
with identical code sending the reject message to the client.
Move the common code to the end of the function and make both
error paths jump there. No functional change.
Signed-off-by: Gerd Hoffmann
---
ui/vnc.c | 30 +
This patch adds support for expiring passwords to vnc. It adds a new
vnc_display_pw_expire() function which specifies the time when the
password will expire.
Signed-off-by: Gerd Hoffmann
---
console.h |1 +
qemu-common.h |3 +++
ui/vnc.c | 14 ++
ui/vnc.h |
Nick,
can we wait a bit with this series? With the threadlets currently
pending for inclusion I can get my rewrite of the generic-generic
to not abuse the qemu block layer out of the closet again, which
should simplify a lot of the things you're touching here.
On Wed, Nov 24, 2010 at 01:38:59PM +, Stefan Hajnoczi wrote:
> I don't know the Linux SCSI stack, so some basic questions for you :).
>
> With scsi-generic I can send SCSI commands to a device. How is bsg
> different? The bsg code looks cleaner than sg but they both boil down
> to issuing SC
On Wed, 24 Nov 2010, Kevin Wolf wrote:
> > On 11/24/10 14:08, Stefano Stabellini wrote:
> >> this patch can be applied to both qemu-xen and qemu and adds support
> >> for empty write barriers to xen_disk.
> >
> > Looks good.
> >
> > Acked-by: Gerd Hoffmann
>
> Thanks, applied to the block branc
On Wed, Nov 24, 2010 at 03:38:46PM +, Stefan Hajnoczi wrote:
> Test 019 can be run with qcow2 and qed image formats. Replace the
> specific image format value with "IMGFMT" so the golden output does not
> hardcode qcow2 or qed.
>
> This patch also includes a typo fix for "occurrences".
Thank
Am 21.11.2010 17:29, schrieb Avi Kivity:
> cmd646, via compile tested, pci lightly boot tested.
>
> Signed-off-by: Avi Kivity
Thanks, applied to the block branch.
Kevin
Am 24.11.2010 15:23, schrieb Gerd Hoffmann:
> On 11/24/10 14:08, Stefano Stabellini wrote:
>> this patch can be applied to both qemu-xen and qemu and adds support
>> for empty write barriers to xen_disk.
>
> Looks good.
>
> Acked-by: Gerd Hoffmann
Thanks, applied to the block branch.
Kevin
DMA into memory while VM is stopped makes it
hard to debug migration (consequitive saves
result in different files).
Fixing this completely is a large effort,
this patch does this for virtio-net.
Signed-off-by: Michael S. Tsirkin
Tested-by: Jason Wang
---
hw/virtio-net.c |3 +++
1 files cha
Make sure disk is in consistent state.
Signed-off-by: Michael S. Tsirkin
Tested-by: Jason Wang
---
cpus.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/cpus.c b/cpus.c
index 91a0fb1..d421a96 100644
--- a/cpus.c
+++ b/cpus.c
@@ -110,6 +110,8 @@ static void do_vm_stop(
This makes ram block ordering under migration stable, ordered by offset.
This is especially useful for migration to exec, for debugging.
Signed-off-by: Michael S. Tsirkin
Tested-by: Jason Wang
---
arch_init.c | 35 +++
cpu-common.h |3 +++
exec.c |
I sent the exact same patches offline to some of the Cc'd,
there's been no change but they have been tested by Jason now.
I'll queue them up unless there are some comments.
What these patches do is arrive at a state where migrate to exec with vm
stopped produces a stable result.
With these patche
Avoid sending out packets, and modifying
device state, when VM is stopped.
Add a bunch or assert statements to verify this does not happen.
Signed-off-by: Michael S. Tsirkin
Tested-by: Jason Wang
---
hw/virtio-net.c | 36 ++--
1 files changed, 26 insertions(+)
On Wed, Nov 24, 2010 at 04:16:04PM +0100, Paolo Bonzini wrote:
> On 11/24/2010 12:14 PM, Michael S. Tsirkin wrote:
> >>> buffered_file timer runs each 100ms. And we "try" to measure channel
> >>> bandwidth from there. If we are not able to run the timer, all the
> >>> calculations are wrong, a
There's no need to flush requests after vmstop
as vmstop does it for us automatically now.
Signed-off-by: Michael S. Tsirkin
Tested-by: Jason Wang
---
migration.c |2 --
savevm.c|4
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/migration.c b/migration.c
index 9
I'd like to disable bandwidth limit or make it very high,
Use int64_t all over to make values >= 4g work.
Signed-off-by: Michael S. Tsirkin
Tested-by: Jason Wang
---
buffered_file.c |9 ++---
hw/hw.h |8
migration.c |6 --
savevm.c|4 ++--
4
Note: to avoid conflict in a merge I cherry-picked a patch by Stefan
from master to my branch. git seems to resolve this without effort.
The following changes since commit e927d48722fdcba50f82d653c5a1927752483054:
pci: allow hotplug removal of cold-plugged devices (2010-11-16 14:55:23 +0200)
Test 019 can be run with qcow2 and qed image formats. Replace the
specific image format value with "IMGFMT" so the golden output does not
hardcode qcow2 or qed.
This patch also includes a typo fix for "occurrences".
Signed-off-by: Stefan Hajnoczi
---
019 |2 +-
019.out |
Signed-off-by: Peter Maydell
---
linux-user/signal.c | 37 +
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 5e8cbeb..3d0233d 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -1130,7
Signed-off-by: Peter Maydell
---
linux-user/signal.c | 30 ++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 3d0233d..bd0dbc1 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -1602,6 +1602,
The padding in the target_ucontext_v2 is defined by the size of
the target's sigset_t type, not the host's. (This bug only causes
problems when we start using the uc_regspace[] array to expose
VFP registers to userspace signal handlers.)
Signed-off-by: Peter Maydell
---
linux-user/signal.c |
For ARM linux-user mode signal handlers, fill in the ucontext with
VFP register contents in the same way that the kernel does. We only
do this for v2 format sigframe (2.6.12 and above); this is actually
bug-for-bug compatible with the older kernels, which don't save and
restore VFP registers either
Expose the vfp_get_fpscr() and vfp_set_fpscr() functions to C
code as well as generated code, so we can use them to read and
write the FPSCR when saving and restoring VFP registers across
signal handlers in linux-user mode.
Signed-off-by: Peter Maydell
---
target-arm/cpu.h|4
target
Restore the VFP registers from the ucontext on return from a signal
handler in linux-user mode. This means that signal handlers cannot
accidentally corrupt the interrupted code's VFP state, and allows
them to deliberately modify the state via the ucontext structure.
Signed-off-by: Peter Maydell
-
This patchset fixes the ARM-specific parts of the linux-user signal
handling code to save the VFP and iWMMXT registers to the signal
context struct when invoking a signal handler, and restore them
afterwards. (This omission was previously marked with a 'FIXME'
comment, and meant that signal handler
1 - 100 of 172 matches
Mail list logo