[Qemu-devel] [PATCH 04/24] vl: rename DisplayType to LegacyDisplayType

2017-11-17 Thread Gerd Hoffmann
qapi DisplayType will replace the current enum. For the transition both will coexist though, so rename it so we don't have a name clash. Signed-off-by: Gerd Hoffmann --- vl.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vl.c b/vl.c index

[Qemu-devel] [PATCH 19/24] console: add and use qemu_display_find_default

2017-11-17 Thread Gerd Hoffmann
Using the new registry instead of #ifdefs in vl.c. Signed-off-by: Gerd Hoffmann --- include/ui/console.h | 1 + ui/console.c | 19 +++ vl.c | 15 +-- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git

[Qemu-devel] [PATCH 08/24] egl-headless: use DisplayOptions

2017-11-17 Thread Gerd Hoffmann
Switch egl-headless ui to use qapi DisplayOptions for configuration. Signed-off-by: Gerd Hoffmann --- include/ui/console.h | 2 +- ui/egl-headless.c| 2 +- vl.c | 3 ++- qapi/ui.json | 5 +++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff

[Qemu-devel] [PATCH 13/24] vl: drop request_opengl variable

2017-11-17 Thread Gerd Hoffmann
Switch over the one leftover user to qapi DisplayType. The delete the unused request_opengl variable. Signed-off-by: Gerd Hoffmann --- vl.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/vl.c b/vl.c index 36eec0d1e0..c04cef83da 100644 --- a/vl.c

Re: [Qemu-devel] HAXM is now open source

2017-11-17 Thread Yu Ning
On 11/17/2017 16:53, Kamil Rytarowski wrote: On 14.11.2017 09:54, Yu Ning wrote: Hello, As some of you may have noticed, since QEMU 2.9.0, an accelerator known as “hax” has been available for Windows and macOS builds of QEMU, thanks to the hard work of Vincent Palatin and help from this

[Qemu-devel] [PULL 5/5] sdl2: Fix broken display updating after the window is hidden

2017-11-17 Thread Gerd Hoffmann
From: Jindrich Makovicka With SDL 2.0.6, calling SDL_ShowWindow during SDL_WINDOWEVENT_HIDDEN blocks all subsequent display updates. Instead of trying to override the change, just update the scon->hidden flag. Signed-off-by: Jindrich Makovicka

[Qemu-devel] [PULL 1/5] sdl2: Do not quit the emulator when an auxilliary window is closed

2017-11-17 Thread Gerd Hoffmann
From: Jindrich Makovicka Signed-off-by: Jindrich Makovicka Message-Id: <20171112193032.9724-3-makov...@gmail.com> Signed-off-by: Gerd Hoffmann --- ui/sdl2.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git

[Qemu-devel] [PULL 0/5] Ui 20171117 patches

2017-11-17 Thread Gerd Hoffmann
The following changes since commit 1fa0f627d03cd0d0755924247cafeb42969016bf: Update version for v2.11.0-rc1 release (2017-11-14 18:37:49 +) are available in the git repository at: git://git.kraxel.org/qemu tags/ui-20171117-pull-request for you to fetch changes up

[Qemu-devel] [PULL 2/5] sdl2: Use the same pointer show/hide logic for absolute and relative mode

2017-11-17 Thread Gerd Hoffmann
From: Jindrich Makovicka Also use a proper enum parameter for SDL_ShowCursor Signed-off-by: Jindrich Makovicka Message-Id: <20171112193032.9724-4-makov...@gmail.com> Signed-off-by: Gerd Hoffmann --- ui/sdl2.c | 24

[Qemu-devel] [PULL 3/5] sdl2: Fix dead keyboard after fullsceen

2017-11-17 Thread Gerd Hoffmann
From: Jindrich Makovicka Signed-off-by: Jindrich Makovicka Message-Id: <20171112193032.9724-7-makov...@gmail.com> Signed-off-by: Gerd Hoffmann --- ui/sdl2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/sdl2.c b/ui/sdl2.c

[Qemu-devel] [PULL 4/5] sdl2: Do not leave grab when fullscreen

2017-11-17 Thread Gerd Hoffmann
From: Jindrich Makovicka Prevents displaying of a doubled mouse pointer when moving the pointer to the screen edges when fullscreen. Signed-off-by: Jindrich Makovicka Message-Id: <20171112193032.9724-8-makov...@gmail.com> Signed-off-by: Gerd Hoffmann

[Qemu-devel] [Bug 1732679] Re: Cisco NX-OSv 9k crashes during boot with qemu 2.10.1(Debian 1:2.10.0+dfsg-2)

2017-11-17 Thread jean-christophe manciot
Actually, this issue is solved with a fresher ovmf package than the one shipped by default with Ubuntu 17.04 (0~20161202.7bbe0b3e-1). This issue should be closed. ** Summary changed: - Cisco NX-OSv 9k crashes during boot with qemu 2.10.1(Debian 1:2.10.0+dfsg-2) + Cisco NX-OSv 9k crashes during

[Qemu-devel] [PATCH] ps2: simplify ps2_common_post_load()

2017-11-17 Thread Gerd Hoffmann
It's broken right now, due to q->data and tmp_data data types not being the same. So, with that being unnoticed for years I guess the queue backward compatibility handling (for old qemu versions with a larger queue) can't be that important. So, in case we find any queue data we can't accept just

Re: [Qemu-devel] [PATCH v2 for-2.11] hw/net/vmxnet3: Fix code to work on big endian hosts, too

2017-11-17 Thread Jason Wang
On 2017年11月14日 19:20, Thomas Huth wrote: Since commit ab06ec43577177a442e8 we test the vmxnet3 device in the pxe-tester, too (when running "make check SPEED=slow"). This now revealed that the code is not working there if the host is a big endian machine (for example ppc64 or s390x) - "make

Re: [Qemu-devel] [PATCH v1] ps2: check PS2Queue pointers in post_load routine

2017-11-17 Thread Gerd Hoffmann
> > diff --git a/hw/input/ps2.c b/hw/input/ps2.c > > index f388a23c8e..de171a28dd 100644 > > --- a/hw/input/ps2.c > > +++ b/hw/input/ps2.c > > @@ -1225,24 +1225,21 @@ static void ps2_common_reset(PS2State *s) > > static void ps2_common_post_load(PS2State *s) > > { > > PS2Queue *q = >queue;

Re: [Qemu-devel] [PULL 0/9] pc, pci, virtio: fixes for rc1

2017-11-17 Thread Peter Maydell
On 16 November 2017 at 16:40, Michael S. Tsirkin wrote: > The following changes since commit 6a7cb8c3d674815cab08d884740d203fded12249: > > Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20171115' into > staging (2017-11-16 12:45:14 +) > > are available in the git

Re: [Qemu-devel] [PATCH 1/2] virtio: Add queue interface to restore avail index from vring used index

2017-11-17 Thread Jens Freimann
On Thu, Nov 16, 2017 at 06:48:34PM +, Maxime Coquelin wrote: In case of backend crash, it is not possible to restore internal avail index from the backend value as vhost_get_vring_base callback fails. This patch provides a new interface to restore internal avail index from the vring used

Re: [Qemu-devel] [PATCH 2/2] vhost: restore avail index from vring used index on disconnection

2017-11-17 Thread Jens Freimann
On Thu, Nov 16, 2017 at 06:48:35PM +, Maxime Coquelin wrote: vhost_virtqueue_stop() gets avail index value from the backend, except if the backend is not responding. It happens when the backend crashes, and in this case, internal state of the virtio queue is inconsistent, making packets to

Re: [Qemu-devel] [PATCH] hax-interface: Add BSD license

2017-11-17 Thread Yu Ning
On 11/17/2017 2:00, Eduardo Habkost wrote: On Thu, Nov 16, 2017 at 07:47:44AM +0100, Stefan Weil wrote: Am 16.11.2017 um 07:50 schrieb yu.n...@linux.intel.com: From: Yu Ning hax-interface.h defines the interface between the HAXM kernel module and the HAXM QEMU

Re: [Qemu-devel] HAXM is now open source

2017-11-17 Thread Kamil Rytarowski
On 14.11.2017 09:54, Yu Ning wrote: > Hello, > > As some of you may have noticed, since QEMU 2.9.0, an accelerator known > as “hax” has been available for Windows and macOS builds of QEMU, thanks > to the hard work of Vincent Palatin and help from this community (Paolo > Bonzini, Stefan Weil, et

Re: [Qemu-devel] [PATCH v1 for-2.11 0/3] s390x: fixes for SIGP and DIAG 308

2017-11-17 Thread Christian Borntraeger
On 11/17/2017 09:10 AM, Cornelia Huck wrote: > On Thu, 16 Nov 2017 18:23:35 +0100 > Cornelia Huck wrote: > >> On Thu, 16 Nov 2017 18:05:23 +0100 >> David Hildenbrand wrote: >> >>> First one also applies to KVM SIGP handling. The other two only >>> apply to

Re: [Qemu-devel] HAXM is now open source

2017-11-17 Thread Yu Ning
On 11/17/2017 16:30, Thomas Huth wrote: On 17.11.2017 09:17, Yu Ning wrote: [...] Is there a preferred document format for the QEMU blog, e.g. Markdown? Yes, we're using markdown of Jekyll (https://jekyllrb.com/docs/posts/). Please clone the qemu-web repository (see

Re: [Qemu-devel] HAXM is now open source

2017-11-17 Thread Thomas Huth
On 17.11.2017 09:17, Yu Ning wrote: [...] > Is there a preferred document format for the QEMU blog, e.g. Markdown? Yes, we're using markdown of Jekyll (https://jekyllrb.com/docs/posts/). Please clone the qemu-web repository (see https://git.qemu.org/?p=qemu-web.git), and have a look in the

[Qemu-devel] [PATCH] Don't ignore O_DIRECT flag in the 9pfs server

2017-11-17 Thread jiangyiwen
Now v9fs in linux has already supported O_DIRECT(v9fs_direct_IO), when guest user open file with O_DIRECT flag and return success, so user hopes data doesn't pass through page cache, but 9pfs in qemu ignore direct disk access and use host page cache, it is not match to DIRECT_IO semantic, so we

Re: [Qemu-devel] [PATCH for-2.12 0/4] qmp dirty bitmap API

2017-11-17 Thread Vladimir Sementsov-Ogievskiy
17.11.2017 06:10, John Snow wrote: On 11/16/2017 03:17 AM, Vladimir Sementsov-Ogievskiy wrote: 16.11.2017 00:20, John Snow wrote: On 11/13/2017 11:20 AM, Vladimir Sementsov-Ogievskiy wrote: Hi all. There are three qmp commands, needed to implement external backup API. Using these three

Re: [Qemu-devel] HAXM is now open source

2017-11-17 Thread Yu Ning
On 11/15/2017 22:18, Paolo Bonzini wrote: On 15/11/2017 09:25, Yu Ning wrote: On 11/15/2017 3:13, John Snow wrote: On 11/14/2017 06:09 AM, Thomas Huth wrote: That's great news! I hope this all will help to promote QEMU on Windows and macOS quite a bit! However, during the past months, I

Re: [Qemu-devel] [PATCH v1 for-2.11 0/3] s390x: fixes for SIGP and DIAG 308

2017-11-17 Thread Cornelia Huck
On Thu, 16 Nov 2017 18:23:35 +0100 Cornelia Huck wrote: > On Thu, 16 Nov 2017 18:05:23 +0100 > David Hildenbrand wrote: > > > First one also applies to KVM SIGP handling. The other two only > > apply to TCG (allowing to IPL from disk with more than 1 VCPU-

Re: [Qemu-devel] [PATCH v1 for-2.11 0/3] s390x: fixes for SIGP and DIAG 308

2017-11-17 Thread Cornelia Huck
On Thu, 16 Nov 2017 21:55:02 +0100 Christian Borntraeger wrote: > On 11/16/2017 06:23 PM, Cornelia Huck wrote: > > On Thu, 16 Nov 2017 18:05:23 +0100 > > David Hildenbrand wrote: > > > >> First one also applies to KVM SIGP handling. The other two

Re: [Qemu-devel] [PATCH v8 02/14] block/dirty-bitmap: add locked version of bdrv_release_dirty_bitmap

2017-11-17 Thread Vladimir Sementsov-Ogievskiy
11.11.2017 01:52, John Snow wrote: On 10/30/2017 12:32 PM, Vladimir Sementsov-Ogievskiy wrote: It is needed to realize bdrv_dirty_bitmap_release_successor in the following patch. OK, but... Signed-off-by: Vladimir Sementsov-Ogievskiy --- block/dirty-bitmap.c |

<    1   2   3