Currently you have to decide whether you want to use -snapshot/snapshot=on or
driver-specific options, they don't go together. This series removes this
limitation.
Kevin Wolf (2):
block: Enable BDRV_O_SNAPSHOT with driver-specific options
qemu-iotests: Test snapshot mode
block.c
Signed-off-by: Kevin Wolf
---
tests/qemu-iotests/051 | 17 +++
tests/qemu-iotests/051.out | 54 +-
2 files changed, 66 insertions(+), 5 deletions(-)
diff --git a/tests/qemu-iotests/051 b/tests/qemu-iotests/051
index 3a75bda..b23d91b 100
On 11/19/2013 08:37 AM, Kevin Wolf wrote:
> In the case of snapshot=on, don't rely on the backing file path in the
> temporary image any more, but override the backing file with the given
> set of options. This way, block drivers that don't use a file name can
> be accessed with snapshot=on, for ex
On 11/19/2013 08:37 AM, Kevin Wolf wrote:
> Signed-off-by: Kevin Wolf
> ---
> tests/qemu-iotests/051 | 17 +++
> tests/qemu-iotests/051.out | 54
> +-
> 2 files changed, 66 insertions(+), 5 deletions(-)
Reviewed-by: Eric Blake
--
Er
On Tue, Nov 19, 2013 at 11:17:40AM +0100, Antonios Motakis wrote:
> There have been discussions before on these lists on the topic of
> connecting a QEMU guest running a virtio_net driver, with an external
> userspace ethernet switch (Snabbswitch in particular). The essential
> requirement in this
Hi Anthony
This includes the mmap() optimization from Peter Lieven.
Please apply
The following changes since commit 5c5432e7d630592ddcc1876ac8a1505f8f14ef15:
Merge remote-tracking branch 'luiz/queue/qmp' into staging (2013-11-13
11:49:27 -0800)
are available in the git repository at:
Andreas Färber writes:
> Am 06.11.2013 23:52, schrieb Bandan Das:
>>
>> PCIBus registers a vmstate during init. Unregister it upon
>> removal/unplug.
>>
>> Signed-off-by: Bandan Das
>
> Michael, this patch looks good for 1.7 to me, are you planning to still
> pick it up? Only one small comment
Hi
Please, send any topic that you are interested in covering.
Thanks, Juan.
Call details:
10:00 AM to 11:00 AM EDT
Every two weeks
If you need phone number details, contact me privately.
bdrv_co_discard is only covering drivers which have a .bdrv_co_discard()
implementation, but not those with .bdrv_aio_discard(). Not very nice,
and easy to avoid.
Suggested-by: Kevin Wolf
Signed-off-by: Paolo Bonzini
---
block.c | 80 +
Similar to write_zeroes, let the generic code receive a ENOTSUP for
discard operations. Since bdrv_discard has advisory semantics,
we can just swallow the error.
Signed-off-by: Paolo Bonzini
---
block.c | 2 +-
block/raw-posix.c | 12 ++--
2 files changed, 7 insertions(+), 7
Signed-off-by: Paolo Bonzini
---
block/qcow2.c | 2 ++
block/qed.c | 2 ++
block/vdi.c | 3 +++
block/vhdx.c | 3 +++
block/vpc.c | 2 ++
5 files changed, 12 insertions(+)
diff --git a/block/qcow2.c b/block/qcow2.c
index 2fe37ed..92ed895 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -
Signed-off-by: Paolo Bonzini
---
block.c | 2 +-
trace-events | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/block.c b/block.c
index 909fddb..0c3f410 100644
--- a/block.c
+++ b/block.c
@@ -2880,7 +2880,7 @@ int coroutine_fn bdrv_co_write_zeroes(BlockDriverState
*bs,
This will let misaligned but large requests use zero clusters. This
is important because the cluster size is not guest visible.
Signed-off-by: Paolo Bonzini
---
block/qcow2.c | 1 +
block/qed.c | 1 +
block/vmdk.c | 4
3 files changed, 6 insertions(+)
diff --git a/block/qcow2.c b/block
This series fixes the implementation of WRITE SAME in the SCSI emulation
layer. On top of this, it ensures that zero writes from the guest can
be offloaded to the host device or filesystem if that's supported.
This is a relatively important part of the thin provisioning feature,
and builds on the
The current check is right for MAY_UNMAP=1. For MAY_UNMAP=0, just
try and fall back to regular writes as soon as a WRITE SAME command
fails.
Signed-off-by: Paolo Bonzini
---
block/iscsi.c | 19 +--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/block/iscsi.c b/bl
The latest revision of SCSI SBC clarifies the semantics of LBPRZ
in a way that lets the iscsi driver remove the distinction between
bdrv_unallocated_blocks_are_zero and bdrv_can_write_zeroes_with_unmap.
See Table 8:
"[If] the LBA became mapped as the result of an autonomous transition,
and
See the next commit for the description of the Linux kernel problem
that is worked around in raw_open_common.
Signed-off-by: Paolo Bonzini
---
block/raw-posix.c | 37 +
1 file changed, 37 insertions(+)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index
Fetch the data to be written from the input buffer. If it is all zeroes,
we can use the write_zeroes call (possibly with the new MAY_UNMAP flag).
Otherwise, do as many write cycles as needed, writing 512k at a time.
Strictly speaking, this is still incorrect because a zero cluster should
only be
Signed-off-by: Paolo Bonzini
---
tests/qemu-iotests/group | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group
index b18b241..4f86046 100644
--- a/tests/qemu-iotests/group
+++ b/tests/qemu-iotests/group
@@ -39,7 +39,7 @@
030 rw a
This is the same that is already done for WRITE SAME.
Signed-off-by: Paolo Bonzini
---
hw/scsi/scsi-disk.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c
index 74e6a14..4138268 100644
--- a/hw/scsi/scsi-disk.c
+++ b/hw/scsi/scsi-disk.c
@@ -154
Since we report ANC_SUP==0 in VPD page B2h, we need to return
an error (ILLEGAL REQUEST/INVALID FIELD IN CDB) for all WRITE SAME
requests with ANCHOR==1.
Inspired by a similar patch to the LIO in-kernel target.
Signed-off-by: Paolo Bonzini
---
hw/scsi/scsi-disk.c | 12 +++-
1 file chang
Le Tuesday 19 Nov 2013 à 17:49:46 (+0100), Paolo Bonzini a écrit :
> Commit 787aaf5 (target-i386: forward CPUID cache leaves when -cpu host is
> used, 2013-09-02) brings bits 31..26 of CPUID leaf 04h out of sync with
> the APIC IDs that QEMU reserves for each package. This number must come
> from
This lets bdrv_co_do_rw receive flags, so that it can be used for
zero writes.
Signed-off-by: Paolo Bonzini
---
block.c | 17 +++--
include/block/block.h | 1 +
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/block.c b/block.c
index 2e37040..909fddb 100
Hello all,
On 09/27/2013 02:48 AM, Alexander Graf wrote:
> This patch adds emulation support for the adr instruction.
>
> Signed-off-by: Alexander Graf
> ---
> target-arm/translate-a64.c | 24
> 1 file changed, 24 insertions(+)
>
> diff --git a/target-arm/translate-a64
+#define SCSI_WRITE_SAME_MAX 524288
...
+data->iov.iov_len = MIN(data->nb_sectors * 512, SCSI_WRITE_SAME_MAX);
I don't think you should just clamp the data to 512k, instead I think
you should report the 512k max write same size through
BlockLimitsVPD/MaximumWriteSameLength to the init
Commit 787aaf5 (target-i386: forward CPUID cache leaves when -cpu host is
used, 2013-09-02) brings bits 31..26 of CPUID leaf 04h out of sync with
the APIC IDs that QEMU reserves for each package. This number must come
from "-smp" options rather than from the host CPUID.
It also turns out that thi
That means the initiator will do the "split into smaller manageable
chunks" for you and you get a 1-to-1 mapping between WS10/16 that the
initiator issues to qemu and the write-same calls that qemu generates.
On Tue, Nov 19, 2013 at 9:23 AM, ronnie sahlberg
wrote:
> +#define SCSI_WRITE_SAME_MAX
Il 19/11/2013 18:23, ronnie sahlberg ha scritto:
> +#define SCSI_WRITE_SAME_MAX 524288
> ...
> +data->iov.iov_len = MIN(data->nb_sectors * 512, SCSI_WRITE_SAME_MAX);
>
> I don't think you should just clamp the data to 512k, instead I think
> you should report the 512k max write same s
From: Peter Lieven
added myself to reflect recent work on the iscsi block driver.
Signed-off-by: Peter Lieven
Signed-off-by: Paolo Bonzini
---
block/iscsi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/block/iscsi.c b/block/iscsi.c
index b6b62aa..20f4f55 100644
--- a/block/iscsi.c
+++
Am 19.11.2013 18:03, schrieb Bandan Das:
> Andreas Färber writes:
>
>> Am 06.11.2013 23:52, schrieb Bandan Das:
>>>
>>> PCIBus registers a vmstate during init. Unregister it upon
>>> removal/unplug.
>>>
>>> Signed-off-by: Bandan Das
>>
>> Michael, this patch looks good for 1.7 to me, are you pla
Il 19/11/2013 18:33, Andreas Färber ha scritto:
> Why? I still think that would be wrong. We had previously discussed with
> Paolo that VMState is global state, which according to Anthony should
> not be registered before realization. So far we have a mix of PCI host
> bridges instantiating PCIBus
Andreas Färber writes:
> Am 19.11.2013 18:03, schrieb Bandan Das:
>> Andreas Färber writes:
>>
>>> Am 06.11.2013 23:52, schrieb Bandan Das:
PCIBus registers a vmstate during init. Unregister it upon
removal/unplug.
Signed-off-by: Bandan Das
>>>
>>> Michael, this patch
The code is similar to the implementation of discard and write_zeroes
with UNMAP. However, failure must be propagated up to block.c.
The stale page cache problem can be reproduced as follows:
# modprobe scsi-debug lbpws=1 lbprz=1
# ./qemu-io /dev/sdXX
qemu-io> write -P 0xcc 0 2M
On 11/19/2013 06:17 PM, Claudio Fontana wrote:
> Hello all,
>
> On 09/27/2013 02:48 AM, Alexander Graf wrote:
>> This patch adds emulation support for the adr instruction.
>>
>> Signed-off-by: Alexander Graf
>> ---
>> target-arm/translate-a64.c | 24
>> 1 file changed, 2
Am 19.11.2013 09:19, schrieb Paolo Bonzini:
> Il 19/11/2013 06:53, Wangting (Kathy) ha scritto:
>> In qemu_put_buffer(), bytes_xfer += size is wrong,it will be more than
>> expected,and should be bytes_xfer += l.
>>
>> Signed-off-by: zhangmin
>> ---
>> savevm.c |2 +-
>> 1 files changed, 1 inse
This will be used by the SCSI layer.
Signed-off-by: Paolo Bonzini
---
block.c | 11 +++
include/block/block.h | 3 +++
trace-events | 1 +
3 files changed, 15 insertions(+)
diff --git a/block.c b/block.c
index 0c3f410..f5428f4 100644
--- a/block.c
+++ b/block.c
Signed-off-by: Paolo Bonzini
---
block/vhdx.c | 11 +++
block/vpc.c | 14 ++
2 files changed, 25 insertions(+)
diff --git a/block/vhdx.c b/block/vhdx.c
index 7d1af96..9ab2b39 100644
--- a/block/vhdx.c
+++ b/block/vhdx.c
@@ -1043,6 +1043,16 @@ static void vhdx_block_translate
On 19 November 2013 17:52, Claudio Fontana wrote:
> static void disas_pc_rel_adr(DisasContext *s, uint32_t insn)
> {
> /*
> * 31 30 29 28 27 26 25 24 23 5 4 0
> * op immlo 1 0 0 0 0 immhi Rd
> */
> unsigned int page, imm, rd, len; /* op -> page, immhi:immlo ->
Il 19/11/2013 18:55, Stefan Weil ha scritto:
>>> >> diff --git a/savevm.c b/savevm.c
>>> >> index 2f631d4..3f912dd 100644
>>> >> --- a/savevm.c
>>> >> +++ b/savevm.c
>>> >> @@ -794,7 +794,7 @@ void qemu_put_buffer(QEMUFile *f, const uint8_t
>>> >> *buf, int size)
>>> >> if (l > size)
>>>
On 19 November 2013 18:03, Peter Maydell wrote:
> On 19 November 2013 17:52, Claudio Fontana wrote:
>> static void disas_pc_rel_adr(DisasContext *s, uint32_t insn)
>> {
>> /*
>> * 31 30 29 28 27 26 25 24 23 5 4 0
>> * op immlo 1 0 0 0 0 immhi Rd
>> */
>> unsig
Writing zeroes to a file can be done by punching a hole if
MAY_UNMAP is set.
Note that in this case ENOTSUP is not ignored, but makes
the block layer fall back to the generic implementation.
Signed-off-by: Paolo Bonzini
---
block/raw-posix.c | 66
Right now, bdrv_co_do_write_zeroes will only try to align the
beginning of the request. However, it is simpler for many
formats to expect the block layer to separate both the head *and*
the tail. This makes sure that the format's bdrv_co_write_zeroes
function will be called with aligned sector_nu
Prevent a call to put_kbd if null.
On shutdown of some OSes, the keyboard handler goes away before the
system is down. If a key is typed during this window, qemu crashes.
Signed-off-by: Don Koch
---
I left the printf call, originally for testing, but useful as a sanity
check if the user wonders
From: Peter Lieven
since commit 3ac21627 the default value changed to 0.
Signed-off-by: Peter Lieven
Signed-off-by: Paolo Bonzini
---
block/iscsi.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/block/iscsi.c b/block/iscsi.c
index b7b5238..b6b62aa 100644
--- a/block/iscsi.c
+++ b/b
Signed-off-by: Ivan Mironov
---
hw/i386/smbios.c | 219 ++-
include/hw/i386/smbios.h | 11 +++
qemu-options.hx | 42 -
3 files changed, 268 insertions(+), 4 deletions(-)
diff --git a/hw/i386/smbios.c b/hw/i386/smbios.c
index
Hello!
These patches adds support for providing SMBIOS "Onboard Devices Extended
Information" fields to the guest i386/x86_64 system. This could be used in
conjunction with biosdevname to provide "consistent network device naming"
inside VM.
I will also send corresponding patches to seab...@se
Signed-off-by: Ivan Mironov
---
hw/i386/pc.c | 12 +
hw/i386/smbios.c | 129 +++
include/hw/i386/smbios.h | 1 +
qemu-options.hx | 8 ++-
4 files changed, 128 insertions(+), 22 deletions(-)
diff --git a/hw/i386/pc.
Am 19.11.2013 19:26, schrieb Don Koch:
> Prevent a call to put_kbd if null.
>
> On shutdown of some OSes, the keyboard handler goes away before the
> system is down. If a key is typed during this window, qemu crashes.
>
> Signed-off-by: Don Koch
> ---
> I left the printf call, originally for testi
On 11/19/2013 02:17 PM, Stefan Weil wrote:
> Am 19.11.2013 19:26, schrieb Don Koch:
>> Prevent a call to put_kbd if null.
>>
>> On shutdown of some OSes, the keyboard handler goes away before the
>> system is down. If a key is typed during this window, qemu crashes.
>>
>> Signed-off-by: Don Koch
>
On 11/06/2013 09:39 AM, Corey Bryant wrote:
This patch provides a software TPM backend implementation. The
core software TPM functionality is provided by the libtpms
library. With this patch, multiple guests can run with their
own emulated TPMs.
The libtpms repository can be found at:
https://g
On Wed, Nov 6, 2013 at 6:38 AM, Corey Bryant wrote:
> This patch series provides support for a software Trusted Platform
> Module (otherwise known as a vTPM). This support is provided via a
> new backend that works with the existing QEMU tpm-tis front end.
We do device emulation within QEMU. Th
I find myself with a use case where I would like to set
a CPU object property from the board model init function
(specifically, I'd like the board model to be able to say
"this CPU will boot via PSCI so if you're KVM then start
it appropriately").
I could just reach in and fiddle with the ARMCPU f
Prevent a call to put_kbd if null.
On shutdown of some OSes, the keyboard handler goes away before the
system is down. If a key is typed during this window, qemu crashes.
Signed-off-by: Don Koch
---
v2: punt printf()
ui/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
On 19 November 2013 20:01, Peter Maydell wrote:
> I find myself with a use case where I would like to set
> a CPU object property from the board model init function
> (specifically, I'd like the board model to be able to say
> "this CPU will boot via PSCI so if you're KVM then start
> it appropria
On Tue, 19 Nov 2013 20:01:28 +
Peter Maydell wrote:
> I find myself with a use case where I would like to set
> a CPU object property from the board model init function
> (specifically, I'd like the board model to be able to say
> "this CPU will boot via PSCI so if you're KVM then start
> it
On 2013-09-27 02:48:17 +0200, Alexander Graf wrote:
> This patch adds support for the AdvSIMD modified immediate group with
> all its suboperations (movi, orr, fmov, mvni, bic).
>
> Signed-off-by: Alexander Graf
> ---
> target-arm/translate-a64.c | 129
>
On 2013-09-27 02:48:44 +0200, Alexander Graf wrote:
> This patch adds emulation for the instruction group labeled
> "Floating-point <-> fixed-point conversions" in the ARM ARM.
>
> Namely this includes the instructions SCVTF, UCVTF, FCVTZS, FCVTZU
> (scalar, fixed-point).
>
> Signed-off-by: Alexa
On 11/17/2013 07:18 AM, Max Reitz wrote:
> Any goto fail between having read nb_snapshots (returning a non-zero
> value) and allocating s->snapshots (through qcow2_read_snapshots())
> results in qcow2_free_snapshots() being called, dereferencing
> s->snapshots which is still NULL.
>
> Fix this by
On 11/17/2013 07:18 AM, Max Reitz wrote:
> Make sure the refcount table size will not overflow when multiplied by
> sizeof(uint64_t) and implicitly casted to int.
s/casted/cast/
>
> Signed-off-by: Max Reitz
> ---
> block/qcow2-refcount.c | 4
> 1 file changed, 4 insertions(+)
Reviewed-by
On 11/17/2013 07:18 AM, Max Reitz wrote:
> Make sure there were no overflows when calculating the in-memory
> refcount table size from the number of its clusters in-file.
>
> Signed-off-by: Max Reitz
> ---
> block/qcow2.c | 8
> 1 file changed, 8 insertions(+)
Reviewed-by: Eric Blake
On 11/17/2013 07:18 AM, Max Reitz wrote:
> The len variable is a signed integer, therefore it may overflow when
> reading the backing file name length from the qcow2 image header. This
> case should be handled explicitly.
>
> Signed-off-by: Max Reitz
> ---
> block/qcow2.c | 5 +
> 1 file cha
On Tue, Nov 19, 2013 at 01:31:39PM +0100, Laszlo Ersek wrote:
> On 11/19/13 09:54, Gerd Hoffmann wrote:
> > Hi,
> >
> >> ACPI PciWindow32: Base=0xA000 End=0xFEEF Length=0x5EF0
> >
> >> begin32=c000 end32=fec0 begin64=0 end64=0
> >
> > qemu & seabios pick a 32bit window siz
On Tue, Nov 19, 2013 at 01:31:39PM +0100, Laszlo Ersek wrote:
> On 11/19/13 09:54, Gerd Hoffmann wrote:
> > Hi,
> >
> >> ACPI PciWindow32: Base=0xA000 End=0xFEEF Length=0x5EF0
> >
> >> begin32=c000 end32=fec0 begin64=0 end64=0
> >
> > qemu & seabios pick a 32bit window siz
On 11/19/2013 02:50 PM, Anthony Liguori wrote:
On Wed, Nov 6, 2013 at 6:38 AM, Corey Bryant wrote:
This patch series provides support for a software Trusted Platform
Module (otherwise known as a vTPM). This support is provided via a
new backend that works with the existing QEMU tpm-tis front
On 11/19/13 22:13, Michael S. Tsirkin wrote:
> On Tue, Nov 19, 2013 at 01:31:39PM +0100, Laszlo Ersek wrote:
>> On 11/19/13 09:54, Gerd Hoffmann wrote:
>>> Hi,
>>>
ACPI PciWindow32: Base=0xA000 End=0xFEEF Length=0x5EF0
>>>
begin32=c000 end32=fec0 begin64=0 end64=
On Tue, Nov 19, 2013 at 10:39:06PM +0100, Laszlo Ersek wrote:
> On 11/19/13 22:13, Michael S. Tsirkin wrote:
> > On Tue, Nov 19, 2013 at 01:31:39PM +0100, Laszlo Ersek wrote:
> >> On 11/19/13 09:54, Gerd Hoffmann wrote:
> >>> Hi,
> >>>
> ACPI PciWindow32: Base=0xA000 End=0xFEEF Len
I recently found out that without kvm enabled, and especially
with -smp 2 or greater, qemu becomes incredibly slow
(to the point that you can see kernel messages in the
quest print one character at a time).
This happens with a Linux host (even with -smp 1)
and with FreeBSD host (in this case -smp
On Tue, Nov 19, 2013 at 1:32 PM, Corey Bryant wrote:
>
> On 11/19/2013 02:50 PM, Anthony Liguori wrote:
>>
>> On Wed, Nov 6, 2013 at 6:38 AM, Corey Bryant
>> wrote:
>>>
>>> This patch series provides support for a software Trusted Platform
>>> Module (otherwise known as a vTPM). This support is
ping
http://patchwork.ozlabs.org/patch/287211/
http://patchwork.ozlabs.org/patch/287213/
From: Petar Jovanovic
Sent: Tuesday, November 12, 2013 4:40 PM
To: qemu-devel@nongnu.org; riku.voi...@linaro.org
Cc: Petar Jovanovic; peter.mayd...@linaro.org; aurel...
Hello!
These patches adds support for providing SMBIOS "Onboard Devices Extended
Information" fields to the guest i386/x86_64 system. This could be used in
conjunction with biosdevname to provide "consistent network device naming"
inside VM.
I will also send corresponding patches to seab...@se
Signed-off-by: Ivan Mironov
---
hw/i386/smbios.c | 219 ++-
include/hw/i386/smbios.h | 11 +++
qemu-options.hx | 42 -
3 files changed, 268 insertions(+), 4 deletions(-)
diff --git a/hw/i386/smbios.c b/hw/i386/smbios.c
index
Signed-off-by: Ivan Mironov
---
hw/i386/pc.c | 12 +
hw/i386/smbios.c | 129 +++
include/hw/i386/smbios.h | 1 +
qemu-options.hx | 8 ++-
4 files changed, 128 insertions(+), 22 deletions(-)
diff --git a/hw/i386/pc.
> -Original Message-
> From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo
> Bonzini
> Sent: Tuesday, November 19, 2013 1:14 AM
> To: Jiang, Yunhong
> Cc: qemu-devel@nongnu.org; da...@gibson.dropbear.id.au;
> eduard.munte...@linux360.ro
> Subject: Re: Are there any IOM
Currently 64-bit PCI BARs are unconditionally mapped by BIOS right
over 4G + RamSizeOver4G location, which doesn't allow to reserve
extra space before 64-bit PCI window. For memory hotplug an extra
RAM space might be reserved after present 64-bit RAM end and BIOS
should map 64-bit PCI BARs after it
On Wed, 20 Nov 2013 01:08:33 +0100
Igor Mammedov wrote:
Sorry for noise, patch doesn't apply on top of current master.
I'll resubmit rebased v5.
--
Regards,
Igor
Currently 64-bit PCI BARs are unconditionally mapped by BIOS right
over 4G + RamSizeOver4G location, which doesn't allow to reserve
extra space before 64-bit PCI window. For memory hotplug an extra
RAM space might be reserved after present 64-bit RAM end and BIOS
should map 64-bit PCI BARs after it
On 11/19/2013 11:40 PM, Tom Musta wrote:
> +/* NOTE: in order to get accurate results, we must first round back */
> \
> +/* to single precision and use the fused multiply add routine */
> \
> +/* for 32-bit floats. */
> \
Thomas Huth writes:
> On Thu, 17 Oct 2013 14:23:35 +1030
> Rusty Russell wrote:
>
>> This is a re-transmit of the core of the virtio endian code. Since
>> there seems to be some interest in ARM BE virtio, I've separated this from
>> the direct problem I was solving: PowerPC LE.
>>
>> Please app
On 2013年11月19日 23:31, Stefan Hajnoczi wrote:
On Mon, Nov 18, 2013 at 03:01:47PM +0800, Fam Zheng wrote:
This adds "remove_break" command to block, which removes a break point defined
with "break". It is used in iotests.py to pause and resume drive in block job
cases to make the test deterministi
Pause the drive and start the block job, so we won't miss the block job.
Signed-off-by: Fam Zheng
---
tests/qemu-iotests/030 | 16 +++-
tests/qemu-iotests/040 | 4 +++-
tests/qemu-iotests/055 | 14 +++---
3 files changed, 25 insertions(+), 9 deletions(-)
diff --git a/tests/
This adds "remove_break" command to block, which removes a break point defined
with "break". It is used in iotests.py to pause and resume drive in block job
cases to make the test deterministic.
v6: [04] Fix 055 race condition by keeping sleep after resume_drive. (Stefan)
v5: Addressing Max's com
iotests.py already has one.
Signed-off-by: Fam Zheng
---
tests/qemu-iotests/040 | 15 ---
1 file changed, 15 deletions(-)
diff --git a/tests/qemu-iotests/040 b/tests/qemu-iotests/040
index a2e18c5..0e85136 100755
--- a/tests/qemu-iotests/040
+++ b/tests/qemu-iotests/040
@@ -39,21 +3
They wrap blkdebug "break" and "remove_break".
Add optional argument "resume" to cancel_and_wait().
Signed-off-by: Fam Zheng
---
tests/qemu-iotests/iotests.py | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotest
This adds "remove_break" command which is the reverse of blkdebug
command "break": it removes all breakpoints with given tag and resumes
all the requests.
Signed-off-by: Fam Zheng
---
block.c | 13 +
block/blkdebug.c | 27 +++
includ
Peter - is this series acceptable? I have reviewed the patches based
on our conversation at Connect, and patch 3 already handles returning
the status
based on device width as we discussed. If device and bank width are
different, it repeats the status based on device width. Otherwise, if
both wid
The second patch is too large as a mail, you can pull from:
https://github.com/famz/qemu.git 035-filter-qemu-io
v2: Rebase to current master.
[01] Add Reviewed-by for Eric.
[02] Update comment to describe the command for mechanical substitution.
(Eric)
Fam Zheng (2):
qemu-iotests:
This removes "qemu-io> " prompt from qemu-io output in _filter_qemu_io,
and updates all the output files with the following command:
cd tests/qemu-iotests && sed -i "s/qemu-io> //g" *.out
Signed-off-by: Fam Zheng
---
This patch is snipped because the size would be rejected by list. See cover
Signed-off-by: Fam Zheng
Reviewed-by: Eric Blake
---
tests/qemu-iotests/025 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/025 b/tests/qemu-iotests/025
index a7241cc..9426c93 100755
--- a/tests/qemu-iotests/025
+++ b/tests/qemu-iotests/025
@@ -56,7 +56,7 @
On Thu, Oct 17, 2013 at 01:36:41PM +0800, Fam Zheng wrote:
> This series adds for point-in-time snapshot NBD exporting based on
> blockdev-backup (variant of drive-backup with existing device as target).
In general this seems to work great. I did a bunch of testing and was
able to mount filesyste
On 11/19/2013 07:25 PM, Fam Zheng wrote:
> This removes "qemu-io> " prompt from qemu-io output in _filter_qemu_io,
> and updates all the output files with the following command:
>
> cd tests/qemu-iotests && sed -i "s/qemu-io> //g" *.out
>
> Signed-off-by: Fam Zheng
> ---
>
> This patch is snip
On Tue, Nov 19, 2013 at 6:11 PM, Gerd Hoffmann wrote:
> Hi,
>
>> So I felt I had a choice here for sharing a single output surface
>> amongst outputs:
>>
>> a) have multiple QemuConsole reference multiple DisplaySurface wihch
>> reference a single pixman image,
>
> This one.
>
>> In either case
On Nov 19, 2013, at 9:59 PM, Dave Airlie wrote:
> On Tue, Nov 19, 2013 at 6:11 PM, Gerd Hoffmann wrote:
>> Hi,
>>
>>> So I felt I had a choice here for sharing a single output surface
>>> amongst outputs:
>>>
>>> a) have multiple QemuConsole reference multiple DisplaySurface wihch
>>> refer
>> Have a look the virtio-gpu branch in my repo (don't look at the
>> history, its ugly, just the final state), you'll see code in sdl2.c to
>> do input translation from window coordinates to the overall screen
>> space. So we need at least the x,y offset in the ui code, and I think
>> we need to c
On Wed, Nov 20, 2013 at 3:17 PM, Dave Airlie wrote:
>>> Have a look the virtio-gpu branch in my repo (don't look at the
>>> history, its ugly, just the final state), you'll see code in sdl2.c to
>>> do input translation from window coordinates to the overall screen
>>> space. So we need at least t
Hi Paolo and Stefan,
I am really sorry for my email before that I didn't say clearly about the bug
fix.
f->bytes_xfer means the number of bytes which is send from source to
destination during the migration. It is limited by the f->xfer_limit which is
converted from bandwidth. That means if byt
This adds a put_tce() callback to the SPAPR TCE TABLE device class.
The new callback allows to have different IOMMU types such as upcoming
VFIO IOMMU and it will be used more by the upcoming Multi-TCE support.
This reworks the H_PUT_TCE handler to make use of the new put_tce()
callback.
Signed-of
From: Dave Airlie
These are to be used for the UI to signal the video display,
and vice-versa about changes in the state of a console, like
size and offsets in relation to other consoles for input handling.
Signed-off-by: Dave Airlie
---
include/ui/console.h | 8 +++-
ui/console.c
Hey,
I thought I should post this for a bit more feedback and show where
I've gone so far,
all available in git
http://cgit.freedesktop.org/~airlied/qemu/log/?h=virtio-gpu
The first patch is the sdl2 port with some minor changes I posted
before, then there are a bunch of console changes that I t
From: Dave Airlie
In order to implement virtio-vga on top of virtio-gpu we need
to be able to wrap the first console virtio-gpu registers from
inside virtio-vga which initialises after virtio-gpu. With this
interface virtio-vga can store the virtio-gpu interfaces, and
call them from its own ones.
From: Dave Airlie
I've ported the SDL1.2 code over, and rewritten it to use the SDL2 interface.
The biggest changes were in the input handling, where SDL2 has done a major
overhaul, and I've had to include a generated translation file to get from
SDL2 codes back to qemu compatible ones. I'm stil
101 - 200 of 221 matches
Mail list logo