[Qemu-devel] [Bug 1135567] Re: QXL crashes a Windows 7 guest if host goes into screensaver

2017-09-13 Thread Thomas Huth
Thanks for checking! ... so I'm closing this ticket now. ** Changed in: qemu Status: Incomplete => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1135567 Title: QXL crashes a Wi

[Qemu-devel] [Bug 888016] Re: RHEL 6.1 guest fails to boot with vhost

2017-09-13 Thread Thomas Huth
** Changed in: qemu Assignee: Pradeep K Surisetty (pradeepkumars) => (unassigned) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/888016 Title: RHEL 6.1 guest fails to boot with vhost Status in

Re: [Qemu-devel] [PATCH v7 09/38] libqos: Track QTestState with QVirtioBus

2017-09-13 Thread Thomas Huth
On 12.09.2017 15:28, Eric Blake wrote: > On 09/12/2017 02:21 AM, Thomas Huth wrote: [...] >> I fail to see why we need a separate bus object here for each device. >> The bus is only available one time, not multiple times, isn't it? So >> there should also only be one bus object floating around, not

Re: [Qemu-devel] [PATCH] hw/core/qdev: Do not allow hot-plugging without hotplug controller

2017-09-13 Thread Igor Mammedov
On Tue, 12 Sep 2017 15:05:56 -0300 Eduardo Habkost wrote: > On Mon, Sep 11, 2017 at 05:06:00PM +0200, Igor Mammedov wrote: > > On Mon, 11 Sep 2017 16:31:39 +0200 > > Thomas Huth wrote: > > > > > On 11.09.2017 14:53, Igor Mammedov wrote: > > > > On Thu, 7 Sep 2017 11:22:42 +0200 > > > > Tho

Re: [Qemu-devel] [PATCH v7 10/38] libqos: Move/rename qpci_unplug_acpi_device_test() to pci.c

2017-09-13 Thread Thomas Huth
On 12.09.2017 15:28, Eric Blake wrote: > On 09/12/2017 02:29 AM, Thomas Huth wrote: >> On 11.09.2017 19:19, Eric Blake wrote: >>> Commit 2f8b2767 originally added qpci_plug_device_test() and >>> qpci_unplug_acpi_device_test() as a pair, both in pci-pc.c. >>> Later, commit cf716b31 moved one half of

[Qemu-devel] [Bug 474968] Re: kvm smb server hogs cpu guest freeze

2017-09-13 Thread Thomas Huth
There hasn't been a reply to my question in the last comment within months, so I assume nobody cares about this anymore. So I'm closing this ticket now... ** Changed in: qemu Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of qemu- devel-ml,

[Qemu-devel] [Bug 502107] Re: qemu-kvm 0.12.1.2 crashes booting Ubuntu 9.10 with "-vga std"

2017-09-13 Thread Thomas Huth
There hasn't been a reply to my question in the last comment within months, so I assume nobody cares about this anymore. So I'm closing this ticket now... ** Changed in: qemu Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of qemu- devel-ml,

[Qemu-devel] [Bug 584146] Re: Virtual fat breaks with -snapshot

2017-09-13 Thread Thomas Huth
** Changed in: qemu Importance: Wishlist => Undecided -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/584146 Title: Virtual fat breaks with -snapshot Status in QEMU: Incomplete Status in qemu-k

[Qemu-devel] [Bug 551545] Re: PXE netboot not booting localboot from virtio-disk

2017-09-13 Thread Thomas Huth
There hasn't been a reply to my question in the last comment within months, so I assume this has been fixed in upstream, too. Closing this ticket now... ** Changed in: qemu Status: Incomplete => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml,

Re: [Qemu-devel] [PATCH v7 28/38] libqtest: Add qtest_[v]startf()

2017-09-13 Thread Thomas Huth
On 12.09.2017 15:32, Eric Blake wrote: > On 09/12/2017 05:14 AM, Thomas Huth wrote: >> On 11.09.2017 19:20, Eric Blake wrote: >>> We have several callers that were formatting the argument strings >>> themselves; consolidate this effort by adding new convenience >>> functions directly in libqtest, a

Re: [Qemu-devel] [PATCH v4 11/21] s390x: allow only 1 CPU with TCG

2017-09-13 Thread Igor Mammedov
On Tue, 12 Sep 2017 17:42:35 +0200 David Hildenbrand wrote: > On 12.09.2017 14:43, Igor Mammedov wrote: > > On Mon, 11 Sep 2017 17:21:40 +0200 > > David Hildenbrand wrote: > > > >> Specifying more than 1 CPU (e.g. -smp 5) leads to SIGP errors (the > >> guest tries to bring these CPUs up but f

[Qemu-devel] [Bug 453617] Re: kvm hangs at 100% cpu when connecting to forwarded ports (when listed incorrectly on the command line)

2017-09-13 Thread Thomas Huth
There hasn't been any comment about upstream QEMU within the last months, so I assume this has been fixed there, too. Closing... ** Changed in: qemu Status: Incomplete => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to

Re: [Qemu-devel] [Qemu-ppc] [PATCH 2/4] ppc: add CPU IRQ state to PPC VMStateDescription

2017-09-13 Thread David Gibson
On Mon, Sep 11, 2017 at 06:19:54PM +0100, Dr. David Alan Gilbert wrote: > * Mark Cave-Ayland (mark.cave-ayl...@ilande.co.uk) wrote: > > On 11/09/17 11:48, David Gibson wrote: > > > > > On Mon, Sep 11, 2017 at 10:30:33AM +0100, Dr. David Alan Gilbert wrote: > > >> * Greg Kurz (gr...@kaod.org) wrote

Re: [Qemu-devel] [PATCH 4/4] ppc: ensure we update the decrementer value during migration

2017-09-13 Thread David Gibson
On Sun, Sep 10, 2017 at 03:37:35PM +0100, Mark Cave-Ayland wrote: > During local testing with TCG, intermittent errors were found when trying to > migrate Darwin OS images. > > The underlying cause was that Darwin resets the decrementer value to fairly > small values on each interrupt. cpu_ppc_set

Re: [Qemu-devel] [PATCH 3/4] ppc: add CPU access_type into the migration stream

2017-09-13 Thread David Gibson
On Mon, Sep 11, 2017 at 05:52:10PM +0100, Mark Cave-Ayland wrote: > On 11/09/17 11:57, David Gibson wrote: > > > On Sun, Sep 10, 2017 at 03:37:34PM +0100, Mark Cave-Ayland wrote: > >> This is referenced in cpu_ppc_handle_mmu_fault() and so should be included > >> in the migration stream. > > > >

Re: [Qemu-devel] MIPS 'move' insn emulation

2017-09-13 Thread Sergey Smolov
On 12.09.2017 18:06, Peter Maydell wrote: On 12 September 2017 at 15:53, Sergey Smolov wrote: Generally speaking, is it possible at "run time" to detect write accesses to MIPS GPR registers? If true, which parts of code should I look in? We don't currently support tracing at that level, I'm a

Re: [Qemu-devel] [PATCH] ppc/pnv: fix cores per chip for multiple cpus

2017-09-13 Thread David Gibson
On Mon, Sep 11, 2017 at 10:40:10AM +0530, Nikunj A Dadhania wrote: > David Gibson writes: > > > On Wed, Sep 06, 2017 at 01:57:48PM +0530, Nikunj A Dadhania wrote: > >> When the user does not provide the cpu topology, e.g. "-smp 4", machine > >> fails to > >> initialize 4 cpus. Compute the chip p

[Qemu-devel] [Bug 1129571] Re: libreoffice armhf FTBFS

2017-09-13 Thread Thomas Huth
There hasn't been a reply to my question in comment #32 within months, so I assume nobody cares about this anymore. So I'm closing this ticket now... ** Changed in: qemu Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of qemu- devel-ml, which

[Qemu-devel] [PULL 4/6] qxl: add support for chunked cursors.

2017-09-13 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Message-id: 20170828123933.30323-3-kra...@redhat.com --- hw/display/qxl-render.c | 36 +--- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/hw/display/qxl-render.c b/hw/display/qxl-render.c index e1b3f05ecb..90e0865618 10

[Qemu-devel] [PULL 2/6] vga: stop passing pointers to vga_draw_line* functions

2017-09-13 Thread Gerd Hoffmann
Instead pass around the address (aka offset into vga memory). Add vga_read_* helper functions which apply vbe_size_mask to the address, to make sure the address stays within the valid range, similar to the cirrus blitter fixes (commits ffaf857778 and 026aeffcb4). Impact: DoS for privileged guest

[Qemu-devel] [PULL 6/6] virtio-gpu: don't clear QemuUIInfo information on reset

2017-09-13 Thread Gerd Hoffmann
Don't reset window layout information (passed via virtio_gpu_ui_info) on device reset, so the user interface window layout will be kept intact over reboots. The head size and position was commented out already, so this patch just drops the dead code. Additionally the enabled head mask must be kep

[Qemu-devel] [PULL 1/6] vga: fix display update region calculation (split screen)

2017-09-13 Thread Gerd Hoffmann
vga display update mis-calculated the region for the dirty bitmap snapshot in case split screen mode is used. This can trigger an assert in cpu_physical_memory_snapshot_get_dirty(). Impact: DoS for privileged guest users. Fixes: CVE-2017-13673 Fixes: fec5e8c92becad223df9d972770522f64aafdb72 Cc:

[Qemu-devel] [PULL 3/6] qxl: drop mono cursor support

2017-09-13 Thread Gerd Hoffmann
The chunk size sanity check in qxl_render_cursor works for SPICE_CURSOR_TYPE_ALPHA cursors only. So support for SPICE_CURSOR_TYPE_MONO cursors must be broken for ages without anyone noticing. Most likely it simply isn't used any more by guest drivers. Drop the dead code. Signed-off-by: Gerd Hoff

[Qemu-devel] [PULL 0/6] Vga 20170913 patches

2017-09-13 Thread Gerd Hoffmann
The following changes since commit 223cd0e13f2e46078d7b573f0b8402bfbee339be: Merge remote-tracking branch 'remotes/elmarco/tags/tidy-pull-request' into staging (2017-08-31 15:52:43 +0100) are available in the git repository at: git://git.kraxel.org/qemu tags/vga-20170913-pull-re

Re: [Qemu-devel] [PATCH v3 46/50] qapi: make s390 commands depend on TARGET_S390X

2017-09-13 Thread Cornelia Huck
On Mon, 11 Sep 2017 13:06:19 +0200 Marc-André Lureau wrote: > Signed-off-by: Marc-André Lureau > --- > qapi-schema.json| 101 --- > qapi/target.json| 104 > > include/sysemu/arch_init.h

[Qemu-devel] [Bug 1300863] Re: Qemu does not show all files on floppy or hard drive (MS DOS 6.22 guest)

2017-09-13 Thread Thomas Huth
** No longer affects: qemu -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1300863 Title: Qemu does not show all files on floppy or hard drive (MS DOS 6.22 guest) Status in qemu package in Debian:

[Qemu-devel] [PULL 5/6] vga/migration: Update memory map in post_load

2017-09-13 Thread Gerd Hoffmann
From: "Dr. David Alan Gilbert" After migration the chain4 alias mapping added by 80763888 (in 2011) might be missing, since there's no call to vga_update_memory_access in the post_load after the registers are updated. Add it back. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Juan Quintel

Re: [Qemu-devel] [PATCH v3 47/50] target.json: add a note about query-cpu* not being s390x-specific

2017-09-13 Thread Cornelia Huck
On Mon, 11 Sep 2017 13:06:20 +0200 Marc-André Lureau wrote: > Signed-off-by: Marc-André Lureau > --- > qapi/target.json | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/qapi/target.json b/qapi/target.json > index 3b73a9202f..12002b54d5 100644 > --- a/qapi/target.json > +++ b/qapi

[Qemu-devel] [Bug 1192499] Re: virsh migration copy-storage-all fails with "Unable to read from monitor: Connection reset by peer"

2017-09-13 Thread Thomas Huth
There hasn't been a reply to my question in the last comment within months, so I assume nobody cares about this anymore. So I'm closing this ticket now... ** Changed in: qemu Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of qemu- devel-ml,

[Qemu-devel] [Bug 1254940] Re: qemu-KVM guest OS occurs many ext3-fs errors after multiple forced shutdown

2017-09-13 Thread Thomas Huth
** Changed in: qemu Assignee: benjamin_zb (zhuben1989) => (unassigned) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1254940 Title: qemu-KVM guest OS occurs many ext3-fs errors after multiple

Re: [Qemu-devel] [PATCH v3 50/50] qapi: make query-cpu-definitions depend on specific targets

2017-09-13 Thread Cornelia Huck
On Mon, 11 Sep 2017 13:06:23 +0200 Marc-André Lureau wrote: > It depends on TARGET_PPC || TARGET_ARM || TARGET_I386 || TARGET_S390X. > > Signed-off-by: Marc-André Lureau > --- > qapi-schema.json| 11 --- > qapi/target.json| 12 > include/sysemu/arch

Re: [Qemu-devel] [PATCH v3 49/50] qapi: make query-cpu-model-expansion depend on s390 or x86

2017-09-13 Thread Cornelia Huck
On Mon, 11 Sep 2017 13:06:22 +0200 Marc-André Lureau wrote: > Signed-off-by: Marc-André Lureau > --- > qapi-schema.json | 38 - > qapi/target.json | 39 > ++ > include/sysemu/arch_init.h

Re: [Qemu-devel] [PATCH v11 6/6] target-arm: kvm64: Handle SError interrupt for the guest OS

2017-09-13 Thread gengdongjiu
On 2017/9/12 0:39, Peter Maydell wrote: +return kvm_vcpu_ioctl(CPU(cpu), KVM_ARM_SEI, &syndrome); >>> This looks odd. If we don't have the RAS extension why do we need to do >>> anything at all here ? >> This is because Qemu may need to support non-RAS extension as discussed with >> A

Re: [Qemu-devel] [PATCH v3 3/3] tests/hmp: test "none" machine with memory

2017-09-13 Thread Cornelia Huck
On Tue, 12 Sep 2017 16:01:49 +0200 Laurent Vivier wrote: > and add a test case of dump-guest-memory without > "[begin length]" parameters. > > Signed-off-by: Laurent Vivier > Reviewed-by: Thomas Huth > --- > tests/test-hmp.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/tests/

[Qemu-devel] [Bug 808588] Re: Netperf tests cause i82551 network down

2017-09-13 Thread Thomas Huth
There hasn't been a reply to my question in the last comment within months, so I assume nobody cares about this anymore. So I'm closing this ticket now... ** Changed in: qemu Status: Incomplete => Fix Released -- You received this bug notification because you are a member of qemu- devel-m

[Qemu-devel] [Bug 899961] Re: qemu/kvm locks up when run 32bit userspace with 64bit kernel

2017-09-13 Thread Thomas Huth
Since the debian bug has been marked as fixed and there wasn't any response to the question in my last comment, I assume this has been fixed in upstream QEMU, too. So closing this ticket accordingly... ** Changed in: qemu Status: Incomplete => Fix Released -- You received this bug notific

[Qemu-devel] [Bug 894037] Re: With VNC, "-usbdevice tablet" no longer makes mouse pointers line up

2017-09-13 Thread Thomas Huth
There hasn't been a reply to my question in the last comment within months, so I assume nobody cares about this anymore. So I'm closing this ticket now... ** Changed in: qemu Status: Incomplete => Fix Released -- You received this bug notification because you are a member of qemu- devel-m

[Qemu-devel] [Bug 839790] Re: -usbdevice tablet broken on win XP client

2017-09-13 Thread Thomas Huth
According to the Fedora bug, this has been fixed. And since there wasn't any reply to the question in my last comment, I assume nobody experiences this issue anymore. So closing this ticket now... ** Changed in: qemu Status: Incomplete => Fix Released -- You received this bug notification

Re: [Qemu-devel] [PATCH v2 00/10] cleanup qemu-iotests

2017-09-13 Thread Fam Zheng
On Wed, 09/13 08:47, Thomas Huth wrote: > Meta comment: Could we maybe also rename "tests/qemu-iotests" to > "tests/iotests" ? The "qemu" prefix sounds always very superfluous to me > here... Sounds good, and saves typing for when this path is manually entered. But maybe keep tests/qemu-iotests as

Re: [Qemu-devel] [PATCH] dump: do not dump non-existent guest memory

2017-09-13 Thread Cornelia Huck
On Tue, 12 Sep 2017 12:17:51 +0200 Marc-André Lureau wrote: > Hi Peter > > On Tue, Sep 12, 2017 at 5:33 AM, Peter Xu wrote: > > On Mon, Sep 11, 2017 at 03:26:27PM +0200, Cornelia Huck wrote: > >> It does not really make sense to dump memory that is not there. > >> > >> Moreover, that fixes a

[Qemu-devel] [Bug 1715573] Re: Android-x86_64 guest - "Could not disable RealTimeClock events (20160831/evxfevnt-267)"; UI sluggish, ACPI doesn't work with QEMU 2.10.0

2017-09-13 Thread Thomas Huth
This is maybe a duplicate of https://bugs.launchpad.net/qemu/+bug/1714331 ... could you please try a newer version of the OVMF firmware (if you're using it)? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/b

Re: [Qemu-devel] [PATCH v2] scripts: let checkpatch.pl process an entire GIT branch

2017-09-13 Thread Daniel P. Berrange
On Tue, Sep 12, 2017 at 07:11:34PM +0200, Paolo Bonzini wrote: > On 12/09/2017 18:51, Daniel P. Berrange wrote: > > Currently before submitting a series, devs should run checkpatch.pl > > across each patch to be submitted. This can be automated using a > > command such as: > > > > git rebase -i

Re: [Qemu-devel] [PATCH v1 1/2] virtio_gpu: Handle endian conversion

2017-09-13 Thread Gerd Hoffmann
Hi, > @@ -287,6 +287,12 @@ static void > virtio_gpu_resource_create_2d(VirtIOGPU *g, >  struct virtio_gpu_resource_create_2d c2d; >   >  VIRTIO_GPU_FILL_CMD(c2d); > + > +c2d.resource_id = le32_to_cpu(c2d.resource_id); > +c2d.format = le32_to_cpu(c2d.format); > +c2d.width = le

[Qemu-devel] [Bug 932490] Re: Qemu fails on -fda /dev/fd0 when no medium is present

2017-09-13 Thread Thomas Huth
Is this still an issue with the latest version of QEMU (currently v2.10), or could we close this ticket nowadays? ** Changed in: qemu Status: New => Incomplete -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launc

[Qemu-devel] [PATCH] throttle: Assert that bkt->max is valid in throttle_compute_wait()

2017-09-13 Thread Alberto Garcia
If bkt->max == 0 and bkt->burst_length > 1 then we could have a division by 0 in throttle_do_compute_wait(). That configuration is however not permitted and is already detected by throttle_is_valid(), but let's assert it in throttle_compute_wait() to make it explicit. Found by Coverity (CID: 13810

[Qemu-devel] [PULL 0/4] Ui 20170913 patches

2017-09-13 Thread Gerd Hoffmann
The following changes since commit 619c200f6ce2f44fbc8a5732174530c3b4782aab: Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-signed' into staging (2017-09-11 11:44:30 +0100) are available in the git repository at: git://git.kraxel.org/qemu tags/ui-20170913-pu

[Qemu-devel] [PULL 1/4] pixman: drop submodule

2017-09-13 Thread Gerd Hoffmann
Drop pixman submodule and support for the "internal" pixman build. pixman should be reasonably well established meanwhile so we don't need the fallback submodule any more. While being at it also drop some #ifdefs for pixman versions older than what we require in configure anyway. Signed-off-by: G

[Qemu-devel] [PULL 2/4] pixman: drop configure switches

2017-09-13 Thread Gerd Hoffmann
Remove pixman switches from configure, should not be needed any more, configure can figure by itself whenever pixman is needed or not. Signed-off-by: Gerd Hoffmann Message-id: 20170905140116.28181-3-kra...@redhat.com --- configure | 24 ++-- 1 file changed, 2 insertions(+), 2

[Qemu-devel] [PULL 3/4] console: fix dpy_gfx_replace_surface assert

2017-09-13 Thread Gerd Hoffmann
virtio-gpu can trigger the assert added by commit "6905b93447 console: add same surface replace pre-condition" in multihead setups (where surface can be NULL for secondary displays). Allow surface being NULL. Fixes: 6905b93447a42e606dfd126b90f75f4cd3c6fe94 Signed-off-by: Gerd Hoffmann Reviewed-b

[Qemu-devel] [PULL 4/4] console: add question-mark escape operator

2017-09-13 Thread Gerd Hoffmann
From: Alexander Graf Some termcaps (found using SLES11SP1) use [? sequences. According to man console_codes (http://linux.die.net/man/4/console_codes) the question mark is a nop and should simply be ignored. This patch does exactly that, rendering screen output readable when outputting guest ser

[Qemu-devel] [PATCH v4 00/14] add support for Hypervisor.framework in QEMU

2017-09-13 Thread Sergio Andres Gomez Del Real
Changes in v4: (1) Use g_new0 instead of g_malloc. (2) hvf TODO's in cpu.c explained: in-kernel irqchip. (3) Introduce ins_len field in patch where actually used. (4) Remove outdated comment "/* Definition of hvf_state is here */" (5) Treat vcpu_dirty as boolean throughout. (

[Qemu-devel] [PATCH v4 03/14] hvf: fix licensing issues; isolate task handling code (GPL v2-only)

2017-09-13 Thread Sergio Andres Gomez Del Real
This patch replaces the license header for those files that were either GPL v2-or-v3, or GPL v2-only; the replacing license is GPL v2-or-later. The code for task switching/handling, which is derived from KVM and hence is GPL v2-only, is isolated in the new files (with this license) x86_task.c/.h, a

[Qemu-devel] [PATCH v4 07/14] apic: add function to apic that will be used by hvf

2017-09-13 Thread Sergio Andres Gomez Del Real
This patch adds the function apic_get_highest_priority_irr to apic.c and exports it through the interface in apic.h for use by hvf. Signed-off-by: Sergio Andres Gomez Del Real --- hw/intc/apic.c | 12 include/hw/i386/apic.h | 1 + 2 files changed, 13 insertions(+) diff --g

[Qemu-devel] [PATCH v4 11/14] hvf: refactor cpuid code

2017-09-13 Thread Sergio Andres Gomez Del Real
This patch generalizes some code in cpu.c, sharing code and data between hvf and kvm. It also begins calling the new hvf_get_supported_cpuid where appropriate. Signed-off-by: Sergio Andres Gomez Del Real --- target/i386/cpu-qom.h | 4 +-- target/i386/cpu.c | 77 +

[Qemu-devel] [PATCH v4 01/14] hvf: add support for Hypervisor.framework in the configure script

2017-09-13 Thread Sergio Andres Gomez Del Real
This patch adds to the configure script the code to support the --enable-hvf argument. If the OS is Darwin, it checks for presence of HVF in the system. The patch also adds strings related to HVF in the file qemu-options.hx. QEMU will only support the modern syntax style '-M accel=hvf' no enable hv

[Qemu-devel] [PATCH v4 09/14] hvf: use new helper functions for put/get xsave

2017-09-13 Thread Sergio Andres Gomez Del Real
This patch makes use of the helper functions for handling xsave in xsave_helper.c, which are shared with kvm. Signed-off-by: Sergio Andres Gomez Del Real --- target/i386/hvf-utils/x86hvf.c | 63 ++ 1 file changed, 8 insertions(+), 55 deletions(-) diff --g

[Qemu-devel] [PATCH v4 14/14] hvf: inject General Protection Fault when vmexit through vmcall

2017-09-13 Thread Sergio Andres Gomez Del Real
This patch injects a GP fault when the guest vmexit's by executing a vmcall instruction. Signed-off-by: Sergio Andres Gomez Del Real --- target/i386/hvf-all.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/i386/hvf-all.c b/target/i386/hvf-all.c index 105a63ad4f..0a

[Qemu-devel] [PATCH v4 12/14] hvf: implement vga dirty page tracking

2017-09-13 Thread Sergio Andres Gomez Del Real
This patch implements setting the tracking of dirty vga pages, using hvf's interface to protect guest memory. It uses the MemoryListener callback mechanism through .log_start/stop/sync Signed-off-by: Sergio Andres Gomez Del Real --- include/sysemu/hvf.h | 5 target/i386/hvf-all.c | 74 +++

[Qemu-devel] [PATCH v4 05/14] hvf: add code to cpus.c and do refactoring in preparation for compiling

2017-09-13 Thread Sergio Andres Gomez Del Real
The files originally added from Google's repository in previous patches won't compile cleanly unless some functions are implemented in cpus.c and some other reorganization is done. This patch adds that code and does some general refactoring in preparation for compiling in subsequent patches. Signe

[Qemu-devel] [PATCH v4 08/14] hvf: add compilation rules to Makefile.objs

2017-09-13 Thread Sergio Andres Gomez Del Real
This patch adds to target/i386/Makefile.objs the necessary rules so that the new files for hvf are compiled by the build system. Signed-off-by: Sergio Andres Gomez Del Real --- target/i386/Makefile.objs | 1 + 1 file changed, 1 insertion(+) diff --git a/target/i386/Makefile.objs b/target/i386/M

[Qemu-devel] [PATCH] hw/isa/pc87312: Mark the device with user_creatable = false

2017-09-13 Thread Thomas Huth
QEMU currently aborts if you try to use the device at the command line: $ ppc64-softmmu/qemu-system-ppc64 -S -machine prep -device pc87312 Unexpected error in qemu_chr_fe_init() at chardev/char-fe.c:222: qemu-system-ppc64: -device pc87312: Device 'parallel0' is in use Aborted (core dumped) It use

[Qemu-devel] [PATCH v3] scripts: let checkpatch.pl process an entire GIT branch

2017-09-13 Thread Daniel P. Berrange
Currently before submitting a series, devs should run checkpatch.pl across each patch to be submitted. This can be automated using a command such as: git rebase -i master -x 'git show | ./scripts/checkpatch.pl -' This is rather long winded to type, so this patch introduces a way to tell checkpa

[Qemu-devel] [Bug 996798] Re: Incorrect order of task switching

2017-09-13 Thread Thomas Huth
** Bug watch removed: Virtualbox Trac #10532 http://www.virtualbox.org/ticket/10532 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/996798 Title: Incorrect order of task switching Status in QEMU:

[Qemu-devel] [PATCH v2 1/3] iotests: use -ccw on s390x for 040, 139, and 182

2017-09-13 Thread Cornelia Huck
The default cpu model on s390x does not provide zPCI, which is not yet wired up on tcg. Moreover, virtio-ccw is the standard on s390x, so use the -ccw instead of the -pci versions of virtio devices on s390x. Reviewed-by: Kevin Wolf Signed-off-by: Cornelia Huck --- tests/qemu-iotests/040 | 6 ++

[Qemu-devel] [PATCH v4 13/14] hvf: refactor event injection code for hvf

2017-09-13 Thread Sergio Andres Gomez Del Real
This patch refactors the event-injection code for hvf by using the appropriate fields already provided by CPUX86State. At vmexit, it fills these fields so that hvf_inject_interrupts can just retrieve them without calling into hvf. Signed-off-by: Sergio Andres Gomez Del Real --- target/i386/cpu.c

[Qemu-devel] [PATCH v2 2/3] iotests: use -ccw on s390x for 051

2017-09-13 Thread Cornelia Huck
The default cpu model on s390x does not provide zPCI, which is not yet wired up on tcg. Moreover, virtio-ccw is the standard on s390x, so use the -ccw instead of the -pci versions of virtio devices on s390x. Signed-off-by: Cornelia Huck --- tests/qemu-iotests/051| 12 +++- tests/

[Qemu-devel] [PATCH v4 10/14] hvf: implement hvf_get_supported_cpuid

2017-09-13 Thread Sergio Andres Gomez Del Real
This patch implements hvf_get_supported_cpuid, which returns the set of features supported by both the host processor and the hypervisor. Signed-off-by: Sergio Andres Gomez Del Real --- target/i386/hvf-utils/x86_cpuid.c | 138 ++ 1 file changed, 138 insertions

Re: [Qemu-devel] [PATCH v2 3/3] iotests: use virtio aliases for 067

2017-09-13 Thread Thomas Huth
On 13.09.2017 11:10, Cornelia Huck wrote: > The default cpu model on s390x does not provide zPCI, which is > not yet wired up on tcg. Moreover, virtio-ccw is the standard > on s390x. > > Using virtio-scsi will implicitly pick the right device, so just > switch to that for simplicity. > > Signed-o

[Qemu-devel] [PATCH v2 3/3] iotests: use virtio aliases for 067

2017-09-13 Thread Cornelia Huck
The default cpu model on s390x does not provide zPCI, which is not yet wired up on tcg. Moreover, virtio-ccw is the standard on s390x. Using virtio-scsi will implicitly pick the right device, so just switch to that for simplicity. Signed-off-by: Cornelia Huck --- tests/qemu-iotests/067 | 3

[Qemu-devel] [Bug 1037675] Re: Guest Kernel Panic if using "-cpu host" in qemu-kvm 1.1.1

2017-09-13 Thread Thomas Huth
** Bug watch removed: Gentoo Bugzilla #431640 https://bugs.gentoo.org/show_bug.cgi?id=431640 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1037675 Title: Guest Kernel Panic if using "-cpu host"

Re: [Qemu-devel] [PATCH v2 2/3] iotests: use -ccw on s390x for 051

2017-09-13 Thread Thomas Huth
On 13.09.2017 11:10, Cornelia Huck wrote: > The default cpu model on s390x does not provide zPCI, which is > not yet wired up on tcg. Moreover, virtio-ccw is the standard > on s390x, so use the -ccw instead of the -pci versions of virtio > devices on s390x. > > Signed-off-by: Cornelia Huck > ---

Re: [Qemu-devel] [Qemu devel v8 PATCH 4/5] msf2: Add Smartfusion2 SoC

2017-09-13 Thread sundeep subbaraya
Hi Philippe, All patches got Reviewed-by. Do you want me to change alias to remap and send v9 or wait so that you get time to review? Thanks, Sundeep On Fri, Sep 8, 2017 at 12:56 PM, sundeep subbaraya wrote: > Hi Philippe, > > On Fri, Sep 8, 2017 at 3:08 AM, Philippe Mathieu-Daudé > wrote: >

[Qemu-devel] [PATCH v2 0/3] iotests: cure s390x failures by switching to ccw/aliases

2017-09-13 Thread Cornelia Huck
Recent changes in s390x made pci support dependant on the zpci cpu feature, which is not provided on all models (and not on by default). This means we cannot instatiate pci devices on a standard qemu invocation for s390x. Moreover, the zpci instructions are not even wired up for tcg yet, so actuall

Re: [Qemu-devel] [PATCH 4/4] s390x/css: fix incorrect length indication

2017-09-13 Thread Cornelia Huck
On Tue, 12 Sep 2017 19:19:56 +0200 Halil Pasic wrote: > On 09/12/2017 05:59 PM, Cornelia Huck wrote: > > On Tue, 12 Sep 2017 17:43:03 +0200 > > Halil Pasic wrote: > > > >> On 09/12/2017 04:37 PM, Cornelia Huck wrote: > >>> On Mon, 11 Sep 2017 13:36:29 +0200 > >>> Halil Pasic wrote: > >>>

[Qemu-devel] [PULL 4/4] usb: only build usb-host with CONFIG_USB=y

2017-09-13 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Reviewed-by: Fam Zheng Reviewed-by: Thomas Huth Tested-by: Thomas Huth Message-id: 20170908111217.21985-3-kra...@redhat.com --- hw/usb/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/usb/Makefile.objs b/hw/usb/Makefile.objs inde

[Qemu-devel] [PULL 1/4] xhci: Avoid DMA when ERSTBA is set to zero

2017-09-13 Thread Gerd Hoffmann
From: Alexey Kardashevskiy The existing XHCI code reads the Event Ring Segment Table Base Address Register (ERSTBA) every time when it is changed. However zero is its default state so one would think that zero there means it is not in use. This adds a check for ERSTBA in addition to the existing

[Qemu-devel] [PULL 3/4] usb: drop HOST_USB

2017-09-13 Thread Gerd Hoffmann
Nowdays we use libusb for usb-host, so we don't have different code for linux vs. bsd any more. So there is little reason to have the HOST_USB variable, we can just write things directly into the Makefile and avoid a pointless indirection. Signed-off-by: Gerd Hoffmann Reviewed-by: Fam Zheng Rev

[Qemu-devel] [PULL 2/4] MAINTAINERS: add missing USB entry

2017-09-13 Thread Gerd Hoffmann
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Signed-off-by: Gerd Hoffmann --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 36eeb42d19..2c333aba21 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -99

[Qemu-devel] [PATCH 0/4] qtest: fix "device_del" out-of-order events

2017-09-13 Thread Peter Xu
It starts from a "make check" failure on one of my private tree. The problem is that when we do "device_del" we normally looking for two things: one response (which is mostly empty), and a REMOVE event. The tricky point is the event can either be there before/after the empty response. So I added

[Qemu-devel] [PULL 0/4] Usb 20170913 patches

2017-09-13 Thread Gerd Hoffmann
The following changes since commit 619c200f6ce2f44fbc8a5732174530c3b4782aab: Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-signed' into staging (2017-09-11 11:44:30 +0100) are available in the git repository at: git://git.kraxel.org/qemu tags/usb-20170913-pu

[Qemu-devel] [PATCH 1/4] libqtest: add qmp_device_del()

2017-09-13 Thread Peter Xu
Device deletion is tricky since we'll get both a response and an event, while the order of arrival may vary. Provide a helper to handle this complexity. Signed-off-by: Peter Xu --- tests/libqtest.c | 48 tests/libqtest.h | 8 2 files ch

[Qemu-devel] [PATCH 2/4] tests: use qmp_device_del() where proper

2017-09-13 Thread Peter Xu
Signed-off-by: Peter Xu --- tests/libqos/usb.c| 11 ++- tests/usb-hcd-uhci-test.c | 14 +- tests/usb-hcd-xhci-test.c | 29 ++--- 3 files changed, 5 insertions(+), 49 deletions(-) diff --git a/tests/libqos/usb.c b/tests/libqos/usb.c index 0cdfae

[Qemu-devel] [PATCH 3/4] libqtest: add qmp_device_add()

2017-09-13 Thread Peter Xu
Since we have qmp_device_del(), pair them up. Signed-off-by: Peter Xu --- tests/libqtest.c | 15 +++ tests/libqtest.h | 9 + 2 files changed, 24 insertions(+) diff --git a/tests/libqtest.c b/tests/libqtest.c index a34d8c4..c7da962 100644 --- a/tests/libqtest.c +++ b/tests/l

[Qemu-devel] [PATCH 4/4] tests: use qmp_device_add() where proper

2017-09-13 Thread Peter Xu
Signed-off-by: Peter Xu --- tests/libqos/pci.c| 15 +++ tests/libqos/usb.c| 17 - tests/usb-hcd-uhci-test.c | 14 ++ tests/usb-hcd-xhci-test.c | 23 +++ 4 files changed, 12 insertions(+), 57 deletions(-) diff --git a/tes

Re: [Qemu-devel] [PATCH v6 01/19] migration: Create migration_ioc_process_incoming()

2017-09-13 Thread Juan Quintela
Peter Xu wrote: > On Tue, Aug 08, 2017 at 06:26:11PM +0200, Juan Quintela wrote: > > [...] > >> void migration_fd_process_incoming(QEMUFile *f) >> { >> -Coroutine *co = qemu_coroutine_create(process_incoming_migration_co, f); >> - >> +Coroutine *co = qemu_coroutine_create(process_incomin

Re: [Qemu-devel] [PATCH v5 00/22] instrument: Add basic event instrumentation

2017-09-13 Thread Lluís Vilanova
no-reply writes: > Hi, > This series seems to have some coding style problems. See output below for > more information: > Subject: [Qemu-devel] [PATCH v5 00/22] instrument: Add basic event > instrumentation > Message-id: 150525010239.15988.8172586618197849619.st...@frigg.lan > Type: series > =

[Qemu-devel] [PATCH v4 1/3] hw/pci-host/gpex: Set INTx index/gsi mapping

2017-09-13 Thread Eric Auger
From: Pranavkumar Sawargaonkar To implement INTx to gsi routing we need to pass the gpex host bridge the gsi associated to each INTx index. Let's introduce irq_num array and gpex_set_irq_num setter function. Signed-off-by: Pranavkumar Sawargaonkar Signed-off-by: Tushar Jagad Signed-off-by: Eri

[Qemu-devel] [PATCH v4 0/3] Generic PCIe host bridge INTx determination for INTx routing

2017-09-13 Thread Eric Auger
This series implements INTx to gsi routing for ARM VIRT/Gpex. This is a respin of [1] which was lost in limbo. ARM virt uses GPEX PCIe bridge. This latter does not implement INTx to GSI routing. PCIe/INTx assignment works but the consequence is irqfd is not used along with INTx interrupts and VFIO

[Qemu-devel] [PATCH v4 2/3] hw/arm/virt: Set INTx/gsi mapping

2017-09-13 Thread Eric Auger
From: Pranavkumar Sawargaonkar Let's provide the GPEX host bridge with the INTx/gsi mapping. This is needed for INTx/gsi routing. Signed-off-by: Pranavkumar Sawargaonkar Signed-off-by: Tushar Jagad Signed-off-by: Eric Auger Reviewed-by: Andrew Jones Tested-by: Feng Kan --- v3 -> v4: - don

[Qemu-devel] [PATCH v4 3/3] hw/pci-host/gpex: Implement PCI INTx routing

2017-09-13 Thread Eric Auger
From: Pranavkumar Sawargaonkar Now we are able to retrieve the gsi from the INTx pin, let's enable intx_to_irq routing. From that point on, irqfd becomes usable along with INTx when assigning a PCIe device. Signed-off-by: Pranavkumar Sawargaonkar Signed-off-by: Tushar Jagad Signed-off-by: Eric

Re: [Qemu-devel] [PATCH v5 00/22] instrument: Add basic event instrumentation

2017-09-13 Thread Lluís Vilanova
no-reply writes: > Hi, > This series failed automatic build test. Please find the testing commands and > their output below. If you have docker installed, you can probably reproduce > it > locally. > Subject: [Qemu-devel] [PATCH v5 00/22] instrument: Add basic event > instrumentation > Message

Re: [Qemu-devel] [PATCH 0/4] qtest: fix "device_del" out-of-order events

2017-09-13 Thread Thomas Huth
On 13.09.2017 11:36, Peter Xu wrote: > It starts from a "make check" failure on one of my private tree. The > problem is that when we do "device_del" we normally looking for two > things: one response (which is mostly empty), and a REMOVE event. The > tricky point is the event can either be there

Re: [Qemu-devel] [PATCH 1/5] s390x/css: introduce css data stream

2017-09-13 Thread Cornelia Huck
On Mon, 11 Sep 2017 18:36:00 +0200 Halil Pasic wrote: > On 09/06/2017 02:51 PM, Cornelia Huck wrote: > +void ccw_dstream_init(CcwDataStream *cds, CCW1 const *ccw, ORB const > *orb) > +{ > +/* > + * We don't support MIDA (an optional facility) yet and we > +

Re: [Qemu-devel] [PATCH v6 15/19] migration: Create thread infrastructure for multifd recv side

2017-09-13 Thread Juan Quintela
"Daniel P. Berrange" wrote: > On Tue, Aug 08, 2017 at 06:26:25PM +0200, Juan Quintela wrote: >> We make the locking and the transfer of information specific, even if we >> are still receiving things through the main thread. >> >> Signed-off-by: Juan Quintela >> >> -- >> >> We split when we cre

[Qemu-devel] [PATCH v6 00/22] instrument: Add basic event instrumentation

2017-09-13 Thread Lluís Vilanova
This series adds an API to add instrumentation events. It also provides additional APIs for: * Controlling tracing events. * Peek/poke guest memory. TODO: * Replace qi_event_gen_* with generating calls to arbitrary functions (e.g., qi_event_gen_call(num_args, va_list)). * Flush all TBs when an

[Qemu-devel] [PATCH v6 01/22] instrument: Add documentation

2017-09-13 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova --- MAINTAINERS |6 ++ docs/instrument.txt | 173 +++ 2 files changed, 179 insertions(+) create mode 100644 docs/instrument.txt diff --git a/MAINTAINERS b/MAINTAINERS index 36eeb42d19..fb0eaee06a 100644 -

Re: [Qemu-devel] [PATCH 4/5] s390x/css: support ccw IDA

2017-09-13 Thread Cornelia Huck
On Mon, 11 Sep 2017 20:08:16 +0200 Halil Pasic wrote: > On 09/06/2017 03:10 PM, Cornelia Huck wrote: > > On Tue, 5 Sep 2017 13:16:44 +0200 > > Halil Pasic wrote: > > > >> Let's add indirect data addressing support for our virtual channel > >> subsystem. This implementation does no prefetchin

Re: [Qemu-devel] [PATCH 3/5] virtio-ccw: use ccw data stream

2017-09-13 Thread Cornelia Huck
On Mon, 11 Sep 2017 20:14:59 +0200 Halil Pasic wrote: > On 09/06/2017 02:42 PM, Cornelia Huck wrote: > >> @@ -488,7 +446,8 @@ static int virtio_ccw_cb(SubchDev *sch, CCW1 ccw) > >> } else { > >> virtio_bus_get_vdev_config(&dev->bus, vdev->config); > >> /* XXX co

Re: [Qemu-devel] [PATCH 3/4] libqtest: add qmp_device_add()

2017-09-13 Thread Thomas Huth
On 13.09.2017 11:36, Peter Xu wrote: > Since we have qmp_device_del(), pair them up. > > Signed-off-by: Peter Xu > --- > tests/libqtest.c | 15 +++ > tests/libqtest.h | 9 + > 2 files changed, 24 insertions(+) > > diff --git a/tests/libqtest.c b/tests/libqtest.c > index a34

[Qemu-devel] [PATCH v6 02/22] instrument: Add configure-time flag

2017-09-13 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova --- configure |9 + 1 file changed, 9 insertions(+) diff --git a/configure b/configure index fd7e3a5e81..a21d1bceb9 100755 --- a/configure +++ b/configure @@ -356,6 +356,7 @@ pie="" qom_cast_debug="yes" trace_backends="log" trace_file="trace" +instrum

  1   2   3   4   5   >