On Tue, Nov 25, 2014 at 08:18:54AM +0100, Gerd Hoffmann wrote:
> Ongoing discussions on how we are going to specify the console,
> so tag the command as experiemntal so we can refine things in
> the 2.3 development cycle.
%s/experiemntal/experimental/
Reviewed-by: Amos Kong
> Signed-off-by: Ge
Markus Armbruster writes:
> Fam Zheng writes:
>
>> qemu-iotests contains useful tests that have a nice coverage of block layer
>> code. Adding check-block (which calls tests/qemu-iotests-quick.sh) to "make
>> check" is good for developers' self-testing.
>>
>> With the first patch, this set takes
Previously -EAGAIN is simply ignored for !s->io_q.plugged case,
and sometimes it is easy to cause -EIO to VM, such as NVME device.
This patch handles -EAGAIN by io queue for !s->io_q.plugged case,
and it will be retried in following aio completion cb.
Reviewed-by: Paolo Bonzini
Suggested-by: Pao
The 1st patch fixes batch submission.
The 2nd one fixes -EAGAIN for non-batch case.
The 3rd one is a cleanup.
This patchset is splitted from previous patchset(dataplane: optimization
and multi virtqueue support), as suggested by Stefan.
V6:
- don't pass ioq_submit() return value to ioq_
In the submit path, we can't complete request directly,
otherwise "Co-routine re-entered recursively" may be caused,
so this patch fixes the issue with below ideas:
- for -EAGAIN or partial completion, retry the submision
in following completion cb which is run in BH context
No one uses the 'node' field any more, so remove it
from 'struct qemu_laiocb', and this can save 16byte
for the struct on 64bit arch.
Reviewed-by: Paolo Bonzini
Signed-off-by: Ming Lei
---
block/linux-aio.c |1 -
1 file changed, 1 deletion(-)
diff --git a/block/linux-aio.c b/block/linux-ai
Fam Zheng writes:
> Using /tmp (usually mounted as tmpfs) and cache=writeback, the quick
> group can be quicker.
>
> On my laptop (Lenovo T430s with Fedora 20), this reduces the time from
> 50s to 30s.
>
> Signed-off-by: Fam Zheng
> ---
> tests/qemu-iotests-quick.sh | 2 +-
> 1 file changed, 1
Ongoing discussions on how we are going to specify the console,
so tag the command as experiemntal so we can refine things in
the 2.3 development cycle.
Signed-off-by: Gerd Hoffmann
---
qmp-commands.hx | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/qmp-commands.
On 11/25/2014 02:44 AM, Stefano Stabellini wrote:
> On Mon, 24 Nov 2014, Stefano Stabellini wrote:
>> On Mon, 24 Nov 2014, Stefano Stabellini wrote:
>>> CC'ing Paolo.
>>>
>>>
>>> Wen,
>>> thanks for the logs.
>>>
>>> I investigated a little bit and it seems to me that the bug occurs when
>>> QEMU t
From: Gonglei
When we dynamically modify boot order, the length of
boot order will be changed, but we don't update
s->files->f[i].size with new length. This casuse
seabios read a wrong vale of qemu cfg file about
bootorder.
Cc: Gerd Hoffmann
Cc: Paolo Bonzini
Signed-off-by: Gonglei
---
hw/nv
remote GDB (via local host )
QEMU: Terminated via GDBstub
root@ratin-dev:/usr/local/bin# qemu-arm-static -g 1234 /usr/local/bin/test
terminate called after throwing an instance of
'boost::interprocess::interprocess_exception'
what(): Function not implemented
(gdb)
14 bi::managed_sha
uname -a
Linux ratin-dev 2.6.32 #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014
armv7l armv7l armv7l GNU/Linux
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1395958
Title:
boost managed_share
Public bug reported:
The following code segment crashes when run:
#include
#include
#include
#include
#include
using namespace boost::interprocess;
int main(int argc, char** argv)
{
namespace bi = boost::interprocess;
const char* name = "foobar";
bi::shared_memory_object::remov
On 11/25/2014 02:44 AM, Stefano Stabellini wrote:
> On Mon, 24 Nov 2014, Stefano Stabellini wrote:
>> On Mon, 24 Nov 2014, Stefano Stabellini wrote:
>>> CC'ing Paolo.
>>>
>>>
>>> Wen,
>>> thanks for the logs.
>>>
>>> I investigated a little bit and it seems to me that the bug occurs when
>>> QEMU t
On 11/21/14 05:49, Dr. David Alan Gilbert wrote:
* Markus Armbruster (arm...@redhat.com) wrote:
Don Slutz writes:
On 11/19/14 07:29, Markus Armbruster wrote:
Don Slutz writes:
The other callers to blk_set_enable_write_cache() in this file
already check for s->blk == NULL.
Signed-off-by:
Hi
Please, send any topic that you are interested in covering.
Thanks, Juan.
Call details:
15:00 CEST
13:00 UTC
09:00 EDT
Every two weeks
By popular demand, a google calendar public entry with it
https://www.google.com/calendar/embed?src=dG9iMXRqcXAzN3Y4ZXZwNzRoMHE4a3BqcXNAZ3JvdXAuY
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/mem/pc-dimm.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/hw/mem/pc-dimm.c b/hw/mem/pc-dimm.c
index 4944f0f..d431834 100644
--- a/hw/mem/pc-dim
From: Marcel Apfelbaum
If the pci bridge enters in error flow as part
of init process it will only delete the shpc mmio
subregion but not remove it from the properties list,
resulting in segmentation fault when the bridge runs
the exit function.
Example: add a pci bridge without specifing the ch
From: Igor Mammedov
if DIMMs with different size/alignment are interleaved
in creation order, it could lead to hotplug-memory
container fragmentation and following inability to use
all RAM upto maxmem.
For example:
-m 4G,slots=3,maxmem=7G
-object memory-backend-file,id=mem-1,size=256M,mem
From: Gonglei
Reported-by:
https://bugs.launchpad.net/qemu/+bug/1393440
Signed-off-by: Gonglei
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/pci/pcie.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/pci/pcie.c b/hw/pci/pcie.c
index 58455bd.
From: Igor Mammedov
If QEMU is started with -numa ... Windows only notices that
CPU has been hot-added but it will not online such CPUs.
It's caused by the fact that possible CPUs are flagged as
not enabled in SRAT and Windows honoring that information
doesn't use corresponding CPU.
ACPI 5.0 S
From: Igor Mammedov
When running in KVM mode, kvm_set_phys_mem() will silently
fail if registered MemoryRegion address/size is not page
aligned. Causing memory hotplug failure in guest.
Mapping non aligned MemoryRegion in TCG mode 'works', but
sane guest OS still expects page aligned memory modu
From: Paolo Bonzini
This makes it simpler to keep the SSDT byte-for-byte identical for a
given machine type, which is a goal we want to have for 2.2 and newer
types.
Signed-off-by: Paolo Bonzini
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-dsdt-mem-hotpl
From: Igor Mammedov
Currently maxmem limit is not checked and depends on
hotplug region container not being able to fit more RAM
than maxmem. Do check explicitly so that it would
be possible to change hotplug container size later
to deal with fragmentation.
Signed-off-by: Igor Mammedov
Reviewed
From: Igor Mammedov
split addr initialization from declaration so that
later when new local vars are added property getter
wouldn't drift off of error check.
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/pc.c | 5 +++--
1 file chan
acpi build modifies internal FW CFG RAM on first access
but we forgot to mark it dirty.
If this RAM has been migrated already, it won't be
migrated again, returning corrupted tables to guest.
Signed-off-by: Michael S. Tsirkin
---
include/hw/loader.h | 2 +-
hw/core/loader.c | 8 +---
From: Igor Mammedov
Performance wise it's better to align GVA by the backend's
page size.
Also do not allow to create DIMM device with suboptimal
size (i.e. not aligned to backends page size) to aviod
memory loss.
Do above only for 2.2 and newer machine types to avoid
breaking working configs w
From: Gonglei
Signed-off-by: Gonglei
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/pci/pcie.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/pci/pcie.c b/hw/pci/pcie.c
index fbba589..1a1 100644
--- a/hw/pci/pcie.c
+++ b/hw/pci/pcie.c
@@ -
From: Igor Mammedov
introduce memory_region_get_alignment() that returns
underlying memory block alignment or 0 if it's not
relevant/implemented for backend.
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
include/exec/exec-all.h | 2 +-
inc
tcp_get_fds API discards fds if there's more than 1 of these.
It's tricky to fix this without API changes in the generic case.
However, this API is only used by tests ATM, and tests know how
many fds they expect.
So let's not waste cycles trying to fix this properly:
simply assume at most 16 fds
From: Igor Mammedov
When more memory devices are used than available
KVM memory slots, QEMU crashes with:
kvm_alloc_slot: no free slot available
Aborted (core dumped)
Fix this by checking that KVM has a free slot before
attempting to map memory in guest address space.
Signed-off-by: Igor Mamme
The following changes since commit 0e88f478508b566152c6681f4889ed9830a2c0a5:
Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into
staging (2014-11-21 14:15:37 +)
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_ups
On Mon, 24 Nov 2014, Stefano Stabellini wrote:
> On Mon, 24 Nov 2014, Stefano Stabellini wrote:
> > CC'ing Paolo.
> >
> >
> > Wen,
> > thanks for the logs.
> >
> > I investigated a little bit and it seems to me that the bug occurs when
> > QEMU tries to unmap only a portion of a memory region pr
On Mon, 24 Nov 2014, Konrad Rzeszutek Wilk wrote:
> On Mon, Nov 24, 2014 at 06:44:45PM +, Stefano Stabellini wrote:
> > On Mon, 24 Nov 2014, Stefano Stabellini wrote:
> > > On Mon, 24 Nov 2014, Stefano Stabellini wrote:
> > > > CC'ing Paolo.
> > > >
> > > >
> > > > Wen,
> > > > thanks for the
On Mon, Nov 24, 2014 at 10:29:38PM +0800, Ming Lei wrote:
> Previously -EAGAIN is simply ignored for !s->io_q.plugged case,
> and sometimes it is easy to cause -EIO to VM, such as NVME device.
>
> This patch handles -EAGAIN by io queue for !s->io_q.plugged case,
> and it will be retried in followi
* Paolo Bonzini (pbonz...@redhat.com) wrote:
> Il 03/10/2014 19:47, Dr. David Alan Gilbert (git) ha scritto:
> > From: "Dr. David Alan Gilbert"
> >
> > Rework the migration thread to setup and start postcopy.
> >
> > Signed-off-by: Dr. David Alan Gilbert
> > ---
> > include/migration/migration
On Mon, Nov 24, 2014 at 10:29:37PM +0800, Ming Lei wrote:
> +static void ioq_abort_bh(void *opaque)
> +{
> +struct qemu_laio_state *s = opaque;
> +int i;
> +
> +for (i = 0; i < s->io_q.idx; i++) {
> +struct qemu_laiocb *laiocb = container_of(s->io_q.iocbs[i],
> +
On Mon, Nov 24, 2014 at 06:44:45PM +, Stefano Stabellini wrote:
> On Mon, 24 Nov 2014, Stefano Stabellini wrote:
> > On Mon, 24 Nov 2014, Stefano Stabellini wrote:
> > > CC'ing Paolo.
> > >
> > >
> > > Wen,
> > > thanks for the logs.
> > >
> > > I investigated a little bit and it seems to me
On 11/21/2014 05:41 AM, Max Reitz wrote:
> On 2014-10-26 at 16:20, Jun Li wrote:
>> When every item of refcount block is NULL, free refcount block and
>> reset the
>> corresponding item of refcount table with NULL. At the same time, put
>> this
>> cluster to s->free_cluster_index.
>>
>> Signed-off-
On 11/21/2014 03:56 AM, Max Reitz wrote:
>
> Second, why are you truncating the file to offset if offset is smaller
> than actual_size? That is always wrong. You are blindly assuming:
> (1) that the image consists of only data and no metadata, because you're
> using the guest disk size (offset) to
On 2014-11-24 at 16:56, Max Reitz wrote:
tl;dr
=
* CPU usage at runtime decreased by 150 to 275 percent on
overlap-check-heavy tasks
Oops, that should read "15000 to 27500 percent" or "150 to 275 times".
Max
* No additional performance problems at loading time (in theory has the
On Mon, 24 Nov 2014, Stefano Stabellini wrote:
> CC'ing Paolo.
>
>
> Wen,
> thanks for the logs.
>
> I investigated a little bit and it seems to me that the bug occurs when
> QEMU tries to unmap only a portion of a memory region previously mapped.
> That doesn't work with xen-mapcache.
>
> See
On 11/24/2014 10:19 AM, Eric Blake wrote:
> On 11/23/2014 09:10 PM, Quan Xu wrote:
>> Signed-off-by: Quan Xu
>> ---
>> configure| 14 ++
>> hmp.c| 7 +++
>> qapi-schema.json | 20 ++--
>> qemu-options.hx | 13 +++--
>> tpm.c
On 11/23/2014 09:10 PM, Quan Xu wrote:
> Signed-off-by: Quan Xu
> ---
> configure| 14 ++
> hmp.c| 7 +++
> qapi-schema.json | 20 ++--
> qemu-options.hx | 13 +++--
> tpm.c| 7 ++-
> 5 files changed, 56 insertions(+),
On 11/23/2014 07:25 PM, Li, Liang Z wrote:
>>> # @auto-converge: If enabled, QEMU will automatically throttle down the
>>> guest
>>> # to speed up convergence of RAM migration. (since 1.6)
>>> #
>>> # Since: 1.2
>>> ##
>>> { 'enum': 'MigrationCapability',
>>> - 'data': ['xbzrle', '
On 24 November 2014 at 14:01, Kevin Wolf wrote:
> The following changes since commit 0e88f478508b566152c6681f4889ed9830a2c0a5:
>
> Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into
> staging (2014-11-21 14:15:37 +)
>
> are available in the git repository at:
>
>
>
On 11/24/2014 08:56 AM, Max Reitz wrote:
> As has been requested, this series adds new overlap check functions to
> the qcow2 code. My local branch is called "qcow2-improved-overlap-v1",
> but I am not so sure whether it is actually an improvement; that is left
> for you to decide, dear reviewers.
On 11/24/2014 08:51 AM, Markus Armbruster wrote:
> Uh, you dropped cc: Eric somehow a couple of messages ago.
At least I have my inbox set to flag messages where my name is
mentioned, even when I'm not actually cc'd, so I did see the thread
before this email :)
>> Supporting device (additionally
On Mon, Nov 24, 2014 at 10:29:37PM +0800, Ming Lei wrote:
> +/* submit immediately if queue depth is above 2/3 */
> +if (idx > s->io_q.size * 2 / 3) {
> +return ioq_submit(s);
The return value of ioq_submit() is the number of requests submitted (0
or more). This has no meaning to
On Mon, 24 Nov 2014, Stefano Stabellini wrote:
> On Sun, 23 Nov 2014, Quan Xu wrote:
> > +static void vtpm_backend_changed(struct XenDevice *xendev, const char
> > *node)
> > +{
> > +struct XenVtpmDev *vtpmdev = container_of(xendev, struct XenVtpmDev,
> > +
On Sun, 23 Nov 2014, Quan Xu wrote:
> This driver provides vTPM initialization and sending data and TPM
> commends to a Xen stubdom vTPM domain.
>
> Signed-off-by: Quan Xu
We need a better, more detailed, patch description here.
> hw/tpm/Makefile.objs | 1 +
> hw/tpm/tpm_xenstubdoms.c |
On Sun, 23 Nov 2014, Quan Xu wrote:
> This drvier transfers any request/repond between TPM xenstubdoms
> driver and Xen vTPM stubdom, and facilitates communications between
> Xen vTPM stubdom domain and vTPM xenstubdoms driver
>
> Signed-off-by: Quan Xu
This patch needs a better description, see
The QEMU Advent Calendar is launching on December 1st 2014:
http://www.qemu-advent-calendar.org/
Each day until Christmas (or until we run out) a new QEMU disk image
will be posted for you to enjoy.
The disk images showcase interesting guest operating systems, demos,
and software that runs under
On 2014-11-21 at 11:49, Stefan Hajnoczi wrote:
The BLOCK_OP_TYPE_EXTERNAL_SNAPSHOT op blocker exists but was never
used! Let's fix that so external snapshot can be blocked.
Signed-off-by: Stefan Hajnoczi
---
blockdev.c | 4
1 file changed, 4 insertions(+)
With commit message and titl
Keep track of the inactive L2 tables in the metadata list to protect
them against accidental modifications.
Signed-off-by: Max Reitz
---
block/qcow2-refcount.c | 20
block/qcow2-snapshot.c | 41 +++--
2 files changed, 59 insertions(+), 2 d
Keep track of the refcount blocks in the metadata list to protect them
against accidental modifications.
Signed-off-by: Max Reitz
---
block/qcow2-refcount.c | 38 +-
1 file changed, 37 insertions(+), 1 deletion(-)
diff --git a/block/qcow2-refcount.c b/block/q
Make the static new overlap check function global and drop the old
function.
Signed-off-by: Max Reitz
---
block/qcow2-overlap.c | 8 +---
block/qcow2-refcount.c | 120 -
2 files changed, 2 insertions(+), 126 deletions(-)
diff --git a/block/qcow
Keep track of the snapshot table in the metadata list to protect it
against accidental modifications.
Signed-off-by: Max Reitz
---
block/qcow2-snapshot.c | 10 ++
block/qcow2.c | 6 ++
2 files changed, 16 insertions(+)
diff --git a/block/qcow2-snapshot.c b/block/qcow2-snap
Keep track of the active L2 tables in the metadata list to protect them
against accidental modifications.
Signed-off-by: Max Reitz
---
block/qcow2-cluster.c | 2 ++
block/qcow2-refcount.c | 6 ++
block/qcow2-snapshot.c | 21 +
block/qcow2.c | 8 +++-
4 fi
Keep track of the refcount table in the metadata list to protect it
against accidental modifications.
Signed-off-by: Max Reitz
---
block/qcow2-refcount.c | 18 ++
block/qcow2.c | 4
2 files changed, 22 insertions(+)
diff --git a/block/qcow2-refcount.c b/block/qcow
Keep track of the active L1 table in the metadata list to protect it
against accidental modifications.
Signed-off-by: Max Reitz
---
block/qcow2-cluster.c | 11 +++
block/qcow2-snapshot.c | 10 ++
block/qcow2.c | 4
3 files changed, 25 insertions(+)
diff --git a/b
Keep track of the inactive L1 tables in the metadata list to protect
them against accidental modifications.
Signed-off-by: Max Reitz
---
block/qcow2-snapshot.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/block/qcow2-snapshot.c b/block/qcow2-snapshot.c
index c32
Enter the image header into the metadata list to protect it against
accidental modifications.
Signed-off-by: Max Reitz
---
block/qcow2.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/block/qcow2.c b/block/qcow2.c
index f80f9ed..19ac2df 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -7
Pull up the absorption of the qcow2-relevant command line options and
the evaluation of the overlap check options in qcow2_open().
Signed-off-by: Max Reitz
---
block/qcow2.c | 96 +--
1 file changed, 48 insertions(+), 48 deletions(-)
diff
The existing qcow2 metadata overlap detection function used existing
structures to determine the location of the image metadata, from plain
fields such as l1_table_offset and l1_size in the BDRVQcowState, over
image structures in memory such as the L1 table for the L2 tables'
positions, or it even
As has been requested, this series adds new overlap check functions to
the qcow2 code. My local branch is called "qcow2-improved-overlap-v1",
but I am not so sure whether it is actually an improvement; that is left
for you to decide, dear reviewers.
See patch 1 for an explanation of why this serie
Create and destroy the metadata list on creation and destruction of a
qcow2 BDS, respectively. Skip creation if no overlap checks should be
performed.
Signed-off-by: Max Reitz
---
block/qcow2.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/block/qcow2.c b/block/qcow2.c
index ed
Uh, you dropped cc: Eric somehow a couple of messages ago.
Gerd Hoffmann writes:
> Hi,
>
>> >> > # @console: #optional console to send event(s) to.
>> >> > +# This parameter can be used to send the input event to
>> >> > +# specific input devices in case (a) multiple input
Another general question about this series use:
why do all these other devices that are unrelated to the virt platform show up?
Here I am running on the guest with just virtio-net, virtio-blk and virtio-rng:
(qemu) info pci
Bus 0, device 0, function 0:
Class 2880: PCI device 1b36:1234
2014-11-24 17:18 GMT+03:00 Andrey Korolyov :
> I am not sure for friendliness of possible dd interpretations for new
> leaky bucket mechanism, as its results can be a little confusing even
> for fio (all operations which are above the limit for long-running
> test will have 250ms latency, putting d
Amos Kong writes:
> This patch documents what exactly input-send-event is supposed to do.
>
> Signed-off-by: Amos Kong
> ---
> qapi-schema.json | 11 +++
> 1 file changed, 11 insertions(+)
>
> diff --git a/qapi-schema.json b/qapi-schema.json
> index d0926d9..9aa19bc 100644
> --- a/qapi-
CC'ing Paolo.
Wen,
thanks for the logs.
I investigated a little bit and it seems to me that the bug occurs when
QEMU tries to unmap only a portion of a memory region previously mapped.
That doesn't work with xen-mapcache.
See these logs for example:
DEBUG address_space_map phys_addr=78ed8b44 v
On Mon, 2014-10-27 at 19:34 +0200, Marcel Apfelbaum wrote:
> Hot-plugging a device that has a romfile (either supplied by user
> or built-in) using rombar=0 option is a user error,
> do not allow the device to be hot-plugged.
Hi Michael,
The series has been reviewed, can you please add it to
your
On 24 November 2014 at 13:40, Paolo Bonzini wrote:
> The following changes since commit 0e88f478508b566152c6681f4889ed9830a2c0a5:
>
> Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into
> staging (2014-11-21 14:15:37 +)
>
> are available in the git repository at:
>
>
Hi Claudio,
Thank you for your review. Please see my in-line comments.
On Mon, Nov 24, 2014 at 11:34 AM, Claudio Fontana
wrote:
> On 21.11.2014 19:07, Alvise Rigo wrote:
>> Add a generic PCI host controller for virtual platforms, based on the
>> previous work by Rob Herring:
>> http://lists.gnu.
On Mon, Nov 24, 2014 at 10:31 PM, Paolo Bonzini wrote:
>
>
> On 24/11/2014 15:29, Ming Lei wrote:
>> The 1st patch fixes batch submission.
>>
>> The 2nd one fixes -EAGAIN for non-batch case.
>>
>> The 3rd one is a cleanup.
>>
>> This patchset is splitted from previous patchset(dataplane: optimizat
This patch documents what exactly input-send-event is supposed to do.
Signed-off-by: Amos Kong
---
qapi-schema.json | 11 +++
1 file changed, 11 insertions(+)
diff --git a/qapi-schema.json b/qapi-schema.json
index d0926d9..9aa19bc 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@
Hi,
> >> > # @console: #optional console to send event(s) to.
> >> > +# This parameter can be used to send the input event to
> >> > +# specific input devices in case (a) multiple input devices
> >> > +# of the same kind are added to the virtual machine and (b)
> >
On 24/11/2014 15:29, Ming Lei wrote:
> The 1st patch fixes batch submission.
>
> The 2nd one fixes -EAGAIN for non-batch case.
>
> The 3rd one is a cleanup.
>
> This patchset is splitted from previous patchset(dataplane: optimization
> and multi virtqueue support), as suggested by Stefan.
>
>
No one uses the 'node' field any more, so remove it
from 'struct qemu_laiocb', and this can save 16byte
for the struct on 64bit arch.
Reviewed-by: Paolo Bonzini
Signed-off-by: Ming Lei
---
block/linux-aio.c |1 -
1 file changed, 1 deletion(-)
diff --git a/block/linux-aio.c b/block/linux-ai
Previously -EAGAIN is simply ignored for !s->io_q.plugged case,
and sometimes it is easy to cause -EIO to VM, such as NVME device.
This patch handles -EAGAIN by io queue for !s->io_q.plugged case,
and it will be retried in following aio completion cb.
Suggested-by: Paolo Bonzini
Signed-off-by: M
The 1st patch fixes batch submission.
The 2nd one fixes -EAGAIN for non-batch case.
The 3rd one is a cleanup.
This patchset is splitted from previous patchset(dataplane: optimization
and multi virtqueue support), as suggested by Stefan.
V5:
- in case of submission failure, return -EIO for n
In the submit path, we can't complete request directly,
otherwise "Co-routine re-entered recursively" may be caused,
so this patch fixes the issue with below ideas:
- for -EAGAIN or partial completion, retry the submision
in following completion cb which is run in BH context
On Mon, 2014-11-24 at 14:37 +0100, Vasilis Liaskovitis wrote:
> The test enables intel_iommu on q35, looks for and reads the DMAR table as
> well
> as its only DRHC structure (for now), checking the header and checksums.
Hi Vaisilis,
I had a deeper look to your patch and the code already checks
h
On Mon, Nov 24, 2014 at 5:09 PM, Vasiliy Tolstov wrote:
> 2014-11-24 16:57 GMT+03:00 Andrey Korolyov :
>> Hello Vasiliy,
>>
>> can you please check actual values via qemu-monitor-command domid '{
>> "execute": "query-block"}', just to be sure to pin the potential
>> problem to the emulator itself?
Fix build breakage on 32 bit host:
hw/i386/pc.c:1623:9: error: format '%llx' expects argument
of type 'long long unsigned int', but argument 5 has type 'ram_addr_t'
[-Werror=format]
introduced by:
pc: explicitly check maxmem limit when adding DIMM
Signed-off-by: Igor Mammedov
---
hw/i386/pc.
2014-11-24 16:57 GMT+03:00 Andrey Korolyov :
> Hello Vasiliy,
>
> can you please check actual values via qemu-monitor-command domid '{
> "execute": "query-block"}', just to be sure to pin the potential
> problem to the emulator itself?
virsh qemu-monitor-command 11151 '{ "execute": "query-block"}'
Gerd Hoffmann writes:
> On Fr, 2014-11-21 at 12:59 +0100, Markus Armbruster wrote:
>> [Copying Eric]
>>
>> Gerd Hoffmann writes:
>>
>> > Text partly suggested by Markus Armbruster
>> >
>> > Signed-off-by: Gerd Hoffmann
>> > ---
>> > qapi-schema.json | 12
>> > 1 file changed, 1
This reverts commit 000c4dfff4d7686e2fba3066a477a1290ed60622.
The main reason for reverting this commit before the 2.2 release is that
it adds a QAPI interface that we don't want to keep: The 'nocow' flag
doesn't generally make sense for block nodes, but only for the raw-posix
driver. It should th
The following changes since commit 0e88f478508b566152c6681f4889ed9830a2c0a5:
Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into
staging (2014-11-21 14:15:37 +)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git tags/for-upstream
for you to
On Fri, Nov 21, 2014 at 12:58:56PM +0100, Paolo Bonzini wrote:
>
>
> On 21/11/2014 11:49, Stefan Hajnoczi wrote:
> > The BLOCK_OP_TYPE_EXTERNAL_SNAPSHOT op blocker exists but was never
> > used! Let's fix that so external snapshot can be blocked.
>
> The patch is about internal snapshots tho. :
On Mon, Nov 24, 2014 at 3:02 PM, Vasiliy Tolstov wrote:
> Hi. I'm try to shape disk via total_iops_sec in libvirt
> libvirt 1.2.10
> qemu 2.0.0
>
> Firstly when i'm run vm with predefined
> 5000 i have around 11000 iops (dd
> if=/dev/sda bs=512K of=/dev/null)
> After that i'm try to set via virsh
On Fri, Nov 21, 2014 at 02:51:30PM +0100, Max Reitz wrote:
> On 2014-11-21 at 11:48, Stefan Hajnoczi wrote:
> >The transaction QMP command performs operations atomically on a group of
> >drives. This command needs to acquire AioContext in order to work
> >safely when virtio-blk dataplane IOThreads
On 20/11/2014 15:04, Michael S. Tsirkin wrote:
> On Thu, Nov 20, 2014 at 02:35:14PM +0100, Markus Armbruster wrote:
>> What am I missing here that can justify the complexity of partially
>> overriding target configuration in the migration stream plus
>> infrastructure for resizing memory?
>
> Th
This patch fixes an obscure failure of the QNX kernel on QEMU x86 SMP.
In QNX, all hardware interrupts come via the PIC, and are delivered by
the cpu 0 LAPIC in ExtINT mode, while IPIs are delivered by the LAPIC
in fixed mode.
This bug happens as follows:
- cpu 0 masks a particular PIC interrupt
-
This fixes another failure with ExtINT, demonstrated by QNX. The failure
mode is as follows:
- IPI sent to cpu 0 (bit set in APIC irr)
- IPI accepted by cpu 0 (bit cleared in irr, set in isr)
- IPI sent to cpu 0 (bit set in both irr and isr)
- PIC interrupt sent to cpu 0
The PIC interrupt causes
After the next patch, if a masked PIC interrupts causes CPU_INTERRUPT_POLL
to be set, the CPU will spuriously get out of halted state. While this
is technically valid, we should avoid that.
Make CPU_INTERRUPT_POLL run apic_update_irq in the right thread and then
look at CPU_INTERRUPT_HARD. If CP
The following changes since commit 0e88f478508b566152c6681f4889ed9830a2c0a5:
Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into
staging (2014-11-21 14:15:37 +)
are available in the git repository at:
git://github.com/bonzini/qemu.git tags/for-upstream
for you t
Hi,
On Mon, Nov 24, 2014 at 11:37:05AM +0200, Marcel Apfelbaum wrote:
> On Sat, 2014-11-22 at 20:05 +0100, Vasilis Liaskovitis wrote:
> > The test enables intel_iommu on q35 and reads the DMAR table and its only
> > DRHC structure (for now), checking only the header and checksums.
> >
> > Signed-
The test enables intel_iommu on q35, looks for and reads the DMAR table as well
as its only DRHC structure (for now), checking the header and checksums.
Signed-off-by: Vasilis Liaskovitis
---
tests/bios-tables-test.c | 46 +-
1 file changed, 45 inserti
1 - 100 of 172 matches
Mail list logo