On 23.02.2015 11:18, Markus Armbruster wrote:
Alan Latteri a...@instinctual.tv writes:
The left padding is important and necessary to keep for my particular
application. This is broken in libvirt, but works fine with direct
Qemu invocation.
Thank you for the help.
Please file a bug
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
tests/Makefile | 3 +++
tests/display-vga-test.c | 18 ++
2 files changed, 21 insertions(+)
diff --git a/tests/Makefile b/tests/Makefile
index d5df168..8c169b2 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -131,6
Hi,
After a lng break, here is the next version of virtio-gpu patches.
It is the first batch, with the 2d bits, virgl (3d/opengl) support will
follow later on.
The dust of the virtio-1.0 merge has mostly settled, even though not
all virtio-1.0 bits are upstream yet (main reason why this is
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/virtio/virtio-pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
index 6c0c650..cd7c777 100644
--- a/hw/virtio/virtio-pci.c
+++ b/hw/virtio/virtio-pci.c
@@ -975,7 +975,7 @@
[root@fedora ~]# bin/lspci -vvs2
00:02.0 VGA compatible controller: Red Hat, Inc Device 1050 (rev 01)
(prog-if 00 [VGA controller])
Subsystem: Red Hat, Inc Device 1100
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B- DisINTx+
Newer libvirt versions start looking up VGA in the QOM tree.
So tricking libvirt this way ...
qemu:arg value='-set'/
qemu:arg value='device.video0.driver=virtio-vga'/
... to test virtio-vga stopped working.
Lets rename VGA to stdvga and virtio-vga to VGA to get things going
again. A
This patch adds the core code for virtio gpu emulation,
covering 2d support.
Written by Dave Airlie and Gerd Hoffmann.
Signed-off-by: Dave Airlie airl...@redhat.com
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/display/Makefile.objs | 2 +
hw/display/virtio-gpu.c| 903
This patch adds the header file with structs and defines for
the virtio based gpu device. Covers 2d operations only.
Written by Dave Airlie and Gerd Hoffmann.
Signed-off-by: Dave Airlie airl...@redhat.com
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
include/hw/virtio/virtgpu_hw.h | 203
On Wed, Feb 18, 2015 at 11:29:58AM -, Ugo wrote:
I'm using QEMU for Windows last version.
The host system is Windows 7 64bits.
I'm excuting the following statment :
qemu-system-x86_64w.exe -hda debian.img -m 256 -net nic -net
tap,ifname=TAP32 -soundhw all -serial COM9
Qemu starts the
Add msix_bar and modern_mem_bar fields to VirtIOPCIProxy. They can be
used to configure which pci regions are used for the virtio 1.0 memory
bar and the msix bar.
For legacy/transitional devices the legacy bar is region 0 and the msix
bar is region 1. Only the modern bar can be configured, and
This patch adds a virtio-vga device. It is simliar to virtio-gpu-pci,
but it also adds in vga compatibility, so guests without native
virtio-gpu support can drive the device in vga mode.
Written by Dave Airlie and Gerd Hoffmann.
Signed-off-by: Dave Airlie airl...@redhat.com
Signed-off-by: Gerd
Add seavgabios configuration for virtio-vga,
hook up the new vgabios in the makefiles.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
Makefile | 2 +-
roms/Makefile | 2 +-
roms/config.vga-virtio | 6 ++
3 files changed, 8 insertions(+), 2 deletions(-)
create mode
Am 11.02.2015 um 04:51 hat Shailesh Kumar geschrieben:
Hi,
I am implementing read equivalent routine in qemu. Can some one
help me understand control flow of the qemu read/write
implementation.
I am using xen-4.2.0 and qemu-1.6.1
My requirement is simple:
I have a 1024*1024
Alan Latteri a...@instinctual.tv writes:
The left padding is important and necessary to keep for my particular
application. This is broken in libvirt, but works fine with direct
Qemu invocation.
Thank you for the help.
Please file a bug against libvirt, so this gets fixed.
On Thu, Feb 19, 2015 at 05:48:03PM -, Pierre Schweitzer wrote:
Thanks Max Stefan.
Could you please let me know when the commit makes it to the QEMU
repository? And give me its commit ID?
So that I can ask for a bugfix backport in Trusty.
Hi Pierre,
In case I forget, please follow
On Thu, Feb 19, 2015 at 09:37:46PM +0100, Radim Krčmář wrote:
2015-02-19 20:24+0100, Radim Krčmář:
diff --git a/hw/net/e1000.c b/hw/net/e1000.c
@@ -138,6 +138,10 @@ typedef struct E1000State_st {
+#define E1000_WIN8_WORKAROUND_ICR E1000_ICR_RXT0
+#define
Am 23.02.2015 um 09:10 hat Markus Armbruster geschrieben:
Perhaps Fam (cc'ed) can help you.
Sunil Kumar internet_every...@yahoo.com writes:
[...]
Hi,
I ran into an issue where the OVA created from the VMDK file created
by qemu-img is rejected by vSphere with a message like Not a
* Stefan Hajnoczi (stefa...@gmail.com) wrote:
On Thu, Feb 19, 2015 at 11:40:26AM +, Dr. David Alan Gilbert (git) wrote:
From: Dr. David Alan Gilbert dgilb...@redhat.com
This patchset provides a way of setting options on an incoming
migration before the fd/process/socket has been
This adds a helper to get closest bigger power-of-two value.
Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru
---
Changes:
v2:
* s/up_pow_of_two/pow2ceil/
---
include/qemu-common.h | 2 ++
util/cutils.c | 9 +
2 files changed, 11 insertions(+)
diff --git
On Fri, Feb 20, 2015 at 03:38:04PM -0700, Eric Blake wrote:
+if (has_top) {
+top_bs = bdrv_find_backing_image(bs, top);
+if (top_bs == NULL) {
+error_set(errp, QERR_TOP_NOT_FOUND, top);
+goto out;
+}
If I understand correctly,
One of the really nice things about the VM description format is that it goes
over the wire when live migration is happening. Unfortunately QEMU today closes
any socket once it sees VM_EOF coming, so we never give the VMDESC the chance to
actually land on the wire.
This patch makes QEMU read the
On Mon, Feb 23, 2015 at 11:57 AM, Kevin Wolf kw...@redhat.com wrote:
Am 23.02.2015 um 09:10 hat Markus Armbruster geschrieben:
Perhaps Fam (cc'ed) can help you.
Sunil Kumar internet_every...@yahoo.com writes:
[...]
Hi,
I ran into an issue where the OVA created from the VMDK file
*pnum can't be greater than s-block_size / BDRV_SECTOR_SIZE for allocated
sectors since there is always a bitmap in between.
Signed-off-by: Peter Lieven p...@kamp.de
---
block/vpc.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/block/vpc.c b/block/vpc.c
Am 23.02.2015 um 13:23 hat Alberto Garcia geschrieben:
On Fri, Feb 20, 2015 at 03:38:04PM -0700, Eric Blake wrote:
+if (has_top) {
+top_bs = bdrv_find_backing_image(bs, top);
+if (top_bs == NULL) {
+error_set(errp, QERR_TOP_NOT_FOUND, top);
+
Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com
---
migration/qemu-file-buf.c | 4
1 file changed, 4 insertions(+)
diff --git a/migration/qemu-file-buf.c b/migration/qemu-file-buf.c
index e97e0bd..e56a8ad 100644
--- a/migration/qemu-file-buf.c
+++ b/migration/qemu-file-buf.c
@@
Provide the TIS 1.3 capability flags.
The interface now looks like a TIS 1.3 interface. It's fully
compatible with previous TIS 1.2 and drivers written for
TIS 1.2 continue to work.
Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com
---
hw/tpm/tpm_tis.c | 9 -
1 file changed, 8
Improve the access to the registers with 32 and 16 bit reads and writes.
Also enable access to a non-base register address, such as reads of the
2nd byte of a register. Map the FIFO byte access to any byte within
its 4 byte register (following specs).
Signed-off-by: Stefan Berger
Support for the XFIFO register (range) of the TIS 1.3 specification.
We support a range of 64 bytes.
Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com
---
hw/tpm/tpm_tis.c | 4
1 file changed, 4 insertions(+)
diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c
index 6170693..a37c7ce
From: Scott Feldman sfel...@gmail.com
Signed-off-by: Scott Feldman sfel...@gmail.com
Signed-off-by: Jiri Pirko j...@resnulli.us
Message-id: 1424123271-7656-5-git-send-email-sfel...@gmail.com
Signed-off-by: Stefan Hajnoczi stefa...@redhat.com
---
docs/specs/pci-ids.txt | 1 +
include/hw/pci/pci.h
From: Scott Feldman sfel...@gmail.com
We can use this in virtio-net code as well as new Rocker driver code, so
up-level this.
Signed-off-by: Scott Feldman sfel...@gmail.com
Reviewed-by: Eric Blake ebl...@redhat.com
Message-id: 1424123271-7656-2-git-send-email-sfel...@gmail.com
Signed-off-by:
Am 23.02.2015 um 13:56 schrieb Christian Borntraeger:
Am 20.02.2015 um 16:22 schrieb Alexander Graf:
Am 20.02.2015 um 16:00 schrieb Michael Mueller m...@linux.vnet.ibm.com:
On Fri, 20 Feb 2015 14:54:23 +0100
Alexander Graf ag...@suse.de wrote:
+/* machine related properties */
+typedef
2015-02-23 10:45+, Stefan Hajnoczi:
On Thu, Feb 19, 2015 at 09:37:46PM +0100, Radim Krčmář wrote:
2015-02-19 20:24+0100, Radim Krčmář:
diff --git a/hw/net/e1000.c b/hw/net/e1000.c
@@ -138,6 +138,10 @@ typedef struct E1000State_st {
+#define E1000_WIN8_WORKAROUND_ICR
From: Frediano Ziglio fredd...@gmail.com
Test behaviour of timers and interrupts related to timeouts.
Signed-off-by: Frediano Ziglio fredd...@gmail.com
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Message-id: 1420742303-3030-1-git-send-email-fredd...@gmail.com
Signed-off-by: Stefan Hajnoczi
Alexey Kardashevskiy a...@ozlabs.ru writes:
This adds a helper to get closest bigger power-of-two value.
Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru
---
Changes:
v2:
* s/up_pow_of_two/pow2ceil/
---
include/qemu-common.h | 2 ++
util/cutils.c | 9 +
2 files
Extend the backend to check whether the TPM_ContinueSelfTest
finished successfully and provide a flag to the TIS front-end
if it successfully finished. The TIS then sets a flag in
all localities in the STS register and keeps it until the next
reset.
Signed-off-by: Stefan Berger
More recent TIS specs extend the STS register to 32 bit. While
we don't store the TIS interface state, yet, we can extend it
without sideeffects.
Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com
---
hw/tpm/tpm_tis.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
On Mon, Feb 23, 2015 at 1:45 PM, Radim Krčmář rkrc...@redhat.com wrote:
2015-02-23 10:45+, Stefan Hajnoczi:
On Thu, Feb 19, 2015 at 09:37:46PM +0100, Radim Krčmář wrote:
2015-02-19 20:24+0100, Radim Krčmář:
diff --git a/hw/net/e1000.c b/hw/net/e1000.c
@@ -138,6 +138,10 @@ typedef
No new features yet, just encapsulation.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
hw/arm/integratorcp.c | 35 +++
1 file changed, 27 insertions(+), 8 deletions(-)
diff --git a/hw/arm/integratorcp.c b/hw/arm/integratorcp.c
index 8c48b68..2d62275 100644
This allows to use the SD card emulation of the board: Forward the
signals from the pl181 top the CP control register emulation, report the
current state via CP_INTREG, deliver CARDIN IRQ to the secondary
interrupt controller and also support clearing that line via CP_INTREG.
Signed-off-by: Jan
Am 20.02.2015 um 16:22 schrieb Alexander Graf:
Am 20.02.2015 um 16:00 schrieb Michael Mueller m...@linux.vnet.ibm.com:
On Fri, 20 Feb 2015 14:54:23 +0100
Alexander Graf ag...@suse.de wrote:
+/* machine related properties */
+typedef struct S390CPUMachineProps {
+uint16_t class;
the field is named current size in the spec. Name it accordingly.
Signed-off-by: Peter Lieven p...@kamp.de
---
block/vpc.c |9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/block/vpc.c b/block/vpc.c
index 9c5301b..a9d2b62 100644
--- a/block/vpc.c
+++ b/block/vpc.c
From: Kevin Wolf kw...@redhat.com
The CHS calculation as done per the VHD spec imposes a maximum image
size of ~127 GB. Real VHD images exist that are larger than that.
Apparently there are two separate non-standard ways to achieve this:
You could use more heads than the spec does - this is the
This series covers VPC format changes discussed during the last weeks.
Peter
Kevin Wolf (1):
vpc: Ignore geometry for large images
Peter Lieven (4):
block/vpc: optimize vpc_co_get_block_status
block/vpc: simplify vpc_read
block/vpc: make calculate_geometry spec conform
block/vpc:
From: Scott Feldman sfel...@gmail.com
Signed-off-by: Scott Feldman sfel...@gmail.com
Signed-off-by: Jiri Pirko j...@resnulli.us
Message-id: 1424123271-7656-10-git-send-email-sfel...@gmail.com
Signed-off-by: Stefan Hajnoczi stefa...@redhat.com
---
MAINTAINERS | 6 ++
1 file changed, 6
The following changes since commit cd2d5541271f1934345d8ca42f5fafff1744eee7:
Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20150212' into
staging (2015-02-13 11:44:50 +)
are available in the git repository at:
git://github.com/stefanha/qemu.git tags/net-pull-request
for you
We now always send a JSON blob describing the migration file format as part
of the migration stream. However, some tools built around QEMU have proven
to stumble over this.
This patch gives the user the chance to disable said self-describing part of
the migration stream. To disable vmdesc
After the vmdesc self-describing JSON blob landed upstream, some people
noticed their self-written scripts around migration to fail.
This patch set aims at making the transition to the new VMDESC containing
migration format as smooth as possible for everyone involved.
Alexander Graf (3):
The VHD spec [1] allows for total_sectors of 65535 x 16 x 255 (~127GB)
represented by a CHS geometry. If total_sectors is greater
than 65535 x 16 x 255 this geometry is set as a maximum.
Qemu, Hyper-V, VirtualBox and disk2vhd use this special geometry as an
indicator to use the image current size
Signed-off-by: Peter Lieven p...@kamp.de
---
block/vpc.c | 116 +++
1 file changed, 52 insertions(+), 64 deletions(-)
diff --git a/block/vpc.c b/block/vpc.c
index 326c2bb..4e5ba85 100644
--- a/block/vpc.c
+++ b/block/vpc.c
@@ -497,40
Addressing Peter Crosthwaite's comments on v2 (thanks!).
Jan
Jan Kiszka (2):
integrator/cp: Model CP control registers as sysbus device
integrator/cp: Implement CARDIN and WPROT signals
hw/arm/integratorcp.c | 95 ---
1 file changed, 82
On 02/23/2015 07:54 PM, Peter Maydell wrote:
On 23 February 2015 at 16:49, Alexey Kardashevskiy a...@ozlabs.ru wrote:
This adds a helper to get closest bigger power-of-two value.
Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru
---
It is a log2 of round up to power of two. Is there anything
Older PC machine types might by accident be backwards live migration compatible,
but with the new vmdesc self-describing blob in our live migration stream we
would break that compatibility.
Also users wouldn't expect massive behaviorial differences when updating to a
new version of QEMU while
From: Scott Feldman sfel...@gmail.com
Add some basic test for rocker to test L2/L3/L4 functionality. Requires an
external test environment, simp, located here:
https://github.com/scottfeldman/simp
To run tests, simp environment must be installed and a suitable VM image built
and installed with
From: Scott Feldman sfel...@gmail.com
Rocker is an ethernet switch device, so add 'other' network device class as
defined by PCI to cover these types of devices.
Signed-off-by: Scott Feldman sfel...@gmail.com
Signed-off-by: Jiri Pirko j...@resnulli.us
Message-id:
On 23.02.15 08:36, Bharata B Rao wrote:
On Fri, Jan 30, 2015 at 01:19:39PM +0530, Bharata B Rao wrote:
On Thu, Jan 29, 2015 at 12:07:42PM +1100, David Gibson wrote:
On Thu, Jan 08, 2015 at 11:40:11AM +0530, Bharata B Rao wrote:
Move some CPU initialization code from machine init function to
VHD images contain a bitmap at the beginning of each data block
to indicate the allocation status of each sector in the data block.
vpc_read currently checks the allocation status of the first sector
in a data block it is going to read and then assumes the same allocation
status for the whole
On 20.02.15 20:36, Richard Henderson wrote:
On 02/20/2015 09:57 AM, Paolo Bonzini wrote:
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h
index 7a9980e..8ba977a 100644
--- a/tcg/i386/tcg-target.h
+++ b/tcg/i386/tcg-target.h
@@ -25,6 +25,7 @@
#define TCG_TARGET_I386 1
On 2015-02-20 at 18:07, John Snow wrote:
This adds four qmp commands to transactions.
Users can stop a dirty bitmap, start backup of it, and start another
dirty bitmap atomically, so that the dirty bitmap is tracked
incrementally and we don't miss any write.
For starting a new incremental
From: Scott Feldman sfel...@gmail.com
This is the register programming guide for the Rocker device. It's intended
for driver writers and device writers. It covers the device's PCI space,
the register set, DMA interface, and interrupts.
Signed-off-by: Scott Feldman sfel...@gmail.com
From: Paolo Bonzini pbonz...@redhat.com
Using net_host_check_device is unnecessary. qemu_del_net_client asserts
for the non-peer case that it can only process NIC type NetClientStates,
and that assertion is valid for the peered case as well, so move it and
use the same check in
From: Scott Feldman sfel...@gmail.com
Signed-off-by: Scott Feldman sfel...@gmail.com
Reviewed-by: Eric Blake ebl...@redhat.com
Message-id: 1424123271-7656-3-git-send-email-sfel...@gmail.com
Signed-off-by: Stefan Hajnoczi stefa...@redhat.com
---
hw/net/virtio-net.c | 12 +++-
1 file
From: David Ahern dsah...@gmail.com
Signed-off-by: David Ahern dsah...@gmail.com
Signed-off-by: Scott Feldman sfel...@gmail.com
Signed-off-by: Jiri Pirko j...@resnulli.us
Message-id: 1424123271-7656-11-git-send-email-sfel...@gmail.com
Signed-off-by: Stefan Hajnoczi stefa...@redhat.com
---
On Tue, Feb 10, 2015 at 01:19:28PM -0500, John Snow wrote:
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c
index 56a4867..5a1973f 100644
--- a/hw/ide/ahci.c
+++ b/hw/ide/ahci.c
@@ -1376,6 +1376,11 @@ static int ahci_state_post_load(void *opaque, int
version_id)
*/
if
2015-02-23 14:39+, Stefan Hajnoczi:
Since the typo breaks compilation, it shows that the patch was not
tested. That makes me nervous.
(It was based on a tested RHEL7 patch. Upstream allowed for better
code, so I didn't want to push the ugly, yet working, version.)
Honestly, I was hoping
From: Paolo Bonzini pbonz...@redhat.com
This patch begins refactoring the restart dma functions
out of bmdma to be shared with AHCI and other future
IDE HBA implementations.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: John Snow js...@redhat.com
---
hw/ide/pci.c | 30
From: Paolo Bonzini pbonz...@redhat.com
Whenever an error stops the VM, ide_handle_rw_error does
s-bus-dma-unit = s-unit. So we can just use
idebus_active_if.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: John Snow js...@redhat.com
---
hw/ide/pci.c | 6 +++---
1 file changed,
This series fixes rerror/werror support for IDE/ISA and implements it in
a migratable way for AHCI. This series also fixes AHCI migration.
This series was written mostly by Paolo to unify the restart mechanics
of IDE/ISA and IDE/BMDMA, moving much of the restart logic into common
code.
Many of
From: Paolo Bonzini pbonz...@redhat.com
With BMDMA specific excised from the restart functions,
create a HBA-agnostic restart callback to be shared
between the different HBAs.
Change the callback registered with the vmstate_change
handler to always point to ide_restart_cb instead of
relying on
On 02/23/2015 06:59 AM, Markus Armbruster wrote:
Alexey Kardashevskiy a...@ozlabs.ru writes:
This adds a helper to get closest bigger power-of-two value.
Here's how I'd do these functions:
int64_t pow2floor(int64_t value)
{
assert(value 0);
return 0x8000u
From: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: John Snow js...@redhat.com
---
hw/ide/core.c | 12
hw/ide/internal.h | 4
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/hw/ide/core.c b/hw/ide/core.c
From: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: John Snow js...@redhat.com
---
hw/ide/isa.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/ide/isa.c b/hw/ide/isa.c
index b084162..5eb35c2 100644
--- a/hw/ide/isa.c
Amazingly, we weren't doing this before.
Make sure we migrate the IDEState structure that belongs to
the AHCIDevice.IDEBus structure during migrations.
No version numbering changes because AHCI is not officially
migratable (and we can all see with good reason why) so we
do not impact any
On 02/23/2015 05:21 AM, Alexander Graf wrote:
I suppose Paolo is already off to the hospital ;). Richard, if I just
s/32/31/ in the hunk above, does that mean you ack the patch?
Yep.
r~
On 02/23/2015 10:07 AM, Radim Krčmář wrote:
2015-02-23 14:39+, Stefan Hajnoczi:
Since the typo breaks compilation, it shows that the patch was not
tested. That makes me nervous.
(It was based on a tested RHEL7 patch. Upstream allowed for better
code, so I didn't want to push the
From: Paolo Bonzini pbonz...@redhat.com
This only breaks backwards migration compatibility if the bus is in
an error state. It is in principle possible to avoid this by making
two subsections (one for version 1, and one for version 2, but with
the same name) with different _needed callbacks.
From: Paolo Bonzini pbonz...@redhat.com
Pass the containing IDEBus to the restart_cb instead
of the more specific BMDMAState child.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: John Snow js...@redhat.com
---
hw/ide/core.c | 2 +-
hw/ide/pci.c | 10 +-
2 files
This patch adds tests for werror and rerror functionality
for the PCI and ISA ide buses.
Tests for the AHCI device are to be included at a later
date after requisite patches have been merged upstream
to support needed functionality by the tests.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
When the AHCI HBA device is migrated, all of the information that
led to the request being created is stored in the AHCIDevice
structures, except for pointers into guest data where return
information needs to be stored.
The cur_cmd field is usually responsible for this.
To rebuild the cur_cmd
From: Paolo Bonzini pbonz...@redhat.com
Resetting the io_buffer_index to 0 is commonized,
with the exception of the case within ide_atapi_cmd_reply,
where we need to reset this index to 0 prior to the
ide_atapi_cmd_reply_end call.
Note that not all calls to ide_atapi_cmd_reply_end
expect the
From: Paolo Bonzini pbonz...@redhat.com
With restarts now handled by ide_restart_cb and
the IDEDMAOps.restart_dma() member, remove the old
restart_cb callback.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: John Snow js...@redhat.com
---
hw/ide/ahci.c | 5 -
From: Paolo Bonzini pbonz...@redhat.com
This is easy, since start_dma already restarts processing from the
beginning of the PRDT.
Migration is also easy to cover; the comment about busy_slot is
wrong, busy_slot will only be set if there is an error. In this
case we have nothing to do really.
* Michael S. Tsirkin (m...@redhat.com) wrote:
On Thu, Feb 19, 2015 at 11:40:26AM +, Dr. David Alan Gilbert (git) wrote:
From: Dr. David Alan Gilbert dgilb...@redhat.com
This patchset provides a way of setting options on an incoming
migration before the fd/process/socket has been
From: Michael S. Tsirkin m...@redhat.com
It's not easy to figure out how monitor translates
strings: most QEMU code deals with translated indexes,
these are translated using _lookup arrays,
so you need to find the array name, and find the
appropriate offset.
This patch adds C99 indexes to lookup
From: Paolo Bonzini pbonz...@redhat.com
Start moving the initial state of the current request to IDEBus, so that
AHCI can use it. The set_unit callback is not used anymore once this is
done.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: John Snow js...@redhat.com
---
From: Paolo Bonzini pbonz...@redhat.com
This patch adds the restart_dma callback and adjusts
the ide_restart_dma function to utilize this callback
to call the BMDMA-specific restart code instead of statically
executing BMDMA-specific code.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
From: Paolo Bonzini pbonz...@redhat.com
This moves more common restarting logic to the core IDE code.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: John Snow js...@redhat.com
---
hw/ide/core.c | 6 ++
hw/ide/internal.h | 2 ++
hw/ide/pci.c | 15 ++-
From: Paolo Bonzini pbonz...@redhat.com
A helper is added that registers the IDEDMAOp .restart_cb()
via qemu_add_vm_change_state_handler instead of requiring
each HBA to register the callback themselves.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: John Snow js...@redhat.com
Modern bar is made prefetchable. In case it is configured to use one of
the bars 0, 2, or 4 (which by default is the case) it is also configured
as 64bit region.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/virtio/virtio-pci.c | 12 +---
1 file changed, 9 insertions(+), 3
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
hw/display/virtio-gpu-pci.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/hw/display/virtio-gpu-pci.c b/hw/display/virtio-gpu-pci.c
index 77c5e06..791ee8b 100644
--- a/hw/display/virtio-gpu-pci.c
+++
Some convinience fluff: Add support for '-vga virtio', also add
virtio-vga to the list of vga cards so '-device virtio-vga' will
turn off the default vga.
Written by Dave Airlie and Gerd Hoffmann.
Signed-off-by: Dave Airlie airl...@redhat.com
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
This patch adds virtio-gpu-pci, which is the pci proxy for the virtio
gpu device. With this patch in place virtio-gpu is functional. You
need a linux guest with a virtio-gpu driver though, and output will
appear pretty late in boot, once the kernel initialized drm and fbcon.
Written by Dave
Add prebuilt vgabios-virtio.bin binary.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
pc-bios/vgabios-virtio.bin | Bin 0 - 37376 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 pc-bios/vgabios-virtio.bin
diff --git a/pc-bios/vgabios-virtio.bin
On Mon, Feb 16, 2015 at 01:47:41PM -0800, sfel...@gmail.com wrote:
v7:
- Per Stefan Hajnoczi comments:
- #ifdef CONFIG_ROCKER wrapper around qmp/hmp to fix compile when PCI is
disabled or rocker is disabled.
Thanks, applied patches except the QMP patch to my net tree:
Add VIRTIO_PCI_FLAG_DISABLE_LEGACY and VIRTIO_PCI_FLAG_DISABLE_MODERN
for VirtIOPCIProxy-flags. Also add properties for them. They can be
used to disable modern (virtio 1.0) or legacy (virtio 0.9) modes. By
default both are advertized and the guest driver can choose.
Signed-off-by: Gerd
On Thu, Feb 19, 2015 at 11:40:26AM +, Dr. David Alan Gilbert (git) wrote:
From: Dr. David Alan Gilbert dgilb...@redhat.com
This patchset provides a way of setting options on an incoming
migration before the fd/process/socket has been created.
start qemu with -incoming defer
On (Mon) 12 Jan 2015 [01:12:41], Yi Wang wrote:
From b119164ba6715f53594facfc4d1022c198852e9d Mon Sep 17 00:00:00 2001
From: Yi Wang up2w...@gmail.com
Date: Mon, 12 Jan 2015 00:05:40 +0800
Subject: [PATCH] savevm: create snapshot failed when id_str already exits
Create snapshot failed in
On 2015-02-11 at 22:07, Wen Congyang wrote:
Signed-off-by: Wen Congyang we...@cn.fujitsu.com
Signed-off-by: zhanghailiang zhang.zhanghaili...@huawei.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
block/quorum.c | 69 ++
1 file
On 02/23/2015 01:27 PM, Alberto Garcia wrote:
Signed-off-by: Alberto Garcia be...@igalia.com
---
qmp-commands.hx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
@@ -2922,7 +2922,7 @@ Channels are described by a json-object, each one
contain the following:
- channel-id:
On 2015-02-11 at 22:07, Wen Congyang wrote:
The secondary qemu starts later than the primary qemu, so we
cannot connect to nbd server in bdrv_open().
Signed-off-by: Wen Congyang we...@cn.fujitsu.com
Signed-off-by: zhanghailiang zhang.zhanghaili...@huawei.com
Signed-off-by: Gonglei
On 2015-02-11 at 22:07, Wen Congyang wrote:
We connect to NBD server when starting block replication, so
the length is 0 before starting block replication.
Signed-off-by: Wen Congyang we...@cn.fujitsu.com
Signed-off-by: zhanghailiang zhang.zhanghaili...@huawei.com
Signed-off-by: Gonglei
1 - 100 of 197 matches
Mail list logo