Cher(s) CLIENTS, cgp(s) indépendant(s), cabinet(s) de commercilisation,
promoteur(s)... Rendez-vous sur www.mes-contacts.com (recommandé par les
promoteurs) pour obtenir maintenant les meilleurs Contacts entrants en
Défiscalisation et Placements financiers (Ass.vie,
Am 02.12.2011 19:43, schrieb Anthony Liguori:
On 12/02/2011 11:45 AM, Kevin Wolf wrote:
Am 02.12.2011 18:26, schrieb Anthony Liguori:
On 12/02/2011 11:25 AM, Kevin Wolf wrote:
So that's how you read/write memory. Likewise, for IRQs, you can poll the
status of a given IRQ. I thought about
The Buildbot has detected a new failure on builder monitor_x86_64_debian_6_0
while building qemu.
Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/monitor_x86_64_debian_6_0/builds/112
Buildbot URL: http://buildbot.b1-systems.de/qemu/
Buildslave for this Build: yuzuki
Hi,
I want to emulate GPIO input(Like a digital square wave from outside to
processor) using qemu. What's the good way to do it?
Thanks,
Regards,
Gauresh Rane
Grad Student
CS Department
UCLA
Hi,
I guess all these patches can be applied to 1.0 stable series.
The following changes since commit 1c8a881daaca6fe0646a425b0970fb3ad25f6732:
Update version for 1.0 release (2011-12-01 14:04:21 -0600)
are available in the git repository at:
git://repo.or.cz/qemu/v9fs.git 1.0-fixes
From: Deepak C Shetty deepa...@linux.vnet.ibm.com
As per the 9p rfc, during TVERSION its necessary to clean all the active
fids, so that we start the session from a clean state. Its also needed in
scenarios where the guest is booting off 9p, and boot fails, and client
restarts, without any
On Sun, Dec 04, 2011 at 04:47:17PM -0700, Cam Macdonell wrote:
On Sun, Dec 4, 2011 at 3:20 AM, Michael S. Tsirkin m...@redhat.com wrote:
On Fri, Dec 02, 2011 at 04:34:21PM -0700, Cam Macdonell wrote:
Based on a git bisect, this patch breaks msi-x interrupt delivery in
the ivshmem device.
Am 02.12.2011 19:47, schrieb Anthony Liguori:
On 12/01/2011 09:52 AM, Kevin Wolf wrote:
Am 30.11.2011 22:03, schrieb Anthony Liguori:
+
+void qdev_property_add(DeviceState *dev, const char *name, const char
*type,
+ DevicePropertyEtter *get, DevicePropertyEtter *set,
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
Add the device reset callback
Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
---
hw/9pfs/virtio-9p-device.c |3 ++-
hw/virtio-pci.c|2 +-
hw/virtio-pci.h|1 +
3 files changed, 4
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
Now when you try to migrate with VirtFS export path mounted, you get a proper
QMP error:
(qemu) migrate tcp:localhost:
Migration is disabled when VirtFS export path '/tmp/' is mounted in the guest
using mount_tag 'v_tmp'
(qemu)
On 12/04/2011 11:15 PM, Peter Maydell wrote:
On 4 December 2011 12:17, Avi Kivity a...@redhat.com wrote:
On 12/02/2011 04:49 PM, Peter Maydell wrote:
However what I found is that the addresses passed to the read/write
functions aren't what I would expect. For instance if the board
maps
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
handle fs driver require a set of newly added syscalls. Don't
Compile handle FS driver if those syscalls are not available.
Instead of adding #ifdef for all those syscalls we check for
open by handle syscall. If that is available then rest of
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
Fsdriver callback that operate on file descriptor need to
differentiate between directory fd and file fd.
Based on the original patch from Sassan Panahinejad sas...@sassan.me.uk
Signed-off-by: Aneesh Kumar K.V
On Sun, Dec 04, 2011 at 03:54:12PM -, Vincent Autefage wrote:
The result without TC is about 120 Mbit/s.
I check the bandwidth with lot of programs (not only with Iperf) and the
result is also the same
However, if I use the same raw image and the same TC configuration with
the
I'll test later. Did you in some way?
After testing it occurs this patch is plain wrong.It make qemu segfault.
I'll try to fix it.
Regards
Benoit
On 12/04/2011 10:01 PM, Anthony Liguori wrote:
I've begun the work of introducing proper inheritance. There's a
lot going on but the basic idea is:
1) introduce QOM base type (Object), make qdev inherit from it
2) create a dynamic typeinfo based DeviceInfo, make device class
point to
On 12/04/2011 11:38 PM, Jan Kiszka wrote:
It should be also possible to migrate from non-KVM device to KVM
version, different names would prevent that for ever.
It is (theoretically) possible with these patches as the vmstate names
are the same. KVM to TCG migration does not work right
On 12/04/2011 11:34 PM, Blue Swirl wrote:
On Sun, Dec 4, 2011 at 18:09, Avi Kivity a...@redhat.com wrote:
Add an API to update an alias offset of an active alias. This can be
used to simplify implementation of dynamic memory banks.
*/
-void memory_region_set_address(MemoryRegion *mr,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 03.12.2011 23:33, schrieb Jan Kiszka:
On 2011-12-03 20:00, Andreas Färber wrote:
Am 03.12.2011 12:17, schrieb Jan Kiszka:
diff --git a/hw/kvmclock.c b/hw/kvm/clock.c similarity index
96% rename from hw/kvmclock.c rename to hw/kvm/clock.c index
On Thu, Dec 01, 2011 at 03:23:37PM -0600, Anthony Liguori wrote:
Hi,
On behalf of the QEMU Team, I'd like to announce the availability of
QEMU 1.0!
Great to see the release out now.
Could you clarify the intention for release numbering from this
point onwards. Is it correct to say that
Hi,
So we have another problem...
The thing is that the 0.14.0 (and all 0.14.0 rc) built from GIT has the
same problem.
However, the package 0.14.0 from Ubuntu does not has this bug...
Le 05/12/2011 09:26, Stefan Hajnoczi a écrit :
On Sun, Dec 04, 2011 at 03:54:12PM -, Vincent Autefage
Fix a long-standing deficiency of cpu_register_physical_memory_log()
where the start address and region offset had to have the same low
bits (otherwise the IO functions would be passed an incorrect address
offset). This was most likely to bite when registering memory regions
which started at a
On Mon, Dec 5, 2011 at 10:45 AM, Vincent Autefage
899...@bugs.launchpad.net wrote:
So we have another problem...
The thing is that the 0.14.0 (and all 0.14.0 rc) built from GIT has the
same problem.
However, the package 0.14.0 from Ubuntu does not has this bug...
Okay, that's actually a good
On Fri, Dec 2, 2011 at 5:13 PM, Marcelo Tosatti mtosa...@redhat.com wrote:
On Wed, Nov 23, 2011 at 11:47:57AM +, Stefan Hajnoczi wrote:
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
---
block.c | 72
++
On 2011-12-05 11:01, Avi Kivity wrote:
On 12/04/2011 11:38 PM, Jan Kiszka wrote:
It should be also possible to migrate from non-KVM device to KVM
version, different names would prevent that for ever.
It is (theoretically) possible with these patches as the vmstate names
are the same. KVM to
On Wed, Nov 23, 2011 at 11:47:53AM +, Stefan Hajnoczi wrote:
The block layer does not know about pending requests. This information
is necessary for copy-on-read since overlapping requests must be
serialized to prevent races that corrupt the image.
The BlockDriverState gets a new
On 12/05/2011 01:17 PM, Marcelo Tosatti wrote:
There is no need to worry about synchronous read/write requests
bypassing this interface, correct?
Synchronous read/write requests do not exist anymore (in the sense that
they also go through coroutines).
Paolo
Yes this is the package that seems to not include the bug.
I'm going to check sources of this package.
Vincent Autefage
Le 05/12/2011 12:11, Stefan Hajnoczi a écrit :
On Mon, Dec 5, 2011 at 10:45 AM, Vincent Autefage
899...@bugs.launchpad.net wrote:
So we have another problem...
The thing
On 12/05/2011 01:37 PM, Jan Kiszka wrote:
On 2011-12-05 11:01, Avi Kivity wrote:
On 12/04/2011 11:38 PM, Jan Kiszka wrote:
It should be also possible to migrate from non-KVM device to KVM
version, different names would prevent that for ever.
It is (theoretically) possible with these
Andreas Färber afaer...@suse.de wrote:
Am 27.11.2011 14:30, schrieb Juan Quintela:
Andreas Färber afaer...@suse.de wrote:
Hi Juan,
Am 23.11.2011 16:44, schrieb Juan Quintela:
[ Resnd this time also ading fabrice address, sorry ]
v2:
- split patches by file, make easier to add acked-by
On 2011-12-05 13:36, Avi Kivity wrote:
On 12/05/2011 01:37 PM, Jan Kiszka wrote:
On 2011-12-05 11:01, Avi Kivity wrote:
On 12/04/2011 11:38 PM, Jan Kiszka wrote:
It should be also possible to migrate from non-KVM device to KVM
version, different names would prevent that for ever.
It is
On Fri, 2 Dec 2011 12:43:44 +0700
Mulyadi Santosa mulyadi.sant...@gmail.com wrote:
On Wed, Nov 30, 2011 at 21:41, Alex Bradbury a...@asbradbury.org wrote:
I lack drawing skills, so took a vectorised version of the public
domain emu drawing [1] from openclipart (currently down...). A lot of
On Sat, 03 Dec 2011, Jan Kiszka wrote:
On 2011-12-02 22:27, Eric B Munson wrote:
On Fri, 02 Dec 2011, Jan Kiszka wrote:
On 2011-12-02 20:19, Eric B Munson wrote:
Often when a guest is stopped from the qemu console, it will report
spurious
soft lockup warnings on resume. There are
Am 05.12.2011 13:45, schrieb Juan Quintela:
Andreas Färber afaer...@suse.de wrote:
Am 27.11.2011 14:30, schrieb Juan Quintela:
Andreas Färber afaer...@suse.de wrote:
I did have another comment regarding the Based on part that you
haven't responded to yet.
Sorry, forgot about that one. What
On 12/05/2011 02:47 PM, Jan Kiszka wrote:
(the memory API added unstable names, hopefully the QOM can take over
the stable ones and we'll have a good way to denote the unstable ones).
OK, maybe - or likely - we should make those device models have the same
names in QOM once
On Mon, Dec 5, 2011 at 5:46 AM, Chunyan Liu cy...@suse.com wrote:
2011/12/3 Paolo Bonzini pbonz...@redhat.com
On 12/02/2011 04:27 PM, Chunyan Liu wrote:
@@ -42,6 +42,18 @@ static int verbose;
static char *device;
static char *srcpath;
static char *sockpath;
+static int
On 2011-12-05 14:14, Avi Kivity wrote:
On 12/05/2011 02:47 PM, Jan Kiszka wrote:
(the memory API added unstable names, hopefully the QOM can take over
the stable ones and we'll have a good way to denote the unstable ones).
OK, maybe - or likely - we should make those device models have the
On Sat, Dec 03, 2011 at 12:45:51PM +0100, Jan Kiszka wrote:
I was referring to the relation between the IOCTL and kvmclock, but
IOCTL vs. kvm_run.
Jan
Ah, OK. Yes, we better characterize it as KVMCLOCK specific (a generic
guest is paused command is not the scope of this patch).
On 12/05/2011 03:29 PM, Jan Kiszka wrote:
On 2011-12-05 14:14, Avi Kivity wrote:
On 12/05/2011 02:47 PM, Jan Kiszka wrote:
(the memory API added unstable names, hopefully the QOM can take over
the stable ones and we'll have a good way to denote the unstable ones).
OK, maybe - or
On 12/05/2011 01:01 PM, Peter Maydell wrote:
Fix a long-standing deficiency of cpu_register_physical_memory_log()
where the start address and region offset had to have the same low
bits (otherwise the IO functions would be passed an incorrect address
offset). This was most likely to bite when
On 2011-12-05 14:35, Marcelo Tosatti wrote:
On Sat, Dec 03, 2011 at 12:45:51PM +0100, Jan Kiszka wrote:
I was referring to the relation between the IOCTL and kvmclock, but
IOCTL vs. kvm_run.
Jan
Ah, OK. Yes, we better characterize it as KVMCLOCK specific (a generic
guest is paused command
On 12/05/2011 04:51 AM, Daniel P. Berrange wrote:
On Thu, Dec 01, 2011 at 03:23:37PM -0600, Anthony Liguori wrote:
Hi,
On behalf of the QEMU Team, I'd like to announce the availability of
QEMU 1.0!
Great to see the release out now.
Could you clarify the intention for release numbering from
Am 30.11.2011 13:23, schrieb Stefan Hajnoczi:
This series fixes an issue where qemu_aio_flush() would return to IDE hardware
emulation with requests still pending. Kevin Wolf kw...@redhat.com found it
in the block tree before qemu.git/master merge, so qemu.git/master is not
affected and these
On 2011-12-05 14:36, Avi Kivity wrote:
On 12/05/2011 03:29 PM, Jan Kiszka wrote:
On 2011-12-05 14:14, Avi Kivity wrote:
On 12/05/2011 02:47 PM, Jan Kiszka wrote:
(the memory API added unstable names, hopefully the QOM can take over
the stable ones and we'll have a good way to denote the
On 5 December 2011 13:40, Avi Kivity a...@redhat.com wrote:
On 12/05/2011 01:01 PM, Peter Maydell wrote:
@@ -2677,7 +2674,11 @@ void
cpu_register_physical_memory_log(target_phys_addr_t start_addr,
if (phys_offset == IO_MEM_UNASSIGNED) {
region_offset = start_addr;
}
-
On 12/05/2011 04:01 PM, Peter Maydell wrote:
On 5 December 2011 13:40, Avi Kivity a...@redhat.com wrote:
On 12/05/2011 01:01 PM, Peter Maydell wrote:
@@ -2677,7 +2674,11 @@ void
cpu_register_physical_memory_log(target_phys_addr_t start_addr,
if (phys_offset == IO_MEM_UNASSIGNED) {
Hi
Please send in any agenda items you are interested in covering.
Proposal (from Anthony):
1. A short introduction to each of the guest agents, what guests they
support, and what verbs they support.
2. A short description of key requirements from each party (oVirt,
libvirt, QEMU) for a
The following changes since commit 1c8a881daaca6fe0646a425b0970fb3ad25f6732:
Update version for 1.0 release (2011-12-01 14:04:21 -0600)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git for-anthony
Dong Xu Wang (1):
block: Add coroutine_fn marker to coroutine
Unlocking during COW allows for more parallelism. One change it requires is
that buffers are dynamically allocated instead of just using a per-image
buffer.
While touching the code, drop the synchronous qcow2_read() function and replace
it by a bdrv_read() call.
Signed-off-by: Kevin Wolf
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
It is trivial to switch from the synchronous .bdrv_is_allocated()
interface to .bdrv_co_is_allocated() since vvfat_is_allocated() does not
block.
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Kevin Wolf
If the bdrv_read() of the snapshot's L1 table fails, return the right
error code and make sure that the old L1 table is still loaded and we
don't break the BlockDriverState completely.
Signed-off-by: Kevin Wolf kw...@redhat.com
Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
---
First the snapshot must be deleted and only then the refcounts can be
decreased.
Signed-off-by: Kevin Wolf kw...@redhat.com
Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
---
block/qcow2-snapshot.c | 48 +---
1 files changed, 33
The refcount updates must be moved so that in the worst case we can get
cluster leaks, but refcounts may never be too low.
Signed-off-by: Kevin Wolf kw...@redhat.com
Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
---
block/qcow2-refcount.c |7 -
block/qcow2-snapshot.c | 61
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
The qcow2, qcow, and vmdk block drivers are based on coroutines. They have a
coroutine mutex which protects internal state. We can convert the
.bdrv_is_allocated() function to .bdrv_co_is_allocated() by holding the mutex
around the cluster
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Add macros for aligning a number to a multiple, for example:
QEMU_ALIGN_DOWN(500, 2000) = 0
QEMU_ALIGN_UP(500, 2000) = 2000
Since ALIGN_UP() is a common macro name use the QEMU_* namespace prefix.
Hopefully this will protect us from included
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
It's common to wake up all waiting coroutines. Introduce the
qemu_co_queue_restart_all() function to do this instead of looping over
qemu_co_queue_next() in every caller.
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by:
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Now that all block drivers have been converted to
.bdrv_co_is_allocated() we can drop .bdrv_is_allocated().
Note that the public bdrv_is_allocated() interface is still available
but is in fact a synchronous wrapper around .bdrv_co_is_allocated().
On 12/05/2011 03:18 PM, Jan Kiszka wrote:
get_tls() can serve as a lvalue as well, so 'get' might be confusing.
Signed-off-by: Jan Kiszkajan.kis...@siemens.com
---
cpu-all.h |2 +-
qemu-tls.h |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cpu-all.h
On Thu, 1 Dec 2011 12:43:27 -0600
Anthony Liguori aligu...@us.ibm.com wrote:
The idea behind qtest is pretty simple. Instead of executing a CPU via TCG or
KVM, rely on an external process to send events to the device model that the
CPU
would normally generate.
qtest presents itself as
On Thu, 1 Dec 2011 12:43:31 -0600
Anthony Liguori aligu...@us.ibm.com wrote:
I think it's a good idea to use python's unittest module and write tests as
unit-tests (eg. using asserts instead of writing results as strings).
---
rtc-test.py | 105
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
The cow block driver does not keep internal state for cluster lookups.
This means it is safe to perform cluster lookups in coroutine context
without risk of race conditions that corrupt internal state.
Signed-off-by: Stefan Hajnoczi
On 12/05/2011 03:52 AM, Paolo Bonzini wrote:
On 12/04/2011 10:01 PM, Anthony Liguori wrote:
I've begun the work of introducing proper inheritance. There's a
lot going on but the basic idea is:
1) introduce QOM base type (Object), make qdev inherit from it
2) create a dynamic typeinfo based
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Now that bdrv_co_is_allocated() is available we can use it instead of
the synchronous bdrv_is_allocated() interface. This is a follow-up that
Kevin Wolf kw...@redhat.com pointed out after applying the series that
introduces
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
block.c | 39 +++
block.h |4
This series introduces two new test programs: test-qmp-output-visitor and
test-qmp-input-visitor.
As their names suggest, they contain unit-tests to check QMP's Visitor
implementation. They supersede the test-visitor program (which is dropped
by this series).
Besides adding new unit-tests, I've
It has been superseded by the two previous commits, which introduced
the test-qmp-output-visitor and test-qmp-input-visitor tests.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
Makefile |5 +-
test-visitor.c | 338
2
test-coroutine is listed as a libcheck test in the 'checks' variable. This
is not right because 'make check' won't run test-coroutine if libcheck
tests are not enabled (either because libcheck isn't detected or because
--disable-check-utests is passed).
Tests using the glib test framework are
On 5 December 2011 14:36, Anthony Liguori anth...@codemonkey.ws wrote:
On 12/05/2011 03:52 AM, Paolo Bonzini wrote:
struct SCSIBus {
Interface parent;
void (*command_complete)(SCSIBus *bus, SCSIRequest *req);
};
TypeInfo scsi_bus_info = {
.name = TYPE_SCSI_BUS,
.parent =
Failing in the middle wouldn't help with the integrity of the image, so
doing everything in a single request seems better.
Signed-off-by: Kevin Wolf kw...@redhat.com
Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
---
block/qcow2-snapshot.c | 22 ++
1 files
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
A BlockDriverState should not issue requests on itself through the
public block layer interface. Nested, or reentrant, requests are
problematic because they do I/O throttling and request tracking twice.
Features like block layer copy-on-read use
El 02/12/11 18:47, Artyom Tarasenko escribi:
On Fri, Dec 2, 2011 at 1:48 PM, Ignacio Geli ig...@itecnis.com wrote:
El 01/12/11 07:29, Artyom Tarasenko escribi:
On Sat, Nov 26, 2011 at 9:01 AM, Blue Swirl blauwir...@gmail.com wrote:
On Fri, Nov 25, 2011 at
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
block.c | 72 ++
trace-events |1 +
2 files changed, 73 insertions(+), 0
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
This patch adds the -drive copy-on-read=on|off command-line option:
copy-on-read=on|off
copy-on-read is on or off and enables whether to copy read backing
file sectors into the image file. Copy-on-read avoids accessing the
same backing
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
There is no need for bdrv_commit() to use the BlockDriver
.bdrv_is_allocated() interface directly. Converting to the public
interface gives us the freedom to drop .bdrv_is_allocated() entirely in
favor of a new .bdrv_co_is_allocated() in the
On 12/05/2011 08:50 AM, Peter Maydell wrote:
On 5 December 2011 14:36, Anthony Liguorianth...@codemonkey.ws wrote:
struct LSIDevice {
PCIDevice parent;
};
static void lsi_command_complete(SCSIBus *bus, SCSIRequest *req)
{
LSIDevice *dev = LSI_DEVICE(bus);
...
}
What is the
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
qemu-coroutine-lock.c |8
qemu-coroutine.h |6 ++
2 files changed, 14
Hi Anthony,
It seems the following link is unavailable now:
http://wiki.qemu.org/download/qemu-1.0.tar.gz
Regards,
Alex
- Original Message -
From: Anthony Liguori aligu...@us.ibm.com
To: qemu-devel qemu-devel@nongnu.org
Sent: Friday, December 2, 2011 5:23:37 AM
Subject: [Qemu-devel]
sn-id_str could be leaked before this. The rest of this patch changes
comments, fixes coding style or removes checks that are unnecessary with
g_malloc.
Signed-off-by: Kevin Wolf kw...@redhat.com
Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
---
block/qcow2-snapshot.c | 26
get_tls() can serve as a lvalue as well, so 'get' might be confusing.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
cpu-all.h |2 +-
qemu-tls.h |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cpu-all.h b/cpu-all.h
index 5f47ab8..016 100644
---
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
block.c | 234 +++
block.h |
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
This patch adds the .bdrv_co_is_allocated() interface which is identical
to .bdrv_is_allocated() but runs in coroutine context. Running in
coroutine context implies that other coroutines might be performing I/O
at the same time. Therefore it
Contains unit-tests for the QMP input visitor implementation.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
---
Makefile |5 +-
configure|2 +-
test-qmp-input-visitor.c | 270 ++
3 files changed, 275
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
The block layer does not know about pending requests. This information
is necessary for copy-on-read since overlapping requests must be
serialized to prevent races that corrupt the image.
The BlockDriverState gets a new tracked_request list
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Detect overlapping requests and remember to align to cluster boundaries
if the image format uses them. This assumes that allocating I/O is
performed in cluster granularity - which is true for qcow2, qed, etc.
Signed-off-by: Stefan Hajnoczi
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Debugging a reentrant request deadlock was fun but in the future we need
a quick and obvious way of detecting such bugs. Add an assert that
checks we are not about to deadlock when waiting for another request.
Suggested-by: Kevin Wolf
Doesn't immediately fix anything as the callers don't use the return
value, but they will be fixed next.
Signed-off-by: Kevin Wolf kw...@redhat.com
Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
---
block/qcow2-snapshot.c | 48 ++--
1 files
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
This patch is only to refactor some lines of codes to get better and more
robust codes.
As you have seen, in qed_read_table_cb() it's nice to
use qiov-size because that function doesn't obviously use a single
struct iovec.
In other two functions, if
From: Li Zhi Hui zhihu...@linux.vnet.ibm.com
Since common file operation functions lack of error detection,
so change them to bdrv series functions.
Signed-off-by: Li Zhi Hui zhihu...@linux.vnet.ibm.com
Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Kevin Wolf
On 12/05/2011 09:06 AM, Alex Jia wrote:
Hi Anthony,
It seems the following link is unavailable now:
http://wiki.qemu.org/download/qemu-1.0.tar.gz
The VM is crashing pretty often. We're working on a migration plan that will
resolve this problem. I'll post dates once I can confirm them.
The
On 12/04/2011 04:03 AM, Dor Laor wrote:
On 12/01/2011 08:43 PM, Anthony Liguori wrote:
This series is still pretty rough but I wanted to get an idea of what people
thought about it before polishing it.
The general idea is outlined in the first test. The main advantage of this
type of test
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Many places in QEMU call qemu_aio_flush() to complete all pending
asynchronous I/O. Most of these places actually want to drain all block
requests but there is no block layer API to do so.
This patch introduces the bdrv_drain_all() API to wait
On 11/29/2011 05:47 AM, Avi Kivity wrote:
Please pull from
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/batch
to receive the final batch of mmio conversions to the memory API (note
that ioports still use the old API). While there may be a few
regressions in there, it will be a
From: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
block.c | 15 +
blockdev.c | 59
On 12/02/2011 07:50 AM, Stefan Hajnoczi wrote:
First post-1.0 trivial-patches pull request. We should get through the backlog
within 2 weeks.
The following changes since commit 1c8a881daaca6fe0646a425b0970fb3ad25f6732:
Update version for 1.0 release (2011-12-01 14:04:21 -0600)
are
On 5 December 2011 15:04, Anthony Liguori anth...@codemonkey.ws wrote:
On 12/05/2011 08:50 AM, Peter Maydell wrote:
On 5 December 2011 14:36, Anthony Liguorianth...@codemonkey.ws wrote:
struct LSIDevice {
PCIDevice parent;
};
static void lsi_command_complete(SCSIBus *bus, SCSIRequest
Signed-off-by: Kevin Wolf kw...@redhat.com
Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
---
block/qcow2-snapshot.c | 25 -
block/qcow2.c |5 +++--
2 files changed, 23 insertions(+), 7 deletions(-)
diff --git a/block/qcow2-snapshot.c
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
When copy-on-read is enabled it is necessary to wait for overlapping
requests before issuing new requests. This prevents races between the
copy-on-read and a write request.
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
The bdrv_qed_is_allocated() function is a synchronous wrapper around
qed_find_cluster(), which performs the cluster lookup. In order to
convert the synchronous function to a coroutine function we yield
instead of using qemu_aio_wait(). Note that
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
It is trivial to switch from the synchronous .bdrv_is_allocated()
interface to .bdrv_co_is_allocated() since vdi_is_allocated() does not
block.
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Kevin Wolf kw...@redhat.com
Signed-off-by: Kevin Wolf kw...@redhat.com
Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
---
dma-helpers.c | 10 ++
trace-events |7 +++
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/dma-helpers.c b/dma-helpers.c
index bdcd38c..9d6b6fa 100644
---
1 - 100 of 220 matches
Mail list logo