On 15 February 2015 at 03:02, David Gibson da...@gibson.dropbear.id.au wrote:
Godammit. Have I mentioned lately how much it pisses me off that we
have various config symbols and it's never clear which ones make it
into C and which are only in make.
That does seem confusing. Is there a reason
Drop duplicated code. Minor codechanges were required
as geometry is a sub-structure now.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
include/hw/virtio/virtio-blk.h | 77 +-
hw/block/virtio-blk.c | 8 ++---
2 files changed, 5
On Sun, Feb 15, 2015 at 11:41:03AM +, Peter Maydell wrote:
On 15 February 2015 at 11:38, Michael S. Tsirkin m...@redhat.com wrote:
This reuses virtio headers from files exported by linux.
The current situation is quite messy: for example we
have multiple copies of the virtio net packet
On 15 February 2015 at 11:38, Michael S. Tsirkin m...@redhat.com wrote:
This reuses virtio headers from files exported by linux.
The current situation is quite messy: for example we
have multiple copies of the virtio net packet structure,
and the virtio ring structure.
We already use some of
Drop duplicated macros in favor of values from
standard headers.
Warning: untested.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
hw/s390x/s390-virtio-bus.h | 36 +++-
hw/s390x/s390-virtio.h | 7 ++-
2 files changed, 21 insertions(+), 22
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
include/standard-headers/asm-s390/kvm_virtio.h | 64 ++
include/standard-headers/asm-s390/virtio-ccw.h | 21 +
2 files changed, 85 insertions(+)
create mode 100644 include/standard-headers/asm-s390/kvm_virtio.h
Drop the linux-specific virtio headers, use the copy from
standard-headers instead.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
scripts/update-linux-headers.sh | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/scripts/update-linux-headers.sh
Switch to virtio_ring.h from standard headers.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
include/hw/virtio/dataplane/vring.h | 2 +-
include/hw/virtio/virtio_ring.h | 167
hw/net/vhost_net.c | 2 +-
3 files changed, 2
This reuses virtio headers from files exported by linux.
The current situation is quite messy: for example we
have multiple copies of the virtio net packet structure,
and the virtio ring structure.
We already use some of them for linux-specific code,
reusing more widely gets rid of code
Drop a bunch of code duplicated from virtio_config.h and virtio_ring.h.
This makes us rename event index accessors which conflict,
as reusing the ones from virtio_ring.h isn't trivial.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
hw/9pfs/virtio-9p.h| 1 +
It doesn't make sense to copy values manually:
the only issue with getting headers from linux
seems to be dealing with linux/types, we
can easily fix that automatically while importing.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
scripts/update-linux-headers.sh | 33
Drop duplicated code.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
linux-headers/linux/virtio_config.h | 58 +
linux-headers/linux/virtio_ring.h | 164 +---
2 files changed, 2 insertions(+), 220 deletions(-)
diff --git
Drop duplicated code.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
include/hw/virtio/virtio-net.h | 151 +
include/net/tap.h | 24 +--
2 files changed, 2 insertions(+), 173 deletions(-)
diff --git
Move virtio header copying logic to a function,
use that to copy arch specific virtio headers.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
scripts/update-linux-headers.sh | 56 -
1 file changed, 33 insertions(+), 23 deletions(-)
diff --git
Drop duplicate code.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
include/hw/virtio/virtio-serial.h | 40 +--
hw/char/virtio-serial-bus.c | 1 +
2 files changed, 2 insertions(+), 39 deletions(-)
diff --git a/include/hw/virtio/virtio-serial.h
Drop code duplicated from standard headers.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
hw/9pfs/virtio-9p.h | 17 +
1 file changed, 1 insertion(+), 16 deletions(-)
diff --git a/hw/9pfs/virtio-9p.h b/hw/9pfs/virtio-9p.h
index 0776424..2b1fbdd 100644
---
Add files imported from linux-next (what will become linux 4.0) using
scripts/update-linux-headers.sh
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
include/standard-headers/sys/if_ether.h | 1 +
include/standard-headers/sys/types.h | 2 +
Drop duplicate code.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
hw/virtio/virtio-pci.c | 54 +-
1 file changed, 5 insertions(+), 49 deletions(-)
diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
index dde1d73..0466571 100644
Drop duplicated code.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
include/hw/virtio/virtio-rng.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/include/hw/virtio/virtio-rng.h b/include/hw/virtio/virtio-rng.h
index 14e85a5..b352733 100644
---
Now qemu only supports vhd type VHD_FIXED and VHD_DYNAMIC, so qemu
can't read snapshot volume of vhd, and can't support other storage
features of vhd file.
This patch add read parent information in function vpc_open, read
bitmap in vpc_read, and change bitmap in vpc_write.
Signed-off-by:
At Fri, 13 Feb 2015 18:20:53 +0900,
Teruaki Ishizaki wrote:
Previously, qemu block driver of sheepdog used hard-coded VDI object size.
This patch enables users to handle VDI object size.
When you start qemu, you don't need to specify additional command option.
But when you create the VDI
Drop duplicated code.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
include/hw/virtio/virtio-scsi.h | 120 +++-
hw/scsi/virtio-scsi.c | 1 +
2 files changed, 10 insertions(+), 111 deletions(-)
diff --git a/include/hw/virtio/virtio-scsi.h
On 2015/2/2 7:29, Paolo Bonzini wrote:
On 17/12/2014 07:02, haifeng@huawei.com wrote:
From: linhaifeng haifeng@huawei.com
If we create VM with two or more numa nodes qemu will create two
or more hugepage files but qemu only send one hugepage file fd
to vhost-user when VM's
Drop code duplicated from standard headers.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
include/hw/virtio/virtio-balloon.h | 35 ++-
1 file changed, 2 insertions(+), 33 deletions(-)
diff --git a/include/hw/virtio/virtio-balloon.h
Sent the v2 version of this patch integrated in v9 verison of VHD_DEFFERING
patch.
Fixed this problem with backing_format.
On Sat, Feb 14, 2015 at 10:13 AM, Xiaodong Gong gordongong0...@gmail.com
wrote:
On Wed, Feb 11, 2015 at 9:39 PM, Stefan Hajnoczi stefa...@redhat.com
wrote:
On Tue, Feb
Signed-off-by: Ryota Ozaki ozaki.ry...@gmail.com
---
target-arm/cpu64.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target-arm/cpu64.c b/target-arm/cpu64.c
index 823c739..270bc2f 100644
--- a/target-arm/cpu64.c
+++ b/target-arm/cpu64.c
@@ -96,6 +96,7 @@ static void
On 14.01.2015 10:15, Gerhard Wiesinger wrote:
On 14.01.2015 01:59, Laine Stump wrote:
Take a look at the following kernel bug. It specifically deals with a
hang in gettimeofday() in a KVM guest:
https://bugzilla.redhat.com/show_bug.cgi?id=1178975
There is a link to a patched kernel you can
On Mon, Feb 16, 2015 at 12:17 AM, Ryota Ozaki ozaki.ry...@gmail.com wrote:
Signed-off-by: Ryota Ozaki ozaki.ry...@gmail.com
The title of your patch is incorrect, you specified A53 when you really mean A57
---
target-arm/cpu64.c | 1 +
1 file changed, 1 insertion(+)
diff --git
Hi,
while i get a constant random 4k i/o write speed of 20.000 iops with
qemu 2.1.0 or 2.1.3. I get jumping speeds with qemu 2.2 (jumping between
500 iops and 15.000 iop/s).
If i use virtio instead of virtio-scsi speed is the same between 2.2 and
2.1.
Is there a known regression?
Greets,
This is required to make sure they are migrated
correctly.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
hw/i386/acpi-build.c | 28 +---
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index
On Mon, Feb 09, 2015 at 01:59:55PM +, Igor Mammedov wrote:
Makes sure that RSDP stays the same
/i.e. matches ACPI tables blob in source/
if guest is migrated during RSDP reading or
has been already shadowed by firmware.
Fix applies only to new machine types starting
from 2.3, so it
On Mon, Feb 09, 2015 at 01:59:54PM +, Igor Mammedov wrote:
Linker table is build only once, so if later during
tables rebuild sizes of other ACPI tables change
pointers will be patched incorrectly due to wrong
offsets in linker. Resulting in guest not being able
to find ACPI tables.
Fix
The emulation for EEH RTAS requests from guest isn't covered
by QEMU yet and the patch implements them.
The patch defines constants used by EEH RTAS calls and adds
callbacks sPAPRPHBClass::{eeh_set_option, eeh_get_state, eeh_reset,
eeh_configure}, which are going to be used as follows:
* RTAS
The patch implements sPAPRPHBClass EEH callbacks so that the EEH
RTAS requests can be routed to VFIO for further handling.
Signed-off-by: Gavin Shan gws...@linux.vnet.ibm.com
---
hw/ppc/spapr_pci_vfio.c | 98 +
hw/vfio/common.c| 1 +
2
The series of patches adds support EEH for VFIO PCI devices on sPAPR platform.
It requires corresponding host kernel support, which was merged during 3.17
merge window. This patchset has been rebased to Alex Graf's QEMU repository:
git://github.com/agraf/qemu.git (branch: ppc-next)
The
From: Gonglei arei.gong...@huawei.com
Patch 1 check boot order arguments validation
before vm running. Patch 2 passing error_abort
to restore_boot_order() because qemu_boot_set()
can't fail in that scenario.
v4 - v3:
- drop the original patch 1. (Markus)
- rework patch 1 (remove local variable
On Mon, Feb 16, 2015 at 10:16:01AM +1100, Gavin Shan wrote:
The emulation for EEH RTAS requests from guest isn't covered
by QEMU yet and the patch implements them.
The patch defines constants used by EEH RTAS calls and adds
callbacks sPAPRPHBClass::{eeh_set_option, eeh_get_state, eeh_reset,
On Mon, Feb 16, 2015 at 10:16:02AM +1100, Gavin Shan wrote:
The patch implements sPAPRPHBClass EEH callbacks so that the EEH
RTAS requests can be routed to VFIO for further handling.
Signed-off-by: Gavin Shan gws...@linux.vnet.ibm.com
Reviewed-by: David Gibson da...@gibson.dropbear.id.au
--
On Mon, Feb 16, 2015 at 12:52:48PM +1100, David Gibson wrote:
On Mon, Feb 16, 2015 at 10:16:01AM +1100, Gavin Shan wrote:
The emulation for EEH RTAS requests from guest isn't covered
by QEMU yet and the patch implements them.
The patch defines constants used by EEH RTAS calls and adds
Do not check for rdma-host being empty twice. This removes a large
if block, so code indentation is changed. While at it, remove an
ugly goto from the loop, replacing it with a cleaner if logic. And
finally, there's no need to initialize `ret' variable since is always
has a value.
Peter Maydell peter.mayd...@linaro.org writes:
On 15 February 2015 at 03:02, David Gibson da...@gibson.dropbear.id.au
wrote:
Godammit. Have I mentioned lately how much it pisses me off that we
have various config symbols and it's never clear which ones make it
into C and which are only in
Excuse me, I want to consult the related information about SPR.
For SPRs (Special Purpose Register) under tilegx, I can not get related
documents (I only got the tilepro related document for SPR). After read
through the source code of Linux kernel for tile, I guess:
- SPRs are in
From: Gonglei arei.gong...@huawei.com
qemu_boot_set() can't fail in restore_boot_order(),
then simply assert it doesn't fail, by passing
error_abort if boot_set_handler set.
Suggested-by: Markus Armbruster arm...@redhat.com
Signed-off-by: Gonglei arei.gong...@huawei.com
---
bootdevice.c | 4
From: Wang Xin wangxinxin.w...@huawei.com
Add the keysym and keycode of 'numerosign' in Russian keyboard layout
to VNC keysyms table and keymap.
Wang Xin (2):
qemu-char: add cyrillic characters 'numerosign' to VNC keysyms
qemu-char: add cyrillic key 'numerosign' to Russian keymap
From: Wang Xin wangxinxin.w...@huawei.com
This patch adds missing cyrillic characters 'numerosign' to the VNC
keysym table, it's need by Russian keyboard. And I get the keysym from
'X11/keysymdef.h', the current keysym table in Qemu was generated from
it.
signed-off-by: Wang xin
From: Wang Xin wangxinxin.w...@huawei.com
'numerosign' is the numbersign key of Russian keyboard layout, we
get this key with press 'shift + 3'. It's missing in current
Russian keymap file, this patch fix it.
signed-off-by: Wang Xin wangxinxin.w...@huawei.com
signed-off-by: Gonglei
On Thu, Feb 12, 2015 at 11:09:14AM +0530, Bharata B Rao wrote:
On Thu, Feb 12, 2015 at 04:19:36PM +1100, David Gibson wrote:
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 44405b2..9ff08ff 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -120,6 +120,8 @@ struct
From: Gonglei arei.gong...@huawei.com
Either 'once' option or 'order' option can take effect for -boot at
the same time, that is say initial startup processing can check only
one. And pc.c's set_boot_dev() fails when its boot order argument
is invalid. This patch provide a solution fix this
Hi,
this basically concludes my problems of getting KVM running on the
Jetson TK1 board with QEMU: all fine now, provided I switch from
qemu-system-arm -machine vexpress-a15 -sd disk.img ...
to
qemu-system-arm -machine vexpress-a15 \
-drive file=disk.img,if=none,id=disk \
-device
By default, we have ioeventfd enabled, so the IO request processing is
in IO thread; in the vcpu thread, guest mode is returned to as quickly
as possible, and completion is delivered via irqfd. Therefore this
comment from the initial implementation is barely relevant.
Signed-off-by: Fam Zheng
50 matches
Mail list logo