On Thu, May 16, 2013 at 01:30:28PM +0800, li guang wrote:
> 在 2013-05-16四的 12:30 +0800,Amos Kong写道:
> > Guest driver sets repeat rate and delay time by KBD_CMD_SET_RATE,
> > but ps2 backend doesn't process it and no auto-repeat implementation.
> > This patch adds support of auto-repeat feature.
> >
On Wed, May 15, 2013 at 01:32:50PM +1000, David Gibson wrote:
> On Tue, May 14, 2013 at 08:51:08PM -0600, Alex Williamson wrote:
> > On Wed, 2013-05-15 at 11:33 +1000, David Gibson wrote:
> > > On Tue, May 14, 2013 at 11:15:26AM -0600, Alex Williamson wrote:
> > > > On Tue, 2013-05-14 at 19:13 +100
On 16 May 2013 05:30, Amos Kong wrote:
> Guest driver sets repeat rate and delay time by KBD_CMD_SET_RATE,
> but ps2 backend doesn't process it and no auto-repeat implementation.
> This patch adds support of auto-repeat feature.
> diff --git a/hw/input/ps2.c b/hw/input/ps2.c
> index 3412079..1cfe
On 05/16/2013 12:30 PM, Amos Kong wrote:
> Guest driver sets repeat rate and delay time by KBD_CMD_SET_RATE,
> but ps2 backend doesn't process it and no auto-repeat implementation.
> This patch adds support of auto-repeat feature.
>
> Guest ps2 driver sets autorepeat to fastest possible in reset,
>
On Thu, May 16, 2013 at 09:24:05AM +0300, Michael S. Tsirkin wrote:
> On Wed, May 15, 2013 at 12:00:03PM +0100, Nicholas Thomas wrote:
> > Hi again,
> >
> > On Tue, 2013-05-14 at 15:49 +0100, Nicholas Thomas wrote:
> > > /sys/devices/virtual/net/t100/tun_flags is 0x5002 - so it looks like
> > > IF
于 2013-5-15 22:34, Stefan Hajnoczi 写道:
> Note: These patches apply to my block-next tree. You can also grab the code
> from git here:
> git://github.com/stefanha/qemu.git block-backup-core
>
> This series adds a new QMP command, drive-backup, which takes a point-in-time
> snapshot of a block devi
On 05/16/2013 01:19 PM, Amos Kong wrote:
It's clearer to use defined macros than magic numbers.
Signed-off-by: Amos Kong
---
ui/input.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/ui/input.c b/ui/input.c
index 8ca1a03..92c44ca 100644
--- a/ui/input.c
+++
The patch is working on 134a03e0b3d34b01b68107104c525c3bff1211d4 and
is not working from cbff4b342b000a7642125dbdabf61113e05eee44.
--
SUN OF A BEACH
On Wed, May 15, 2013 at 4:37 PM, Paolo Bonzini wrote:
> Il 15/05/2013 03:38, TeLeMan ha scritto:
>> On Tue, May 14, 2013 at 7:55 PM, Paolo Bonzini
在 2013-05-16四的 12:30 +0800,Amos Kong写道:
> Guest driver sets repeat rate and delay time by KBD_CMD_SET_RATE,
> but ps2 backend doesn't process it and no auto-repeat implementation.
> This patch adds support of auto-repeat feature.
>
> Guest ps2 driver sets autorepeat to fastest possible in reset,
>
It's clearer to use defined macros than magic numbers.
Signed-off-by: Amos Kong
---
ui/input.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/ui/input.c b/ui/input.c
index 8ca1a03..92c44ca 100644
--- a/ui/input.c
+++ b/ui/input.c
@@ -28,6 +28,7 @@
#include "qa
On Wed, Apr 24, 2013 at 02:11:26PM +0800, Amos Kong wrote:
> On Wed, Apr 24, 2013 at 07:59:36AM +0200, Gerd Hoffmann wrote:
> > Hi,
> >
> > > b44a7be17bdd270ea029a8e2ec0c2e80c6cd0444 virtio-scsi: Pack struct
> > > virtio_scsi_{req_cmd,resp_cmd}
> > > 5a7730db57ab0715223421e65b54fb50d6fefe5c vir
Guest driver sets repeat rate and delay time by KBD_CMD_SET_RATE,
but ps2 backend doesn't process it and no auto-repeat implementation.
This patch adds support of auto-repeat feature.
Guest ps2 driver sets autorepeat to fastest possible in reset,
period: 250ms, delay: 33ms
Tested by 'sendkey' mon
On Thu, May 16, 2013 at 7:53 AM, Anthony Liguori wrote:
> Hi,
>
> On behalf of the QEMU Team, I'd like to announce the availability of the
> third release candidate for the QEMU 1.5 release. This release is meant
> for testing purposes and should not be used in a production environment.
>
> http:
> From: Dietmar Maurer
>
> backup_start() creates a block job that copies a point-in-time snapshot
> of a block device to a target block device.
>
> We call backup_do_cow() for each write during backup. That function
> reads the original data from the block device before it gets
> overwritten.
Reviewed the code, except Paolo's comments, function seems fine.
Il 15/05/2013 16:34, Stefan Hajnoczi ha scritto:
The bdrv_add_before_write_cb() function installs a callback that is
invoked before a write request is processed. This will be used to
implement copy-on-write point-in-time snapshot
> The QMP 'transaction' command keeps a list of in-flight transactions.
> The transaction state structure is called BlkTransactionStates even
> though it only deals with a single transaction. The only plural thing
> is the linked list of transaction states.
>
> I find it confusing to call the sin
于 2013-5-16 3:01, Eric Blake 写道:
On 05/15/2013 08:34 AM, Stefan Hajnoczi wrote:
The Abort action can be used to test QMP 'transaction' failure. Add it
as the last action to exercise the .abort() and .cleanup() code paths
for all previous actions.
Signed-off-by: Stefan Hajnoczi
---
blockdev.
于 2013-5-15 20:28, Luiz Capitulino 写道:
On Wed, 15 May 2013 10:10:37 +0800
Wenchao Xia wrote:
于 2013-5-6 21:22, Luiz Capitulino 写道:
On Mon, 06 May 2013 10:09:43 +0800
Wenchao Xia wrote:
于 2013-5-3 10:51, Wenchao Xia 写道:
于 2013-5-2 20:02, Luiz Capitulino 写道:
On Thu, 02 May 2013 10:05:08 +0
在 2013-05-15三的 15:44 +0200,Laszlo Ersek写道:
> On 05/15/13 10:54, li guang wrote:
> > 在 2013-05-15三的 10:38 +0200,Paolo Bonzini写道:
> >> Il 15/05/2013 06:01, liguang ha scritto:
> >>> Signed-off-by: liguang
> >>
> >> --verbose, please.
> >>
> >> What problem does this patch fix?
> >
> > Oh, sorry to
Hi,
On behalf of the QEMU Team, I'd like to announce the availability of the
third release candidate for the QEMU 1.5 release. This release is meant
for testing purposes and should not be used in a production environment.
http://wiki.qemu.org/download/qemu-1.5.0-rc2.tar.bz2
You can help improve
Indicate ASPM L0s and L1 support in Link Capabilities and make the ASPM
bits in Link Control writable. These Link Control bits don't do anything
in qemu, but having them writable means the BIOS or OS can write them as
on real hardware.
Signed-off-by: Bjorn Helgaas
---
hw/pci/pcie.c
On 05/14/2013 05:52 PM, Michael Roth wrote:
> Hi everyone,
>
> The following new patches are queued for QEMU stable v1.4.2:
>
> https://github.com/mdroth/qemu/commits/stable-1.4-staging
>
> The release is planned for 05-24-2013:
>
> http://wiki.qemu.org/Planning/1.4
>
> Please CC qemu-sta...@n
Hi Gleb,
On a related note, does Qemu have an option to emulate RDTSC?
Thanks,
Joji.
-Original Message-
From: Gleb Natapov [mailto:g...@redhat.com]
Sent: Wednesday, April 24, 2013 11:57 PM
To: Joji Mekkattuparamban (joji)
Cc: Marcelo Tosatti; qemu-devel@nongnu.org; k...@vger.kernel.org
On 15 May 2013 19:02, Joss Reeves wrote:
> Thanks so much for the patch and including me on the thread. I can
> confirm that it did fix the problem running on a Linux host, but the OS
> X bug cited by myself and the OP still remains elusive. It's rather
> puzzling as I pulled from HEAD and built u
On 15 May 2013 16:48, Paolo Bonzini wrote:
> Here is an RCU implementation based on liburcu.
Doesn't compile on MacOSX/clang:
CCutil/rcu.o
In file included from util/rcu.c:35:
/Users/pm215/src/qemu/include/qemu/rcu.h:112:6: warning: implicit
declaration of function 'g_private_replace' is i
On Wed, May 15, 2013 at 02:05:58PM -0400, Luiz Capitulino wrote:
> On Wed, 15 May 2013 12:42:24 -0500
> mdroth wrote:
>
> > On Wed, May 15, 2013 at 11:04:27AM -0400, Luiz Capitulino wrote:
> > > On Wed, 15 May 2013 09:32:37 -0500
> > > mdroth wrote:
> > >
> > > > On Wed, May 15, 2013 at 09:17:4
On 05/15/2013 08:34 AM, Stefan Hajnoczi wrote:
> This patch adds a transactional version of the drive-backup QMP command.
> It allows atomic snapshots of multiple drives along with automatic
> cleanup if there is a failure to start one of the backup jobs.
>
> Note that QMP events are emitted for b
On 05/15/2013 08:34 AM, Stefan Hajnoczi wrote:
> The QMP 'transaction' command keeps a list of in-flight transactions.
> The transaction state structure is called BlkTransactionStates even
> though it only deals with a single transaction. The only plural thing
> is the linked list of transaction s
On Tue, May 14, 2013 at 5:33 PM, Peter Maydell wrote:
> The reworking of the versatile PCI controller model so that it actually
> behaved like hardware included an attempt to autodetect whether the
> guest Linux kernel was assuming the old broken behaviour. Unfortunately
> it turns out that there
On 05/15/2013 08:34 AM, Stefan Hajnoczi wrote:
> @drive-backup
>
> Start a point-in-time copy of a block device to a new destination. The
> status of ongoing drive-backup operations can be checked with
> query-block-jobs where the BlockJobInfo.type field has the value 'backup'.
> The operation ca
On 05/15/2013 08:34 AM, Stefan Hajnoczi wrote:
> The Abort action can be used to test QMP 'transaction' failure. Add it
> as the last action to exercise the .abort() and .cleanup() code paths
> for all previous actions.
>
> Signed-off-by: Stefan Hajnoczi
> ---
> blockdev.c | 15 ++
Hi Peter,
Thanks so much for the patch and including me on the thread. I can
confirm that it did fix the problem running on a Linux host, but the OS
X bug cited by myself and the OP still remains elusive. It's rather
puzzling as I pulled from HEAD and built using the same options on both.
I've got
On Wed, 15 May 2013 12:42:24 -0500
mdroth wrote:
> On Wed, May 15, 2013 at 11:04:27AM -0400, Luiz Capitulino wrote:
> > On Wed, 15 May 2013 09:32:37 -0500
> > mdroth wrote:
> >
> > > On Wed, May 15, 2013 at 09:17:46AM -0400, Luiz Capitulino wrote:
> > > > On Fri, 10 May 2013 17:45:59 -0500
> >
On Wed, May 15, 2013 at 11:04:27AM -0400, Luiz Capitulino wrote:
> On Wed, 15 May 2013 09:32:37 -0500
> mdroth wrote:
>
> > On Wed, May 15, 2013 at 09:17:46AM -0400, Luiz Capitulino wrote:
> > > On Fri, 10 May 2013 17:45:59 -0500
> > > Michael Roth wrote:
> > >
> > > > These patches apply on to
On Tue, May 14, 2013 at 7:57 AM, Anthony Liguori wrote:
> Jordan Justen writes:
>
>> The isapc machine with seabios currently requires the BIOS region
>> to be read/write memory rather than read-only memory.
>>
>> KVM currently cannot support the BIOS as a ROM region, but qemu
>> in non-KVM mode
On 05/15/13 18:25, Paolo Bonzini wrote:
> Il 15/05/2013 18:25, Laszlo Ersek ha scritto:
>> (Not sure why the CC list has grown this huge, but I'm adding Drew for
>> good mesaure.)
>>
>> On 05/15/13 09:27, Hu Tao wrote:
>>> On Wed, May 15, 2013 at 09:21:54AM +0200, Laszlo Ersek wrote:
On 04/05/
On Wed, May 15, 2013 at 10:09:32AM -0400, Brad Smith wrote:
> On Tue, May 14, 2013 at 04:52:57PM -0500, Michael Roth wrote:
> > Hi everyone,
> >
> > The following new patches are queued for QEMU stable v1.4.2:
> >
> > https://github.com/mdroth/qemu/commits/stable-1.4-staging
> >
> > The release
Il 15/05/2013 18:25, Laszlo Ersek ha scritto:
> (Not sure why the CC list has grown this huge, but I'm adding Drew for
> good mesaure.)
>
> On 05/15/13 09:27, Hu Tao wrote:
>> On Wed, May 15, 2013 at 09:21:54AM +0200, Laszlo Ersek wrote:
>>> On 04/05/13 09:17, Hu Tao wrote:
>>>
+M
Il 15/05/2013 18:22, Markus Armbruster ha scritto:
> Paolo Bonzini writes:
>
>> Il 15/05/2013 17:09, Markus Armbruster ha scritto:
>>> @@ -209,7 +209,7 @@ void pc_system_firmware_init(MemoryRegion
>>> *rom_memory)
>>> * TODO This device exists only so that users can switch betw
(Not sure why the CC list has grown this huge, but I'm adding Drew for
good mesaure.)
On 05/15/13 09:27, Hu Tao wrote:
> On Wed, May 15, 2013 at 09:21:54AM +0200, Laszlo Ersek wrote:
>> On 04/05/13 09:17, Hu Tao wrote:
>>
>>> +Method(RDPT, 0, NotSerialized) {
>>> +Store
Paolo Bonzini writes:
> Il 15/05/2013 17:09, Markus Armbruster ha scritto:
>> @@ -209,7 +209,7 @@ void pc_system_firmware_init(MemoryRegion
>> *rom_memory)
>> * TODO This device exists only so that users can switch between
>> * use of flash and ROM for the BIOS. The
Il 15/05/2013 18:16, Peter Maydell ha scritto:
> On 15 May 2013 16:48, Paolo Bonzini wrote:
>> Giving a shot to rcutorture on a weak memory-model machine (PPC)
>> would be nice.
>
> # ./tests/rcutorture 16 rperf 2
> n_reads: 116103000 n_updates: 0 nreaders: 16 nupdaters: 0 duration: 2
> ns/rea
Il 15/05/2013 18:03, Peter Maydell ha scritto:
> On 15 May 2013 16:48, Paolo Bonzini wrote:
>> Giving a shot to rcutorture on a weak memory-model machine (PPC)
>> would be nice. It's available on my github repo as branch rcu.
>> rcutorture works on Linux-x86. My WINE setup has some problem with
On 15 May 2013 16:48, Paolo Bonzini wrote:
> Giving a shot to rcutorture on a weak memory-model machine (PPC)
> would be nice.
# ./tests/rcutorture 16 rperf 2
n_reads: 116103000 n_updates: 0 nreaders: 16 nupdaters: 0 duration: 2
ns/read: 275.617 ns/update: nan
...that "nan" isn't entirely re
On 15 May 2013 16:48, Paolo Bonzini wrote:
> We're already using them in several places, but __sync builtins are just
> too ugly to type, and do not provide seqcst load/store operations.
This doesn't compile:
CCtests/test-thread-pool.o
tests/test-thread-pool.c: In function ‘worker_cb’:
tes
On 2013-05-15 08:20, Weng Fan wrote:
> Hi.
> I want to use this patch for qemu-system-arm.
> But an error occurred during initialization of the i2c device.
>
> The error message is :
>
> qemu-system-arm: drive property not set
> qemu-system-arm: Initialization of device at24 failed
>
> The comma
On Wed, May 15, 2013 at 10:37:43AM -0500, Anthony Liguori wrote:
> Paolo Bonzini writes:
>
> > Il 15/05/2013 15:24, Kevin Wolf ha scritto:
> >> Am 15.05.2013 um 15:15 hat Paolo Bonzini geschrieben:
> >>> Il 15/05/2013 15:00, Kevin Wolf ha scritto:
> The test case passes on big endian hosts n
On 15 May 2013 16:48, Paolo Bonzini wrote:
> Giving a shot to rcutorture on a weak memory-model machine (PPC)
> would be nice. It's available on my github repo as branch rcu.
> rcutorture works on Linux-x86. My WINE setup has some problem with glib
> right now.
Doesn't compile (ARM):
root@local
Signed-off-by: Paolo Bonzini
---
docs/rcu.txt | 5 +
include/qemu/rcu.h | 21 +++--
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/docs/rcu.txt b/docs/rcu.txt
index d7c4f0b..4e7cde3 100644
--- a/docs/rcu.txt
+++ b/docs/rcu.txt
@@ -187,6 +187,11 @@ Marki
The migration thread polls s->state periodically, it does not
use a mutex or condition variable, so it has to report quiescent
states manually.
Signed-off-by: Paolo Bonzini
---
migration.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/migration.c b/migration.c
index 866d68d..fb8b326 1006
We're already using them in several places, but __sync builtins are just
too ugly to type, and do not provide seqcst load/store operations.
Signed-off-by: Paolo Bonzini
---
docs/atomics.txt | 322 +++
hw/display/qxl.c | 3 +-
hw/virti
CPU threads have extended quiescent states while relinquishing control
to the accelerator (except TCG).
Signed-off-by: Paolo Bonzini
---
cpus.c| 3 +++
kvm-all.c | 3 +++
2 files changed, 6 insertions(+)
diff --git a/cpus.c b/cpus.c
index c232265..66970d6 100644
--- a/cpus.c
+++ b/cpus.c
@@
Threads that run event loops also have places that can sleep for an extended
time. Place an extended quiescent state there.
Signed-off-by: Paolo Bonzini
---
aio-posix.c | 7 +++
aio-win32.c | 10 +-
main-loop.c | 5 +
3 files changed, 21 insertions(+), 1 deletion(-)
diff --gi
Il 15/05/2013 17:09, Markus Armbruster ha scritto:
> @@ -209,7 +209,7 @@ void pc_system_firmware_init(MemoryRegion *rom_memory)
> * TODO This device exists only so that users can switch between
> * use of flash and ROM for the BIOS. The ability to switch was
> * c
Most threads will use mutexes and other sleeping synchronization primitives
(condition variables, semaphores, events) periodically. For these threads,
the synchronization primitives are natural places to report a quiescent
state (possibly an extended one).
Signed-off-by: Paolo Bonzini
---
docs/
Signed-off-by: Paolo Bonzini
---
docs/rcu.txt | 13 +++--
util/qemu-thread-posix.c | 28 +++-
util/qemu-thread-win32.c | 2 ++
3 files changed, 36 insertions(+), 7 deletions(-)
diff --git a/docs/rcu.txt b/docs/rcu.txt
index 19e4840..5736676 100644
---
A stress test program (works, too :)).
Signed-off-by: Paolo Bonzini
---
tests/Makefile | 5 +-
tests/rcutorture.c | 387 +
2 files changed, 391 insertions(+), 1 deletion(-)
create mode 100644 tests/rcutorture.c
diff --git a/tests/Makefi
Here is an RCU implementation based on liburcu. I had posted
something like this a couple years ago, but there have been
many changes:
- more portable code
- adjusted for all the threads that we have now
- updated atomic operations for GCC 4.8
- lots of documentation
There is plenty of docume
This includes a (mangled) copy of the urcu-qsbr code from liburcu.
The main changes are: 1) removing dependencies on many other header files
in liburcu; 2) removing for simplicity the tentative busy waiting in
synchronize_rcu, which has limited performance effects; 3) replacing
futexes in synchroni
Signed-off-by: Paolo Bonzini
---
docs/rcu.txt | 108 +--
include/qemu/rcu.h | 22 ++
util/rcu.c | 120 +
3 files changed, 246 insertions(+), 4 deletions(-)
diff --git a/docs/rcu
The aio workers may spend a long time executing I/O operations;
mark that time as an extended quiescent state.
Signed-off-by: Paolo Bonzini
---
block/raw-posix.c | 3 +++
block/raw-win32.c | 3 +++
2 files changed, 6 insertions(+)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index c0ccf27
This emulates Win32 manual-reset events using futexes or conditional
variables. Typical ways to use them are with multi-producer,
single-consumer data structures, to test for a complex condition whose
elements come from different threads:
for (;;) {
qemu_event_reset(ev);
... t
From: Paolo Bonzini
On Mac OS X ppc, altivec.h defines "vector", leading to build breakage
when used as variable name, e.g. in tracing code.
Fix this by undefining identifiers after altivec.h inclusion.
Signed-off-by: Paolo Bonzini
Signed-off-by: Andreas Färber
---
include/qemu-common.h | 10
Paolo Bonzini writes:
> Il 15/05/2013 15:24, Kevin Wolf ha scritto:
>> Am 15.05.2013 um 15:15 hat Paolo Bonzini geschrieben:
>>> Il 15/05/2013 15:00, Kevin Wolf ha scritto:
The test case passes on big endian hosts now (tested on ppc64)
Signed-off-by: Kevin Wolf
>>>
>>> For 1.5? D
Paolo Bonzini writes:
> Il 15/05/2013 16:28, Markus Armbruster ha scritto:
>> Sorry for the delay, I was off for a few days.
>>
>> Anthony Liguori writes:
>>
>>> Paolo Bonzini writes:
>>>
This reverts commit 9953f8822cc316eec9962f0a2858c3439a80adec.
While Markus's analysis is entire
On Wed, 15 May 2013 09:32:37 -0500
mdroth wrote:
> On Wed, May 15, 2013 at 09:17:46AM -0400, Luiz Capitulino wrote:
> > On Fri, 10 May 2013 17:45:59 -0500
> > Michael Roth wrote:
> >
> > > These patches apply on top of qemu.git master, and can also be obtained
> > > from:
> > > git://github.co
The Abort action can be used to test QMP 'transaction' failure. Add it
as the last action to exercise the .abort() and .cleanup() code paths
for all previous actions.
Signed-off-by: Stefan Hajnoczi
---
blockdev.c | 15 +++
qapi-schema.json | 11 ++-
2 files changed, 25
Il 15/05/2013 16:36, Markus Armbruster ha scritto:
> This patch would break the build for me, if I didn't configure
> --disable-werror. Using --enable-trace-backend=stderr in case it makes
> a difference. Troublemaker flagged inline.
Yes, it does---and it makes it a bit less urgent. Will fix to
Il 15/05/2013 16:34, Stefan Hajnoczi ha scritto:
> The bdrv_add_before_write_cb() function installs a callback that is
> invoked before a write request is processed. This will be used to
> implement copy-on-write point-in-time snapshots where we need to copy
> out old data before overwriting it.
From: Dietmar Maurer
backup_start() creates a block job that copies a point-in-time snapshot
of a block device to a target block device.
We call backup_do_cow() for each write during backup. That function
reads the original data from the block device before it gets
overwritten. The data is then
Il 15/05/2013 16:28, Markus Armbruster ha scritto:
> Sorry for the delay, I was off for a few days.
>
> Anthony Liguori writes:
>
>> Paolo Bonzini writes:
>>
>>> This reverts commit 9953f8822cc316eec9962f0a2858c3439a80adec.
>>> While Markus's analysis is entirely correct, there are 1.6 patches
On Wed, May 15, 2013 at 09:17:46AM -0400, Luiz Capitulino wrote:
> On Fri, 10 May 2013 17:45:59 -0500
> Michael Roth wrote:
>
> > These patches apply on top of qemu.git master, and can also be obtained
> > from:
> > git://github.com/mdroth/qemu.git qapi-native-lists
> >
> > Sending this now sin
@drive-backup
Start a point-in-time copy of a block device to a new destination. The
status of ongoing drive-backup operations can be checked with
query-block-jobs where the BlockJobInfo.type field has the value 'backup'.
The operation can be stopped before it has completed using the
block-job-ca
Note: These patches apply to my block-next tree. You can also grab the code
from git here:
git://github.com/stefanha/qemu.git block-backup-core
This series adds a new QMP command, drive-backup, which takes a point-in-time
snapshot of a block device. The snapshot is copied out to a target block
d
The QMP 'transaction' command keeps a list of in-flight transactions.
The transaction state structure is called BlkTransactionStates even
though it only deals with a single transaction. The only plural thing
is the linked list of transaction states.
I find it confusing to call the single structur
The bdrv_add_before_write_cb() function installs a callback that is
invoked before a write request is processed. This will be used to
implement copy-on-write point-in-time snapshots where we need to copy
out old data before overwriting it.
Signed-off-by: Stefan Hajnoczi
---
block.c
Testing drive-backup is similar to image streaming and drive mirroring.
This test case is based on 041.
Signed-off-by: Stefan Hajnoczi
---
tests/qemu-iotests/055 | 230 +
tests/qemu-iotests/055.out | 5 +
tests/qemu-iotests/group | 1 +
3 fil
This patch would break the build for me, if I didn't configure
--disable-werror. Using --enable-trace-backend=stderr in case it makes
a difference. Troublemaker flagged inline.
Paolo Bonzini writes:
> We switched from qemu_memalign to mmap() but then we don't modify
> qemu_vfree() to do a munm
This patch adds a transactional version of the drive-backup QMP command.
It allows atomic snapshots of multiple drives along with automatic
cleanup if there is a failure to start one of the backup jobs.
Note that QMP events are emitted for block job completion/cancellation
and the block job will b
Ensure that the 'drive-backup' transaction works and check that a
transaction abort works properly.
Signed-off-by: Stefan Hajnoczi
---
tests/qemu-iotests/055 | 118 +
tests/qemu-iotests/055.out | 4 +-
2 files changed, 120 insertions(+), 2 deleti
Sorry for the delay, I was off for a few days.
Anthony Liguori writes:
> Paolo Bonzini writes:
>
>> This reverts commit 9953f8822cc316eec9962f0a2858c3439a80adec.
>> While Markus's analysis is entirely correct, there are 1.6 patches
>> that fix the bug for real and without requiring machine type
On Tue, May 14, 2013 at 04:52:57PM -0500, Michael Roth wrote:
> Hi everyone,
>
> The following new patches are queued for QEMU stable v1.4.2:
>
> https://github.com/mdroth/qemu/commits/stable-1.4-staging
>
> The release is planned for 05-24-2013:
>
> http://wiki.qemu.org/Planning/1.4
>
> Pleas
Il 15/05/2013 15:24, Kevin Wolf ha scritto:
> Am 15.05.2013 um 15:15 hat Paolo Bonzini geschrieben:
>> Il 15/05/2013 15:00, Kevin Wolf ha scritto:
>>> The test case passes on big endian hosts now (tested on ppc64)
>>>
>>> Signed-off-by: Kevin Wolf
>>
>> For 1.5? Do we need an extra -rc?
>
> An e
Il 15/05/2013 15:35, KONRAD Frédéric ha scritto:
> On 15/05/2013 14:50, Paolo Bonzini wrote:
>> Il 15/05/2013 11:31, KONRAD Frédéric ha scritto:
>>> Hi,
>>>
>>> We are trying to do a simple save/restore on the VM with icount enabled.
>>>
>>> We saw that qemu_icount_bias and qemu_icount in cpus.c ar
On 05/15/13 10:54, li guang wrote:
> 在 2013-05-15三的 10:38 +0200,Paolo Bonzini写道:
>> Il 15/05/2013 06:01, liguang ha scritto:
>>> Signed-off-by: liguang
>>
>> --verbose, please.
>>
>> What problem does this patch fix?
>
> Oh, sorry to be lazy ...
> QEMU's option '-no-acpi' seems does not play
> a
On 15/05/2013 14:50, Paolo Bonzini wrote:
Il 15/05/2013 11:31, KONRAD Frédéric ha scritto:
Hi,
We are trying to do a simple save/restore on the VM with icount enabled.
We saw that qemu_icount_bias and qemu_icount in cpus.c are not
saved/restored,
and icount_extra, icount_decr in CPUState neith
From: Zhangleiqiang
qmp: fix handling of cmd with equal mark in qmp-shell
qmp-shell splits the argument and value of input command
by equal mark("="). But there are commands whose values
include equal mark themselves, and the json built by
qmp-shell will not c
These two fixes are not hugely important, but they are pretty isolated
anyway.
The changes (since 110db9b48c0a6379fca122801c3ae48e349aa6d4) are available
in the following repository:
git://repo.or.cz/qemu/qmp-unstable.git queue/qmp
Michael Roth (1):
qapi: fix leak in unit tests
Zhangleiqi
From: Michael Roth
qmp_output_get_qobject() increments the qobject's reference count. Since
we currently pass this straight into qobject_to_json() so we can feed
the data into a QMP input visitor, we never actually free the underlying
qobject when qmp_output_visitor_cleanup() is called. This caus
On 15/05/2013 15:16, Stefan Hajnoczi wrote:
On Wed, May 15, 2013 at 02:12:49PM +0200, fred.kon...@greensocs.com wrote:
@@ -1315,8 +1338,17 @@ static int virtio_net_device_init(VirtIODevice *vdev)
memcpy(&n->mac[0], &n->nic_conf.macaddr, sizeof(n->mac));
n->status = VIRTIO_NET_S_LINK_
Am 15.05.2013 um 15:15 hat Paolo Bonzini geschrieben:
> Il 15/05/2013 15:00, Kevin Wolf ha scritto:
> > The test case passes on big endian hosts now (tested on ppc64)
> >
> > Signed-off-by: Kevin Wolf
>
> For 1.5? Do we need an extra -rc?
An extra -rc for a test case fix on big endian hosts is
On Fri, 10 May 2013 17:45:59 -0500
Michael Roth wrote:
> These patches apply on top of qemu.git master, and can also be obtained from:
> git://github.com/mdroth/qemu.git qapi-native-lists
>
> Sending this now since a number of series have popped up in the past that
> wanted this, and Amos has so
On Wed, May 15, 2013 at 02:12:48PM +0200, fred.kon...@greensocs.com wrote:
> From: KONRAD Frederic
>
> This fixes this bug: https://bugs.launchpad.net/qemu/+bug/1179357
>
> The name, and the type is replaced by virtio-net-x's id and virtio-net-x's
> type
> to restore the behaviour of "info netw
On Wed, May 15, 2013 at 02:12:49PM +0200, fred.kon...@greensocs.com wrote:
> @@ -1315,8 +1338,17 @@ static int virtio_net_device_init(VirtIODevice *vdev)
> memcpy(&n->mac[0], &n->nic_conf.macaddr, sizeof(n->mac));
> n->status = VIRTIO_NET_S_LINK_UP;
>
> -n->nic = qemu_new_nic(&net_v
Il 15/05/2013 15:00, Kevin Wolf ha scritto:
> The test case passes on big endian hosts now (tested on ppc64)
>
> Signed-off-by: Kevin Wolf
For 1.5? Do we need an extra -rc?
Paolo
The test case passes on big endian hosts now (tested on ppc64)
Signed-off-by: Kevin Wolf
---
tests/ide-test.c | 32 +++-
1 file changed, 27 insertions(+), 5 deletions(-)
diff --git a/tests/ide-test.c b/tests/ide-test.c
index bdc1da7..365e995 100644
--- a/tests/ide-te
Il 15/05/2013 11:31, KONRAD Frédéric ha scritto:
> Hi,
>
> We are trying to do a simple save/restore on the VM with icount enabled.
>
> We saw that qemu_icount_bias and qemu_icount in cpus.c are not
> saved/restored,
> and icount_extra, icount_decr in CPUState neither, so the vm_clock is just
> g
Hi ! I am emulating mips64 linux on Qemu running on X86 machine.I want to
see that which function in the Qemu writes any register value at any
address in the memory of x86 machine?
Which functions should i see?
Thanks
Nouman
On Wed, 15 May 2013 10:10:37 +0800
Wenchao Xia wrote:
> 于 2013-5-6 21:22, Luiz Capitulino 写道:
> > On Mon, 06 May 2013 10:09:43 +0800
> > Wenchao Xia wrote:
> >
> >> 于 2013-5-3 10:51, Wenchao Xia 写道:
> >>> 于 2013-5-2 20:02, Luiz Capitulino 写道:
> On Thu, 02 May 2013 10:05:08 +0800
> Wenc
From: KONRAD Frederic
This forwards the name and the type of virtio-net-x to fix the bad
behaviour of "info network" command.
Signed-off-by: KONRAD Frederic
---
hw/s390x/s390-virtio-bus.c | 3 +++
hw/s390x/virtio-ccw.c | 3 +++
hw/virtio/virtio-pci.c | 3 +++
3 files changed, 9 insert
1 - 100 of 146 matches
Mail list logo