From: Anthony Liguori
This patch implements copy-on-read in QED. Once a read request reaches
the copy-on-read state it adds itself to the allocating write queue in
order to avoid race conditions with write requests.
If an allocating write request manages to sneak in before the
copy-on-read requ
Copy-on-read requests are a form of allocating write and will need to be
queued like other allocating writes. This patch extracts the request
queuing code for allocating writes so that it can be reused for
copy-on-read in a later patch.
Signed-off-by: Stefan Hajnoczi
---
block/qed.c | 32
Overview
This patch series adds image streaming support for QED image files. QMP/HMP
commands are added to perform image streaming at runtime. This interface is
already supported by libvirt.
The goal is to implement image streaming in a generic way for all image formats
that support ba
The block layer emulates synchronous bdrv_read()/bdrv_write() for
drivers that only provide the asynchronous interfaces. The emulation
issues an asynchronous request inside a new "async context" and waits
for that request to complete. If currently outstanding requests
complete during this time, t
Active image streaming operations can be enumerated with the
query-block-jobs command. Each operation is listed along with its
total progress.
The command synopsis is:
query-block-jobs
Show progress of ongoing block device operations.
Return a json-array of all block device op
This patch adds the -drive stream=on|off command-line option:
stream=on|off
stream is "on" or "off" and enables background copying of backing file
contents into the image file until the backing file is no longer
needed.
Signed-off-by: Stefan Hajnoczi
---
blockdev.c | 12 +
The test-stream.py script performs several automated tests of the image
streaming QMP interface, including exercising both the incremental and
background streaming modes.
This should probably be ported to KVM-Autotest rather than reinventing
the wheel.
Signed-off-by: Stefan Hajnoczi
---
test-st
The 1136r1 is actually a v6K core (unlike the 1136r0); mark it as such,
thus enabling the TLS registers, NOP hints, CLREX, half and byte wide
exclusive load/stores, etc.
The VA-to-PA translation registers are not present on 1136r1, so
introduce a new feature flag for them, which is enabled on
11MP
Amit Shah writes:
> Negative balloon values don't make sense, ignore them.
>
> Reported-by: Mike Cao
> Signed-off-by: Amit Shah
> ---
> I'm not sure if error_report is the right thing to use or should a new
> qerror_report() be used. Luiz, comments?
Since do_balloon() has been converted to qe
On 07/27/2011 08:43 AM, Michael Tokarev wrote:
Index: qemu/block.c
===
--- qemu.orig/block.c
+++ qemu/block.c
@@ -651,6 +651,34 @@ unlink_and_fail:
return ret;
}
+int bdrv_reopen(BlockDriverState *bs, int bdrv_flags)
+{
+
> There are many more object files that are built conditionally. Why is
> it okay not to delete them?
Perhaps they should be deleted too...
The GNU Make manual says the following about "distclean":
http://www.gnu.org/s/hello/manual/make/Standard-Targets.html
"Delete all files in the current dir
From: Anthony PERARD
As the variable pd and addr1 inside the function cpu_physical_memory_rw
are mean to handle a RAM address, they should be of the ram_addr_t type
instead of unsigned long.
Signed-off-by: Anthony PERARD
Acked-by: Paolo Bonzini
Signed-off-by: Alexander Graf
---
exec.c |4
VCVTT/VCVTB with bit 8 set is UNPREDICTABLE; we choose to UNDEF.
This avoids a TCG assert later when the VCVTT/VCVTB code tries to
use a source register that wasn't ever set up.
We pull the check for the presence of the half-precision extension
up in to this common code as well.
Signed-off-by: Pe
This is a pull request for some ARM patches which I think should
go into 0.15. Justifications:
* "Mark 1136r1 as v6K" -- needed so recent 1136 Linux kernels boot
* "Support v6 barriers" -- needed to run code compiled for v6
* UNDEF/UNPREDICTABLE patches -- fix bugs which allow guest code to
VCVTT/VCVTB with bit 8 set is UNPREDICTABLE; we choose to UNDEF.
This avoids a TCG assert later when the VCVTT/VCVTB code tries to
use a source register that wasn't ever set up.
We pull the check for the presence of the half-precision extension
up in to this common code as well.
Signed-off-by: Pe
Hi Anthony,
This is my current patch queue for xen. Please pull.
Alex
The following changes since commit c886edfb851c0c590d4e77f058f2ec8ed95ad1b5:
Blue Swirl (1):
Let users select their pythons
are available in the git repository at:
git://repo.or.cz/qemu/agraf.git xen-next
Alexa
Handle the UNDEF and UNPREDICTABLE cases for VLDM and VSTM. In
particular, we now generate an undef exception for overlarge imm8
values rather than generating 1000+ TCG ops and hitting an assertion.
Signed-off-by: Peter Maydell
---
target-arm/translate.c | 38 +++---
Alon Levy writes:
> On Wed, Jul 27, 2011 at 05:35:28PM +0530, Amit Shah wrote:
>> On (Wed) 27 Jul 2011 [14:09:45], Alon Levy wrote:
>>
>> > > Also, we'll be lying that a guest opened, since a guest was opened
>> > > much earlier, before migration. Nothing has changed as far as the
>> > > guest
From: Jamie Iles
The VMSAv7 remapping and access permissions were introduced in ARMv6K
and not ARMv7.
Signed-off-by: Jamie Iles
Signed-off-by: Peter Maydell
---
target-arm/helper.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-arm/helper.c b/target-arm/helpe
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 file sectors repeatedly and is useful when the ba
From: Anthony Liguori
Signed-off-by: Anthony Liguori
---
block/qed.c | 248 +++
block/qed.h |3 +-
2 files changed, 234 insertions(+), 17 deletions(-)
diff --git a/block/qed.c b/block/qed.c
index ffdbc2d..f9f7c94 100644
--- a/block/q
On 07/27/2011 02:07 AM, Alon Levy wrote:
On Wed, Jul 27, 2011 at 07:45:25AM +0200, Markus Armbruster wrote:
Alon Levy writes:
Signed-off-by: Alon Levy
---
hw/virtio-serial-bus.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/hw/virtio-serial-bus.c b/hw/virt
Copy-on-read requests will share the allocating write code path. This
requires making qed_aio_write_alloc() reusable outside of a write
request. This patch ensures that iovec setup is performed in a common
place before qed_aio_write_alloc() is called.
Signed-off-by: Stefan Hajnoczi
---
block/q
Hi Stefan,
You may drop this patch, it doesn't do anything after all...
Sorry about that.
Alexandre
On Wed, Jul 27, 2011 at 5:17 AM, Stefan Hajnoczi
wrote:
> From: Alexandre Raymond
>
> This patch fixes a minor bugs which prevented QEMU from being built
> out of tree.
>
> Signed-off-by: Alexa
On Wed, Jul 27, 2011 at 12:30 PM, Supriya Kannery
wrote:
> Enhance "info block" to display hostcache setting for each
> block device.
>
> Example:
> (qemu) info block
> ide0-hd0: type=hd removable=0 file=../rhel6-32.qcow2 ro=0 drv=qcow2
> encrypted=0
>
> Enhanced to display "hostcache" setting:
>
From: Jamie Iles
Add support for v6K ARM1176JZF-S. This core includes the VA<->PA
translation capability and security extensions.
Signed-off-by: Jamie Iles
Signed-off-by: Peter Maydell
---
target-arm/cpu.h|1 +
target-arm/helper.c | 23 +++
2 files changed, 24 i
ARMv6 implemented various operations as special cases of cp15 accesses
which are true instructions in v7; this includes barriers (DMB, DSB, ISB).
Catch this special case at translate time, so that it works in linux-user
mode (which doesn't provide a functional get_cp15 helper) as well as
system mod
On Wed, Jul 27, 2011 at 1:58 PM, Anthony Liguori wrote:
>> Index: qemu/hmp-commands.hx
>> ===
>> --- qemu.orig/hmp-commands.hx
>> +++ qemu/hmp-commands.hx
>> @@ -70,6 +70,20 @@ but should be used with extreme caution.
>> resizes imag
From: Anthony PERARD
A Xen guest memory is allocated by libxc. But this memory is not
allocated continuously, instead, it leaves the VGA IO memory space not
allocated, same for the MMIO space (at HVM_BELOW_4G_MMIO_START of size
HVM_BELOW_4G_MMIO_LENGTH).
So to reflect that, we do not register th
Public bug reported:
QEMU 0.15.0-rc0: Cross compiling on Fedora 14 for Windows is not
possible:
mkdir -p ~/source/mingw
cd ~/source/mingw
wget
http://download-mirror.savannah.gnu.org/releases/qemu/qemu-0.15.0-rc0.tar.gz
tar xzvf qemu-0.15.0-rc0.tar.gz
cd qemu-0.15.0-rc0
export PATH=/usr/i686-pc-
Handle the UNDEF and UNPREDICTABLE cases for VLDM and VSTM. In
particular, we now generate an undef exception for overlarge imm8
values rather than generating 1000+ TCG ops and hitting an assertion.
Signed-off-by: Peter Maydell
---
target-arm/translate.c | 38 +++---
We were still exporting CONFIG_XEN_MAPCACHE, even though it's completely
unused by now. Remove it.
Signed-off-by: Alexander Graf
---
configure |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 38e3724..cd399dc 100755
--- a/configure
+++ b/conf
On 07/27/2011 08:55 AM, Alexandre Raymond wrote:
There are many more object files that are built conditionally. Why is
it okay not to delete them?
Perhaps they should be deleted too...
The GNU Make manual says the following about "distclean":
http://www.gnu.org/s/hello/manual/make/Standard-Ta
It is useful to understand why an I/O request was failed. Add trace
events for the error paths in bdrv_aio_readv() and bdrv_aio_writev().
Signed-off-by: Stefan Hajnoczi
---
block.c | 24 +++-
trace-events |7 +++
2 files changed, 26 insertions(+), 5 deletions(
From: Stefano Stabellini
The unplug protocol is necessary to support PV drivers in the guest: the
drivers expect to be able to "unplug" emulated disks and nics before
initializing the Xen PV interfaces.
It is responsibility of the guest to make sure that the unplug is done
before the emulated dev
On Wed, Jul 27, 2011 at 3:37 AM, Zhi Yong Wu wrote:
> For networking and migration areas, is there any new feature to be
> tested? If yes, can i be their testing volunteer?
>
> If QMP has not a voluntter, i would like also to do some testings for it.
You could check that qemu-nbd, which we recent
On Wed, Jul 27, 2011 at 09:16:33AM -0500, Anthony Liguori wrote:
> On 07/27/2011 02:07 AM, Alon Levy wrote:
> >On Wed, Jul 27, 2011 at 07:45:25AM +0200, Markus Armbruster wrote:
> >>Alon Levy writes:
> >>
> >>>Signed-off-by: Alon Levy
> >>>---
> >>> hw/virtio-serial-bus.c |8 +++-
> >>> 1
Image streaming operations can be stopped using the block_job_cancel
command. In the future other types of background operations on block
devices can be cancelled using this command.
The command synopsis is:
block_job_cancel
Stop an active block streaming operation.
This comma
2011/7/27 Michael Tokarev :
> 27.07.2011 15:30, Supriya Kannery wrote:
>> New command "block_set" added for dynamically changing any of the block
>> device parameters. For now, dynamic setting of hostcache params using this
>> command is implemented. Other block device parameter changes, can be
>>
For leaf images with copy-on-read semantics, the stream command allows
the user to populate the image file by copying data from the backing
file while the guest is running. Once all blocks have been streamed,
the dependency on the original backing file is removed. Therefore,
stream commands can b
Am 27.07.2011 15:09, schrieb Corey Bryant:
> Kevin/Daniel, thanks a lot for your input.
>
> In terms of the support that libvirt requires, I just want to make sure
> all bases are covered.
>
> In order for this support to be useful to libvirt, the following are
> required (sorry if this is repe
ARMv6 implemented various operations as special cases of cp15 accesses
which are true instructions in v7; this includes barriers (DMB, DSB, ISB).
Catch this special case at translate time, so that it works in linux-user
mode (which doesn't provide a functional get_cp15 helper) as well as
system mod
The block_job_set_speed command sets a throughput limit on an active
image streaming operation. This can be used to isolate the streaming
operation and control the amount of I/O bandwidth it consumes.
The command synopsis is as follows:
block_job_set_speed
---
Set maximum speed
On Wed, Jul 27, 2011 at 10:17 AM, Stefan Hajnoczi
wrote:
> From: Alexandre Raymond
>
> This patch fixes a minor bugs which prevented QEMU from being built
> out of tree.
>
> Signed-off-by: Alexandre Raymond
> Signed-off-by: Stefan Hajnoczi
> ---
> Makefile | 2 +-
> 1 files changed, 1 inser
On 07/27/2011 09:49 AM, Alon Levy wrote:
On Wed, Jul 27, 2011 at 09:16:33AM -0500, Anthony Liguori wrote:
On 07/27/2011 02:07 AM, Alon Levy wrote:
On Wed, Jul 27, 2011 at 07:45:25AM +0200, Markus Armbruster wrote:
Alon Levy writes:
Signed-off-by: Alon Levy
---
hw/virtio-serial-bus.c |
The 1136r1 is actually a v6K core (unlike the 1136r0); mark it as such,
thus enabling the TLS registers, NOP hints, CLREX, half and byte wide
exclusive load/stores, etc.
The VA-to-PA translation registers are not present on 1136r1, so
introduce a new feature flag for them, which is enabled on 1176
See also https://bugs.launchpad.net/qemu/+bug/817012
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/816370
Title:
compile error in QEMU 0.15.0-rc0
Status in QEMU:
New
Bug description:
I've try
On 25 July 2011 02:44, Anthony Liguori wrote:
> Device is meant to replace DeviceState as the root class for the device model.
> This is included here merely as a RFC. Device adds a couple of useful
> features.
>
> 1) Default hard reset. Device will literally call finalize on the object and
>
From: Anthony Liguori
Add the bdrv_aio_copy_backing() function to the BlockDriver interface.
This function copies unallocated sectors from the backing file and can
be used to implement image streaming.
Signed-off-by: Anthony Liguori
Signed-off-by: Stefan Hajnoczi
---
block.c | 37 ++
Quick update: I have dropped the superfluous "Makefile: fix out-of-tree builds"
patch.
The following changes since commit c886edfb851c0c590d4e77f058f2ec8ed95ad1b5:
Let users select their pythons (2011-07-25 16:50:12 +)
are available in the git repository at:
ssh://repo.or.cz/srv/git/qemu
Quoting Kevin Wolf (kw...@redhat.com):
> > The footer->size appears to be double the 'real' size. So I'm actually
> > doing
> > the blow. Does this seem sensible?
>
> Double size sounds really weird. 'qemu-img create' uses the size in
> bytes for it. Is that wrong?
>
> > Doing it this way, try
Per-request attributes like read/write are currently implemented as bool
fields in the QEDAIOCB struct. This becomes unwiedly as the number of
attributes grows. For example, the qed_aio_setup() function would have
to take multiple bool arguments and at call sites it would be hard to
distinguish t
Hello everyone,
I've been thinking at the current design of the fsfreeze feature used
by libvirt.
It currently relays on an userland agent in the guest talking to qemu
with some vmchannel communication. The guest agent would walk the
filesystems in the guest and call fsfreeze ioctl on them.
The
On Wed, Jul 27, 2011 at 10:01:57AM -0500, Anthony Liguori wrote:
> On 07/27/2011 09:49 AM, Alon Levy wrote:
> >On Wed, Jul 27, 2011 at 09:16:33AM -0500, Anthony Liguori wrote:
> >>On 07/27/2011 02:07 AM, Alon Levy wrote:
> >>>On Wed, Jul 27, 2011 at 07:45:25AM +0200, Markus Armbruster wrote:
>
On 07/27/2011 02:48 PM, Anthony Liguori wrote:
So the idea here is that the PIC will multiplex a bunch of interrupts
into a single line?
Yes, but the device needs to know the interrupt number so it can expose
it through the enumerator interface. So the configuration cannot be simply
pic-
On Wed, Jul 27, 2011 at 02:30, Jan Kiszka wrote:
> On 2011-07-25 23:34, Jordan Justen wrote:
>> Read-only mode is indicated by bdrv_is_read_only
>>
>> When read-only mode is enabled, no changes will be made
>> to the flash image in memory, and no bdrv_write calls will be
>> made.
>>
>> Signed-off-
On Wed, Jul 27, 2011 at 06:17:15PM +0800, Zhi Yong Wu wrote:
> >> + wait_time = 1;
> >> + }
> >> +
> >> + wait_time = wait_time + (slice_time - elapsed_time);
> >> + if (wait) {
> >> + *wait = wait_time * BLOCK_IO_SLICE_TIME * 10 + 1;
> >> + }
> >
> > The guest can keep su
Should check first if using a mingw compiler before forcing the addition of
-lglib-2.0, -liconv, and -lintl to $LIBS of config-target.mak.
Signed-off-by: Kenneth Salerno
--- configure.ORIG 2011-07-27 11:28:16.859375000 -0400
+++ configure 2011-07-27 11:43:59.859375000 -0400
@@ -1824,9 +1
** Changed in: qemu
Status: New => Confirmed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/816860
Title:
Guest machine freezes when NFS mount goes offline
Status in QEMU:
Confirmed
Bug d
I'm sorry, the lucid qemu-kvm update has been superseded by a security
update in 0.12.3+noroms-0ubuntu9.15.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/524447
Title:
virsh save is very slow
Stat
On Wed, Jul 27, 2011 at 08:50:23AM -0700, Kenneth Salerno wrote:
> Should check first if using a mingw compiler before forcing the addition of
> -lglib-2.0, -liconv, and -lintl to $LIBS of config-target.mak.
>
>
> Signed-off-by: Kenneth Salerno
> --- configure.ORIG 2011-07-27 11:28:16.8593
On 07/27/2011 09:31 AM, Stefan Hajnoczi wrote:
On Wed, Jul 27, 2011 at 1:58 PM, Anthony Liguori wrote:
Index: qemu/hmp-commands.hx
===
--- qemu.orig/hmp-commands.hx
+++ qemu/hmp-commands.hx
@@ -70,6 +70,20 @@ but should be used wit
On 07/27/2011 10:10 AM, Peter Maydell wrote:
On 25 July 2011 02:44, Anthony Liguori wrote:
Device is meant to replace DeviceState as the root class for the device model.
This is included here merely as a RFC. Device adds a couple of useful features.
1) Default hard reset. Device will literal
On 07/27/2011 10:24 AM, Andrea Arcangeli wrote:
Hello everyone,
I've been thinking at the current design of the fsfreeze feature used
by libvirt.
It currently relays on an userland agent in the guest talking to qemu
with some vmchannel communication. The guest agent would walk the
filesystems i
On Wed, 27 Jul 2011 15:34:31 +0200
Alexander Graf wrote:
> On 07/25/2011 10:40 PM, Scott Wood wrote:
> > On Sat, 23 Jul 2011 12:50:05 +0200
> > Alexander Graf wrote:
> >
> >> +typedef struct spin_info {
> >> +uint64_t addr;
> >> +uint64_t r3;
> >> +uint32_t resv;
> >> +uint32_t p
On 07/27/2011 10:33 AM, Paolo Bonzini wrote:
On 07/27/2011 02:48 PM, Anthony Liguori wrote:
So the idea here is that the PIC will multiplex a bunch of interrupts
into a single line?
Yes, but the device needs to know the interrupt number so it can expose
it through the enumerator interface. So
Signed-off-by: Aneesh Kumar K.V
---
qemu-coroutine-lock.c | 44
qemu-coroutine.h | 12
2 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/qemu-coroutine-lock.c b/qemu-coroutine-lock.c
index 5071fb8..b7d01d1 100644
---
I'm sorry - per the rules listed in
https://wiki.ubuntu.com/StableReleaseUpdates, only bugs which are >=
high priority are eligible for SRU. If you feel this bug should be high
priority, please say so (with rationale) here.
An updated package for lucid through natty will be placed in the ubuntu-
v
Hi,
Write performance on the SD emulation on ARM is rather painful with
the default empty SD_OPTS; it's
getting something like 130KB/s on the vexpress model With
cache=writeback this goes up to a sensible
8MB/s. (This is with the file on an LUKS encrypted lvm partition that
is my home directory
On 07/27/2011 10:33 AM, Paolo Bonzini wrote:
On 07/27/2011 02:48 PM, Anthony Liguori wrote:
So the idea here is that the PIC will multiplex a bunch of interrupts
into a single line?
Yes, but the device needs to know the interrupt number so it can expose
it through the enumerator interface. So
On 07/27/2011 10:24 AM, Andrea Arcangeli wrote:
Hello everyone,
I've been thinking at the current design of the fsfreeze feature used
by libvirt.
It currently relays on an userland agent in the guest talking to qemu
with some vmchannel communication. The guest agent would walk the
filesystems i
Hello Michael,
On Wed, Jul 27, 2011 at 11:07:13AM -0500, Michael Roth wrote:
> One thing worth mentioning is that the current host-side interface to
> the guest agent is not what we're hoping to build libvirt interfaces
> around. It's a standalone, out-of-band tool for now, but when QMP is
> co
On Wed, Jul 27, 2011 at 11:34:44AM -0500, Anthony Liguori wrote:
> Currently, QEMU doesn't know about fsfreeze. I don't think it ever will
> either.
Ah, sorry thanks for the correction, it's some other repo that you
were modifying (qga).
> One challenge though is that it's highly desirable to h
In practice, guests don't generate config requests
that cross a word boundary, so the logic to
detect command word access is correct because
PCI_COMMAND is 0x4. But depending on this is
tricky, further, it will break with guests
that do try to generate a misaligned access
as we pass it to devices w
Minor fixes and improves
Frediano Ziglio (3):
block: removed unused function
block: typo fix
aio: always check paio_init result
block.c | 13 -
block.h |2 --
block/raw-posix.c | 13 ++---
3 files changed, 6 insertions(+), 22 deletions(-)
Signed-off-by: Frediano Ziglio
---
block.c | 13 -
block.h |2 --
2 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/block.c b/block.c
index 9549b9e..b2d3983 100644
--- a/block.c
+++ b/block.c
@@ -1108,19 +1108,6 @@ int bdrv_pwrite_sync(BlockDriverState *bs, int64_
Signed-off-by: Frediano Ziglio
---
block/raw-posix.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index cd89c83..275b41e 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -587,7 +587,7 @@ static BlockDriverAIOCB *raw_aio_
Signed-off-by: Frediano Ziglio
---
block/raw-posix.c | 11 +--
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 275b41e..3c6bd4b 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -230,13 +230,15 @@ static int raw_open_co
The page you referenced doesn't include anything that I can find about
the ticket priority level. It states that "Stable release updates will,
in general, only be issued in order to fix high-impact bugs" and
provides several examples. Among them is "Bugs which do not fit under
above categories, [
These patches avoid many fallbacks to POSIX AIO and enable Linux AIO even
if nocache is not specified.
Also add flush support with Linux AIO.
Frediano Ziglio (2):
linux aio: support flush operation
aio: use Linux AIO even if nocache is not specified
block/raw-posix.c | 30 +
Signed-off-by: Frediano Ziglio
---
block/raw-posix.c |7 +++
linux-aio.c |3 +++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 3c6bd4b..27ae81e 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -628,6 +628,13
Currently Linux AIO are used only if nocache is specified.
Linux AIO works in all cases. The only problem is that currently Linux AIO
does not align data so I add a test that use POSIX AIO in this case.
Signed-off-by: Frediano Ziglio
---
block/raw-posix.c | 23 ++-
1 files
Did you test this at all?
On Wed, Jul 27, 2011 at 08:25:25PM +0200, Frediano Ziglio wrote:
> +case QEMU_AIO_FLUSH:
> +io_prep_fdsync(iocbs, fd);
> +break;
Looks great, but doesn't work as expected.
Hint: grep for aio_fsync in the linux kernel.
On Wed, Jul 27, 2011 at 08:25:26PM +0200, Frediano Ziglio wrote:
> Currently Linux AIO are used only if nocache is specified.
> Linux AIO works in all cases. The only problem is that currently Linux AIO
> does not align data so I add a test that use POSIX AIO in this case.
The kernel will accept b
Initiating the freeze from kernelspace doesn't make much sense. With
virtio we could add in-band freeze request to the protocol, and although
that would be a major change in that way virtio-blk works right now it's
at least doable. But all other "real" storage targets only communicate
with their
This function should be used when the VM is not supposed to resume
execution (eg. by issuing 'cont' monitor command).
Today, we allow the user to resume execution even when:
o the guest shuts down and -no-shutdown is used
o there's a kvm internal error
o loading the VM state with -loadvm or "l
On 07/27/2011 06:28 PM, Anthony Liguori wrote:
On 07/27/2011 10:33 AM, Paolo Bonzini wrote:
On 07/27/2011 02:48 PM, Anthony Liguori wrote:
So the idea here is that the PIC will multiplex a bunch of interrupts
into a single line?
Yes, but the device needs to know the interrupt number so it ca
On Wed, Jul 27, 2011 at 08:36:10PM +0200, Christoph Hellwig wrote:
> Initiating the freeze from kernelspace doesn't make much sense. With
> virtio we could add in-band freeze request to the protocol, and although
> that would be a major change in that way virtio-blk works right now it's
> at least
Il giorno 27/lug/2011, alle ore 20:31, Christoph Hellwig ha
scritto:
> Did you test this at all?
>
Yes! Not at kernel level :-)
Usually I trust documentation and man pages.
> On Wed, Jul 27, 2011 at 08:25:25PM +0200, Frediano Ziglio wrote:
>> +case QEMU_AIO_FLUSH:
>> +io_prep_fds
On Wed, Jul 27, 2011 at 09:52:51PM +0200, Frediano Ziglio wrote:
> >
>
> Yes! Not at kernel level :-)
In that case we have a bad error handling problem somewhere in qemu.
the IOCB_CMD_FDSYNC aio opcode will always return EINVAL currently,
and we really should have cought that somewhere in qemu.
On 07/27/2011 01:51 PM, Paolo Bonzini wrote:
On 07/27/2011 06:28 PM, Anthony Liguori wrote:
On 07/27/2011 10:33 AM, Paolo Bonzini wrote:
On 07/27/2011 02:48 PM, Anthony Liguori wrote:
So the idea here is that the PIC will multiplex a bunch of interrupts
into a single line?
Yes, but the devi
On Wed, Jul 27, 2011 at 3:06 AM, Anthony Liguori wrote:
> This allows GSources to be used to register callback events in QEMU. This is
> useful as it allows us to take greater advantage of glib and also because it
> allows us to write code that is more easily testable outside of QEMU since we
> c
--- On Wed, 7/27/11, Daniel P. Berrange wrote:
> From: Daniel P. Berrange
> Subject: Re: [Qemu-devel] [PATCH] MinGW compilation shouldn't include
> -lglib-2.0 etc.
> To: "Kenneth Salerno"
> Cc: qemu-devel@nongnu.org
> Date: Wednesday, July 27, 2011, 11:56 AM
> On Wed, Jul 27, 2011 at 08:50:23A
On 07/27/2011 03:43 PM, Blue Swirl wrote:
On Wed, Jul 27, 2011 at 3:06 AM, Anthony Liguori wrote:
This allows GSources to be used to register callback events in QEMU. This is
useful as it allows us to take greater advantage of glib and also because it
allows us to write code that is more easil
On 07/27/2011 03:46 PM, Kenneth Salerno wrote:
--
|: http://berrange.com -o-
http://www.flickr.com/photos/dberrange/
:|
|: http://libvirt.org
-o-
http://virt-manager.org :|
|: http://autobuild.org
-o-
http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org
-
On Wed, Jul 27, 2011 at 11:48 PM, Anthony Liguori wrote:
> On 07/27/2011 03:43 PM, Blue Swirl wrote:
>>
>> On Wed, Jul 27, 2011 at 3:06 AM, Anthony Liguori
>> wrote:
>>>
>>> This allows GSources to be used to register callback events in QEMU.
>>> This is
>>> useful as it allows us to take greate
Am 27.07.2011 22:46, schrieb Kenneth Salerno:
I'll have to fall back to my old plan of compiling glib2 and gettext myself to
install into prefix /usr/i686-pc-mingw32/sys-root/mingw (Cygwin doesn't distribute a
MinGW version of glib2, and the one available on gtk.org gives me this error
"cc1: w
Am 27.07.2011 23:12, schrieb Blue Swirl:
On Wed, Jul 27, 2011 at 11:48 PM, Anthony Liguori wrote:
On 07/27/2011 03:43 PM, Blue Swirl wrote:
On Wed, Jul 27, 2011 at 3:06 AM, Anthony Liguori
wrote:
This allows GSources to be used to register callback events in QEMU.
This i
On 07/27/2011 04:12 PM, Blue Swirl wrote:
On Wed, Jul 27, 2011 at 11:48 PM, Anthony Liguori wrote:
On 07/27/2011 03:43 PM, Blue Swirl wrote:
On Wed, Jul 27, 2011 at 3:06 AM, Anthony Liguori
wrote:
This allows GSources to be used to register callback events in QEMU.
This is
useful as it
--- On Wed, 7/27/11, Stefan Weil wrote:
> From: Stefan Weil
> Subject: Re: [Qemu-devel] [PATCH] MinGW compilation shouldn't include
> -lglib-2.0 etc.
> To: "Kenneth Salerno"
> Cc: qemu-devel@nongnu.org
> Date: Wednesday, July 27, 2011, 5:13 PM
> Am 27.07.2011 22:46, schrieb Kenneth
> Salerno:
101 - 200 of 221 matches
Mail list logo