Re: [Qemu-devel] [PATCH v17 00/14] Drop in_use from BlockDriverState and enable point-in-time snapshot exporting over NBD

2014-04-02 Thread Fam Zheng
On Mon, 03/10 15:25, Fam Zheng wrote: v17: Rebase to current master. Ping?

[Qemu-devel] [PATCH] block: Handle error of bdrv_getlength in bdrv_create_dirty_bitmap

2014-04-02 Thread Fam Zheng
bdrv_getlength could fail, check the return value before using it. Signed-off-by: Fam Zheng f...@redhat.com --- block-migration.c | 28 block.c | 10 -- block/mirror.c| 5 - include/block/block.h | 3 ++- 4 files changed, 38

[Qemu-devel] [Bug 1278977] Re: qemu-system-sparc64 crash when initializing disk

2014-04-02 Thread wbx
Hi, here is the kernel and image: http://www.openadk.org/sparc64/ Inside the system do: rw tar xvf perl-5.18.1.tar.gz The kernel contains full debug info. Be sure that your system has a high load. -- You received this bug notification because you are a member of qemu- devel-ml, which is

Re: [Qemu-devel] [PULL for-2.0 2/2] cpu: Avoid QOM casts for CPU()

2014-04-02 Thread Laurent Desnogues
On Mon, Mar 31, 2014 at 7:37 PM, Andreas Färber afaer...@suse.de wrote: CPU address spaces touching load and store helpers as well as the movement of (almost) all fields from CPU_COMMON to CPUState have led to a noticeable increase of CPU() usage in hot paths for both TCG and KVM. While

[Qemu-devel] Framebuffer corruption in QEMU or Linux's cirrus driver

2014-04-02 Thread Andy Lutomirski
Running: ./virtme-run --installed-kernel from this virtme commit: https://git.kernel.org/cgit/utils/kernel/virtme/virtme.git/commit/?id=2b409a086d15b7a878c7d5204b1f44a6564a341f results in a bunch of missing lines of text once bootup finishes. Pressing enter a few times gradually fixes it. I

Re: [Qemu-devel] Framebuffer corruption in QEMU or Linux's cirrus driver

2014-04-02 Thread Andy Lutomirski
On Tue, Apr 1, 2014 at 3:09 PM, Andy Lutomirski l...@amacapital.net wrote: Running: ./virtme-run --installed-kernel from this virtme commit: https://git.kernel.org/cgit/utils/kernel/virtme/virtme.git/commit/?id=2b409a086d15b7a878c7d5204b1f44a6564a341f results in a bunch of missing lines

[Qemu-devel] [Bug 1301047] [NEW] Windows guest freezes after exiting an 3D application on guest.

2014-04-02 Thread zelluz
Public bug reported: I have the following issue with my Windows 8.1 guest. (Technical stuff is at the bottom): I have vfio-binded my graphics card(NVIDIA GTX670) and is passing it through to the guest. I run heavy 3D applications such as games(Guild Wars 2, Diablo 3, DOTA etc) which works

[Qemu-devel] [PATCH 0/2] unset RAMBlock idstr when unregistering

2014-04-02 Thread Hu Tao
When hotplug an memdev that was previously plugged and unplugged, RAMBlock idstr is not cleared and triggers an assert error in qemu_ram_set_idstr(). This series fixes it. Hu Tao (2): exec: introduce qemu_ram_unset_idstr() to unset RAMBlock idstr unset RAMBlock idstr when unregister

[Qemu-devel] [PATCH 1/2] exec: introduce qemu_ram_unset_idstr() to unset RAMBlock idstr

2014-04-02 Thread Hu Tao
Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- exec.c| 26 +- include/exec/cpu-common.h | 1 + 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/exec.c b/exec.c index 91513c6..cbf7923 100644 --- a/exec.c +++ b/exec.c @@ -1202,17 +1202,24

[Qemu-devel] [PATCH 2/2] unset RAMBlock idstr when unregister MemoryRegion

2014-04-02 Thread Hu Tao
Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- savevm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/savevm.c b/savevm.c index 22123be..6f4b1a5 100644 --- a/savevm.c +++ b/savevm.c @@ -1208,7 +1208,7 @@ void vmstate_register_ram(MemoryRegion *mr, DeviceState *dev) void

[Qemu-devel] ATA timeouts on Solaris/OpenIndiana/Opensolaris

2014-04-02 Thread Sai Prajeeth
Hi I am booting an OpenIndiana image on qemu by using the -smp 4 option. I seem to be running into this known bug http://docs.oracle.com/cd/E19253-01/820-5245/ggmsj/index.html Can someone tell me how can i go about doing workaround 2 on qemu?? Workaround 3,4 are not an option for me. I already

Re: [Qemu-devel] [PATCH/RFC] s390: Provide a configuration and control device

2014-04-02 Thread Christian Borntraeger
On 01/04/14 16:47, Christian Borntraeger wrote: We want to configure several things in KVM that go beyond what ENABLE_CAP (we need payload) or ONE_REG (we need it for the VM and we need to do more complex actions) can provide. Instead of adding several s390 specific ioctls, lets provide a

Re: [Qemu-devel] Unresponsive linux guest once migrated

2014-04-02 Thread Marcin Gibuła
It's looking good so far, after a few migrations (it takes a while to test because I'm waiting at least 5 hours between migrations). I'll be happier once I've done a couple of weeks of this without any failures! Does anyone have any hints how to debug this thing? :( I've tried to put hanged

Re: [Qemu-devel] [RFC PATCH]pci-assign: Fix memory out of bound when MSI-X table not fit in a single page

2014-04-02 Thread Gonglei (Arei)
Hi, Actually I move the judge in function assigned_dev_register_msix_mmio. Because assigned_dev_register_msix_mmio do not address the return value, if dev-msix_table is null, this will result a segfault. Right? I see the confusion, there is a bug there but I think it should be fixed

Re: [Qemu-devel] [PATCH/RFC] s390: Provide a configuration and control device

2014-04-02 Thread Christian Borntraeger
On 02/04/14 10:39, Alexander Graf wrote: On 02.04.14 10:31, Christian Borntraeger wrote: On 01/04/14 16:47, Christian Borntraeger wrote: We want to configure several things in KVM that go beyond what ENABLE_CAP (we need payload) or ONE_REG (we need it for the VM and we need to do more

[Qemu-devel] [PATCH] xbzrle: page may not be update if it has been in the cache

2014-04-02 Thread arei.gonglei
From: ChenLiang chenlian...@huawei.com The cache_insert don't check whether the page has been in the cache. Signed-off-by: ChenLiang chenlian...@huawei.com Signed-off-by: Gonglei arei.gong...@huawei.com --- page_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Qemu-devel] [PATCH v4 5/8] XBZRLE: optimize XBZRLE to decrease the cache misses

2014-04-02 Thread Gonglei (Arei)
Subject: Re: [Qemu-devel] [PATCH v4 5/8] XBZRLE: optimize XBZRLE to decrease the cache misses I've got a world with just patches 1..5 on that's seeing corruptions, but I've not seen where the problem is. So far the world with 1..4 on hasn't hit those corruption, but maybe I need to test

Re: [Qemu-devel] Unresponsive linux guest once migrated

2014-04-02 Thread Dr. David Alan Gilbert
* Marcin Gibu??a (m.gib...@beyond.pl) wrote: It's looking good so far, after a few migrations (it takes a while to test because I'm waiting at least 5 hours between migrations). I'll be happier once I've done a couple of weeks of this without any failures! Does anyone have any hints how to

Re: [Qemu-devel] Unresponsive linux guest once migrated

2014-04-02 Thread Marcin Gibuła
Can you give: 1) A backtrace from the guest thread apply all bt full in gdb You mean from gdb attached to hanged guest? I'll try to get it. From what I remember it looks rather normal - busy executing guest code. 2) What's the earliest/newest qemu versions you've seen this

Re: [Qemu-devel] Unresponsive linux guest once migrated

2014-04-02 Thread Dr. David Alan Gilbert
* Marcin Gibu??a (m.gib...@beyond.pl) wrote: Can you give: 1) A backtrace from the guest thread apply all bt full in gdb You mean from gdb attached to hanged guest? I'll try to get it. From what I remember it looks rather normal - busy executing guest code. yes; if you can

[Qemu-devel] [PATCH 2.0] PPC: openpic_kvm: Filter memory events properly

2014-04-02 Thread Alexander Graf
Commit 6f1834a2b exposed a bug in openpic_kvm where we don't filter for memory events that only happen to the region we want to know events about. Add proper filtering, fixing the e500plat target with KVM. Signed-off-by: Alexander Graf ag...@suse.de --- hw/intc/openpic_kvm.c | 10 ++ 1

Re: [Qemu-devel] [RFC PATCH V4 2/5] qapi: add event helper functions

2014-04-02 Thread Wenchao Xia
于 2014/3/28 16:21, Markus Armbruster 写道: Eric Blake ebl...@redhat.com writes: On 03/27/2014 02:03 AM, Wenchao Xia wrote: This file holds some functions that do not need to be generated. Signed-off-by: Wenchao Xia wenchaoq...@gmail.com --- include/qapi/qmp-event.h | 27

Re: [Qemu-devel] [PATCH] net: Update netdev peer on link change

2014-04-02 Thread Michael S. Tsirkin
On Thu, Nov 21, 2013 at 09:05:51PM -0500, Vlad Yasevich wrote: When a link change occurs on a backend (like tap), we currently do not propage such change to the nic. As a result, when someone turns off a link on a tap device, for instance, then a guest doesn't see that change and continues to

Re: [Qemu-devel] Unresponsive linux guest once migrated

2014-04-02 Thread Marcin Gibuła
On 02.04.2014 11:39, Dr. David Alan Gilbert wrote: * Marcin Gibu??a (m.gib...@beyond.pl) wrote: Can you give: 1) A backtrace from the guest thread apply all bt full in gdb You mean from gdb attached to hanged guest? I'll try to get it. From what I remember it looks rather

Re: [Qemu-devel] [PATCH] net: Update netdev peer on link change

2014-04-02 Thread Yan Vugenfirer
On Apr 2, 2014, at 11:51 AM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Nov 21, 2013 at 09:05:51PM -0500, Vlad Yasevich wrote: When a link change occurs on a backend (like tap), we currently do not propage such change to the nic. As a result, when someone turns off a link on a tap

Re: [Qemu-devel] [PATCH 2/6] intc/openpic_kvm: fix MemListener delete regiion callback function

2014-04-02 Thread Andreas Färber
Am 02.04.2014 10:54, schrieb Alexander Graf: On 24.03.14 15:25, Andreas Färber wrote: Am 23.03.2014 10:28, schrieb Prasad Joshi: Signed-off-by: Prasad Joshi prasadjoshi.li...@gmail.com --- hw/intc/openpic_kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Thanks for spotting

Re: [Qemu-devel] [PATCH] net: Update netdev peer on link change

2014-04-02 Thread Michael S. Tsirkin
On Wed, Apr 02, 2014 at 01:46:14PM +0300, Yan Vugenfirer wrote: On Apr 2, 2014, at 11:51 AM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Nov 21, 2013 at 09:05:51PM -0500, Vlad Yasevich wrote: When a link change occurs on a backend (like tap), we currently do not propage such

Re: [Qemu-devel] Qemu 2.0 regression with xen: qemu crash on any domUs S.O. start

2014-04-02 Thread Fabio Fantoni
Il 01/04/2014 18:24, Laszlo Ersek ha scritto: On 04/01/14 17:01, Fabio Fantoni wrote: Today I tried latest qemu 2.0 compiled from git (commit 63678e17cf399ff81b93417fe7bee8d6ef6b6b1b) on this dom0: Debian 7 (Wheezy) 64 bit with kernel from package linux-image-3.2.0-4-amd64 version 3.2.54-2 and

Re: [Qemu-devel] [PATCH 2/6] intc/openpic_kvm: fix MemListener delete regiion callback function

2014-04-02 Thread Alexander Graf
Am 02.04.2014 um 12:53 schrieb Andreas Färber afaer...@suse.de: Am 02.04.2014 10:54, schrieb Alexander Graf: On 24.03.14 15:25, Andreas Färber wrote: Am 23.03.2014 10:28, schrieb Prasad Joshi: Signed-off-by: Prasad Joshi prasadjoshi.li...@gmail.com --- hw/intc/openpic_kvm.c | 2 +-

[Qemu-devel] [Bug 1285708] Re: FreeBSD Guest crash on boot due to xsave instruction issue

2014-04-02 Thread Jesse Pretorius
** Also affects: qemu-kvm Importance: Undecided Status: New ** Also affects: qemu (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1285708

Re: [Qemu-devel] [PATCH] QEMU: ARM: boot: Load kernel at an Image friendly address

2014-04-02 Thread Peter Crosthwaite
On Wed, Apr 2, 2014 at 3:10 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 25 March 2014 03:34, Joel Fernandes jo...@ti.com wrote: Loading kernel at offset 0x1 works only for zImage, but not for Image, because the kernel expect the start of decompressed kernel (.head.text) to be at

Re: [Qemu-devel] [PATCH v5 27/37] target-arm: Remove THUMB2EE feature from AArch64 'any' CPU

2014-04-02 Thread Peter Crosthwaite
On Sat, Mar 29, 2014 at 2:10 AM, Peter Maydell peter.mayd...@linaro.org wrote: The AArch64 usermode 'any' CPU type was accidentally specified with the ARM_FEATURE_THUMB2EE bit set. This is incorrect since ARMv8 removes Thumb2EE completely. Since we never implemented Thumb2EE anyway having the

Re: [Qemu-devel] [PATCH 0/4] Fix relative pointer tracking on Gtk UI

2014-04-02 Thread Takashi Iwai
At Tue, 01 Apr 2014 16:34:15 -0400, Cole Robinson wrote: On 02/13/2014 06:15 AM, Takashi Iwai wrote: Hi, this is a series of patches to fix / improve the behavior of Gtk UI in the relative pointer tracking mode. Most people didn't notice the bug likely because it doesn't appear as

Re: [Qemu-devel] [PULL for-2.0 2/2] cpu: Avoid QOM casts for CPU()

2014-04-02 Thread Laurent Desnogues
On Mon, Mar 31, 2014 at 7:37 PM, Andreas Färber afaer...@suse.de wrote: CPU address spaces touching load and store helpers as well as the movement of (almost) all fields from CPU_COMMON to CPUState have led to a noticeable increase of CPU() usage in hot paths for both TCG and KVM. While

[Qemu-devel] [PATCH v2 0/4] Fix relative pointer tracking on Gtk UI (v2)

2014-04-02 Thread Takashi Iwai
Hi, this is the renewed patch series, just rebased the previous ones on top of the current git tree. Below is the original description: *** Hi, this is a series of patches to fix / improve the behavior of Gtk UI in the relative pointer tracking mode. Most people didn't notice the bug likely

[Qemu-devel] [PATCH v2 4/4] gtk: Add Grab On Click option

2014-04-02 Thread Takashi Iwai
I simply like it better, you don't? :) Signed-off-by: Takashi Iwai ti...@suse.de --- ui/gtk.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/ui/gtk.c b/ui/gtk.c index 9b8df1224fdb..ffaf91ea453a 100644 --- a/ui/gtk.c +++ b/ui/gtk.c @@ -141,6 +141,7 @@ typedef struct

[Qemu-devel] [PATCH v2 3/4] gtk: Remember the last grabbed pointer position

2014-04-02 Thread Takashi Iwai
It's pretty annoying that the pointer reappears at a random place once after grabbing and ungrabbing the input. Better to restore to the original position where the pointer was grabbed. Reference: https://bugzilla.novell.com/show_bug.cgi?id=849587 Signed-off-by: Takashi Iwai ti...@suse.de ---

[Qemu-devel] [PATCH v2 1/4] gtk: Use gtk generic event signal instead of motion-notify-event

2014-04-02 Thread Takashi Iwai
The GDK motion-notify-event isn't generated when the pointer goes out of the target window even if the pointer is grabbed, which essentially means to lose the pointer tracking in gtk-ui. Meanwhile the generic event signal is sent when the pointer is grabbed, so we can use this and pick the motion

[Qemu-devel] [PATCH v2 2/4] gtk: Fix the relative pointer tracking mode

2014-04-02 Thread Takashi Iwai
The relative pointer tracking mode was still buggy even after the previous fix of the motion-notify-event since the events are filtered out when the pointer moves outside the drawing window due to the boundary check for the absolute mode. This patch fixes the issue by moving the unnecessary

Re: [Qemu-devel] E820 (Re: [v4 PATCH 00/12] SMBIOS: build full tables in QEMU)

2014-04-02 Thread Gabriel L. Somlo
On Wed, Apr 02, 2014 at 12:35:26AM +0200, Laszlo Ersek wrote: On 04/02/14 00:00, Kevin O'Connor wrote: On Tue, Apr 01, 2014 at 11:44:12PM +0200, Laszlo Ersek wrote: Right now, OVMF can accept individual fields, or table-at-a-time blobs, via fw_cfg. The internal interface

[Qemu-devel] [PATCH for-2.0] iscsi: recognize invalid field ASCQ from WRITE SAME command

2014-04-02 Thread Paolo Bonzini
Some targets may return invalid field as the ASCQ from WRITE SAME if they support the command only without the UNMAP field. Recognize that, and return ENOTSUP just like for invalid operation code. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- block/iscsi.c | 3 ++- 1 file changed, 2

Re: [Qemu-devel] [PATCH] QEMU: ARM: boot: Load kernel at an Image friendly address

2014-04-02 Thread Peter Maydell
On 2 April 2014 13:11, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: Like others, I have been carrying this change locally. Good to see it up! Why are you all booting raw Images anyway (just out of curiosity)? All my test cases boot either a zImage or a uImage, or occasionally a full SD

Re: [Qemu-devel] [PATCH for-2.0 2/2] prep: remove CPU reset entry point hack related to OpenHack'Ware

2014-04-02 Thread Paolo Bonzini
Il 01/04/2014 23:19, Hervé Poussineau ha scritto: Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/ppc/prep.c |3 --- 1 file changed, 3 deletions(-) diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c index 035b5b2..dfe4a5c 100644 --- a/hw/ppc/prep.c +++ b/hw/ppc/prep.c @@ -346,9 +346,6

Re: [Qemu-devel] [PATCH] QEMU: ARM: boot: Load kernel at an Image friendly address

2014-04-02 Thread Peter Crosthwaite
On Wed, Apr 2, 2014 at 10:47 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 2 April 2014 13:11, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: Like others, I have been carrying this change locally. Good to see it up! Why are you all booting raw Images anyway (just out of

[Qemu-devel] [PATCH for-2.0] iscsi: ignore flushes on scsi-generic devices

2014-04-02 Thread Paolo Bonzini
Non-block SCSI devices do not support flushing, but we may still send them requests via bdrv_flush_all. Just ignore them. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- block/iscsi.c | 4 1 file changed, 4 insertions(+) diff --git a/block/iscsi.c b/block/iscsi.c index

Re: [Qemu-devel] [PATCH] net: Update netdev peer on link change

2014-04-02 Thread Vlad Yasevich
On 04/02/2014 04:51 AM, Michael S. Tsirkin wrote: On Thu, Nov 21, 2013 at 09:05:51PM -0500, Vlad Yasevich wrote: When a link change occurs on a backend (like tap), we currently do not propage such change to the nic. As a result, when someone turns off a link on a tap device, for instance,

Re: [Qemu-devel] [PATCH v2 1/4] gtk: Use gtk generic event signal instead of motion-notify-event

2014-04-02 Thread Cole Robinson
On 04/02/2014 08:32 AM, Takashi Iwai wrote: The GDK motion-notify-event isn't generated when the pointer goes out of the target window even if the pointer is grabbed, which essentially means to lose the pointer tracking in gtk-ui. Meanwhile the generic event signal is sent when the pointer

Re: [Qemu-devel] [PATCH v2 2/4] gtk: Fix the relative pointer tracking mode

2014-04-02 Thread Cole Robinson
On 04/02/2014 08:32 AM, Takashi Iwai wrote: The relative pointer tracking mode was still buggy even after the previous fix of the motion-notify-event since the events are filtered out when the pointer moves outside the drawing window due to the boundary check for the absolute mode. This

Re: [Qemu-devel] [PATCH v2 3/4] gtk: Remember the last grabbed pointer position

2014-04-02 Thread Cole Robinson
On 04/02/2014 08:32 AM, Takashi Iwai wrote: It's pretty annoying that the pointer reappears at a random place once after grabbing and ungrabbing the input. Better to restore to the original position where the pointer was grabbed. Reference: https://bugzilla.novell.com/show_bug.cgi?id=849587

Re: [Qemu-devel] [PATCH v2 4/4] gtk: Add Grab On Click option

2014-04-02 Thread Cole Robinson
On 04/02/2014 08:32 AM, Takashi Iwai wrote: I simply like it better, you don't? :) In fact, relative mouse mode is a pain without this feature, you need to manually initiate a grab with ctrl+alt+g before mouse movement will even work. Compare to our sdl front end, or virt-viewer, vinagre,

Re: [Qemu-devel] Qemu 2.0 regression with xen: qemu crash on any domUs S.O. start

2014-04-02 Thread Laszlo Ersek
On 04/02/14 13:13, Fabio Fantoni wrote: Il 01/04/2014 18:24, Laszlo Ersek ha scritto: On 04/01/14 17:01, Fabio Fantoni wrote: Today I tried latest qemu 2.0 compiled from git (commit 63678e17cf399ff81b93417fe7bee8d6ef6b6b1b) on this dom0: Debian 7 (Wheezy) 64 bit with kernel from package

Re: [Qemu-devel] E820 (Re: [v4 PATCH 00/12] SMBIOS: build full tables in QEMU)

2014-04-02 Thread Laszlo Ersek
On 04/02/14 14:38, Gabriel L. Somlo wrote: On Wed, Apr 02, 2014 at 12:35:26AM +0200, Laszlo Ersek wrote: On 04/02/14 00:00, Kevin O'Connor wrote: On Tue, Apr 01, 2014 at 11:44:12PM +0200, Laszlo Ersek wrote: Right now, OVMF can accept individual fields, or table-at-a-time blobs, via fw_cfg.

Re: [Qemu-devel] [PATCH v2 4/4] gtk: Add Grab On Click option

2014-04-02 Thread Takashi Iwai
At Wed, 02 Apr 2014 09:28:54 -0400, Cole Robinson wrote: On 04/02/2014 08:32 AM, Takashi Iwai wrote: I simply like it better, you don't? :) In fact, relative mouse mode is a pain without this feature, you need to manually initiate a grab with ctrl+alt+g before mouse movement will even

[Qemu-devel] [PATCH for-2.0] iscsi: always query max WRITE SAME length

2014-04-02 Thread Paolo Bonzini
Max WRITE SAME length is also used when the UNMAP bit is zero, so it should be queried even if LBPWS=0. Same for the optimal transfer length. However, the write_zeroes_alignment only matters for UNMAP=1 so we still restrict it to LBPWS=1. Signed-off-by: Paolo Bonzini pbonz...@redhat.com ---

Re: [Qemu-devel] [PATCH for-2.0 2/2] prep: remove CPU reset entry point hack related to OpenHack'Ware

2014-04-02 Thread Andreas Färber
Am 02.04.2014 14:48, schrieb Paolo Bonzini: Il 01/04/2014 23:19, Hervé Poussineau ha scritto: Signed-off-by: Hervé Poussineau hpous...@reactos.org --- hw/ppc/prep.c |3 --- 1 file changed, 3 deletions(-) diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c index 035b5b2..dfe4a5c 100644 ---

Re: [Qemu-devel] [PATCH v2 4/4] gtk: Add Grab On Click option

2014-04-02 Thread Cole Robinson
On 04/02/2014 09:42 AM, Takashi Iwai wrote: At Wed, 02 Apr 2014 09:28:54 -0400, Cole Robinson wrote: On 04/02/2014 08:32 AM, Takashi Iwai wrote: I simply like it better, you don't? :) In fact, relative mouse mode is a pain without this feature, you need to manually initiate a grab with

[Qemu-devel] Does QEMU support mips64 SMP support?

2014-04-02 Thread Maryyam Muhammad Din
I am using octeon linux as guest operating system with mips64. I want to use SMP support. When i use '-smp 2' it display following error: *Number of SMP cpus requested (2), exceeds max cpus supported by machine `octeon' (1)* Does QEMU support SMP for mips64? Regards -- Maryyam Muhammad Din

Re: [Qemu-devel] [PATCH/RFC] s390: Provide a configuration and control device

2014-04-02 Thread Alexander Graf
On 02.04.14 10:31, Christian Borntraeger wrote: On 01/04/14 16:47, Christian Borntraeger wrote: We want to configure several things in KVM that go beyond what ENABLE_CAP (we need payload) or ONE_REG (we need it for the VM and we need to do more complex actions) can provide. Instead of adding

Re: [Qemu-devel] [PATCH 2/6] intc/openpic_kvm: fix MemListener delete regiion callback function

2014-04-02 Thread Alexander Graf
On 24.03.14 15:25, Andreas Färber wrote: Am 23.03.2014 10:28, schrieb Prasad Joshi: Signed-off-by: Prasad Joshi prasadjoshi.li...@gmail.com --- hw/intc/openpic_kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Thanks for spotting this, applied to ppc-next (w/ typo fix in

[Qemu-devel] [RFC for-2.0] bswap: Fix build on FreeBSD 10.0

2014-04-02 Thread Andreas Färber
FreeBSD 10.0-RELEASE has bswap16() etc. macros defined in sys/endian.h, which leads to a conflict with our static inline definitions. Force using the system version of the macros. Signed-off-by: Andreas Färber andreas.faer...@web.de --- On 9.0-RELEASE I did not have this issue, so unsure if

[Qemu-devel] [PATCH] Patch for shrinking qcow2 disk image

2014-04-02 Thread Jun Li
Signed-off-by: Jun Li junm...@gmail.com This patch can make sure the data still existing after shrinking. And only discard the unused (guest) clusters. If shrinking to the size which stored data, It will return an error and will not do any change. As this patch can support shrinking, so changed

[Qemu-devel] [PATCH] qcow2: Patch for shrinking qcow2 disk image

2014-04-02 Thread Jun Li
Signed-off-by: Jun Li junm...@gmail.com This patch can make sure the data still existing after shrinking. And only discard the unused (guest) clusters. If shrinking to the size which stored data, It will return an error and will not do any change. As this patch can support shrinking, so changed

[Qemu-devel] [PATCH] qcow2: Patch for shrinking qcow2 disk image

2014-04-02 Thread Jun Li
Signed-off-by: Jun Li junm...@gmail.com This patch can make sure the data still existing after shrinking. And only discard the unused (guest) clusters. If shrinking to the size which stored data, It will return an error and will not do any change. As this patch can support shrinking, so changed

[Qemu-devel] [PATCH] Patch for shrinking qcow2 disk image

2014-04-02 Thread Jun Li
Signed-off-by: Jun Li junm...@gmail.com This patch can make sure the data still existing after shrinking. And only discard the unused (guest) clusters. If shrinking to the size which stored data, It will return an error and will not do any change. As this patch can support shrinking, so changed

[Qemu-devel] [PATCH] Patch for shrinking qcow2 disk image

2014-04-02 Thread Jun Li
Signed-off-by: Jun Li junm...@gmail.com This patch can make sure the data still existing after shrinking. And only discard the unused (guest) clusters. If shrinking to the size which stored data, It will return an error and will not do any change. As this patch can support shrinking, so changed

Re: [Qemu-devel] [PATCH] qemu-thread-posix: Fix build against older glibc version

2014-04-02 Thread Ed Maste
On 11 March 2014 12:13, Dr. David Alan Gilbert dgilb...@redhat.com wrote: Except pthread_setname_np is not portable and was previously ifdef'd _GNU_SOURCE anyway, and the parameters on other OSs maybe different (freebsd has got a 3rd parameter for no apparent reason). No, glibc's arguments

Re: [Qemu-devel] drive_del vs. device_del: what should come first?

2014-04-02 Thread Heinz Graalfs
On 01/04/14 17:48, Markus Armbruster wrote: Heinz Graalfs graa...@linux.vnet.ibm.com writes: Hi Kevin, doing a virsh detach-device ... ends up in the following QEMU monitor commands: 1. device_del ... 2. drive_del ... qmp_device_del() performs the device unplug path. In case of a

Re: [Qemu-devel] Qemu 2.0 regression with xen: qemu crash on any domUs S.O. start

2014-04-02 Thread Fabio Fantoni
Il 02/04/2014 15:31, Laszlo Ersek ha scritto: On 04/02/14 13:13, Fabio Fantoni wrote: Il 01/04/2014 18:24, Laszlo Ersek ha scritto: On 04/01/14 17:01, Fabio Fantoni wrote: Today I tried latest qemu 2.0 compiled from git (commit 63678e17cf399ff81b93417fe7bee8d6ef6b6b1b) on this dom0: Debian 7

[Qemu-devel] [PATCH] Fix typo in eTSEC Ethernet controller

2014-04-02 Thread Fabien Chouteau
IRQ are lowered when ievent bit is cleared, so irq_pulse makes no sense here... Signed-off-by: Fabien Chouteau chout...@adacore.com --- hw/net/fsl_etsec/rings.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/net/fsl_etsec/rings.c b/hw/net/fsl_etsec/rings.c index

Re: [Qemu-devel] [PATCH] Fix typo in eTSEC Ethernet controller

2014-04-02 Thread Alexander Graf
On 02.04.2014, at 16:49, Fabien Chouteau chout...@adacore.com wrote: IRQ are lowered when ievent bit is cleared, so irq_pulse makes no sense here... Signed-off-by: Fabien Chouteau chout...@adacore.com Thanks, applied to ppc-next. Given that the wiring with boards is still missing I don't

Re: [Qemu-devel] [PATCH] net: Update netdev peer on link change

2014-04-02 Thread Vlad Yasevich
On 04/02/2014 06:46 AM, Yan Vugenfirer wrote: On Apr 2, 2014, at 11:51 AM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Nov 21, 2013 at 09:05:51PM -0500, Vlad Yasevich wrote: When a link change occurs on a backend (like tap), we currently do not propage such change to the nic. As a

Re: [Qemu-devel] [PATCH] Fix typo in eTSEC Ethernet controller

2014-04-02 Thread Fabien Chouteau
On 04/02/2014 04:52 PM, Alexander Graf wrote: On 02.04.2014, at 16:49, Fabien Chouteau chout...@adacore.com wrote: IRQ are lowered when ievent bit is cleared, so irq_pulse makes no sense here... Signed-off-by: Fabien Chouteau chout...@adacore.com Thanks, applied to ppc-next. Thanks

[Qemu-devel] [RFC] tests: Add ivshmem qtest

2014-04-02 Thread Andreas Färber
Note that it launches two instances to as sharing memory is the purpose of Nahanni/ivshmem. Cc: Cam Macdonell c...@cs.ualberta.ca Signed-off-by: Andreas Färber afaer...@suse.de --- This test demonstrates a use case of running two QEMU instances in qtest. However, similar to mst's proposed KVM

Re: [Qemu-devel] [PATCH] net: Update netdev peer on link change

2014-04-02 Thread Michael S. Tsirkin
On Wed, Apr 02, 2014 at 10:57:08AM -0400, Vlad Yasevich wrote: On 04/02/2014 06:46 AM, Yan Vugenfirer wrote: On Apr 2, 2014, at 11:51 AM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Nov 21, 2013 at 09:05:51PM -0500, Vlad Yasevich wrote: When a link change occurs on a backend

Re: [Qemu-devel] [PATCH v2 4/4] gtk: Add Grab On Click option

2014-04-02 Thread Gerd Hoffmann
On Mi, 2014-04-02 at 09:28 -0400, Cole Robinson wrote: On 04/02/2014 08:32 AM, Takashi Iwai wrote: I simply like it better, you don't? :) In fact, relative mouse mode is a pain without this feature, you need to manually initiate a grab with ctrl+alt+g before mouse movement will even

Re: [Qemu-devel] [PATCH] QEMU: ARM: boot: Load kernel at an Image friendly address

2014-04-02 Thread Christopher Covington
[On 04/02/2014 08:47 AM, Peter Maydell wrote: On 2 April 2014 13:11, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: Like others, I have been carrying this change locally. Good to see it up! Why are you all booting raw Images anyway (just out of curiosity)? All my test cases boot

Re: [Qemu-devel] E820 (Re: [v4 PATCH 00/12] SMBIOS: build full tables in QEMU)

2014-04-02 Thread Gerd Hoffmann
Hi, From the conversation so far, it seems to me that: - type 0 is best left to the BIOS (user overrides via command line at their own risk) I think it was a bad idea to allow overriding type0 fields in the first place. It also isn't used in practice. I don't think it is a

Re: [Qemu-devel] [RFC] tests: Add ivshmem qtest

2014-04-02 Thread Andreas Färber
Am 02.04.2014 17:06, schrieb Michael S. Tsirkin: On Wed, Apr 02, 2014 at 04:57:48PM +0200, Andreas Färber wrote: Note that it launches two instances to as sharing memory is the purpose of Nahanni/ivshmem. Cc: Cam Macdonell c...@cs.ualberta.ca Signed-off-by: Andreas Färber afaer...@suse.de

[Qemu-devel] [PATCH] gtk: Grab pointer on click when in relative mode

2014-04-02 Thread Cole Robinson
Without this, we need to initiate a manual grab with ctrl+alt+g just to get a usable mouse. Signed-off-by: Cole Robinson crobi...@redhat.com --- Gerd, Takashi, I think this should do what we want. ui/gtk.c | 9 + 1 file changed, 9 insertions(+) diff --git a/ui/gtk.c b/ui/gtk.c index

Re: [Qemu-devel] E820 (Re: [v4 PATCH 00/12] SMBIOS: build full tables in QEMU)

2014-04-02 Thread Gerd Hoffmann
Hi, If qemu gives OVMF a complete, concatenated dump of all tables, I'll have to split that up into individual tables, and install those one by one. I feel like I should have a look at how coreboot handles this for an additional data point ... cheers, Gerd

Re: [Qemu-devel] [RFC] tests: Add ivshmem qtest

2014-04-02 Thread Michael S. Tsirkin
On Wed, Apr 02, 2014 at 04:57:48PM +0200, Andreas Färber wrote: Note that it launches two instances to as sharing memory is the purpose of Nahanni/ivshmem. Cc: Cam Macdonell c...@cs.ualberta.ca Signed-off-by: Andreas Färber afaer...@suse.de --- This test demonstrates a use case of running

[Qemu-devel] [PATCH v8 2/4] qapi: [trivial] Show full exception message in test-qapi.py

2014-04-02 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- tests/qapi-schema/test-qapi.py |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qapi-schema/test-qapi.py b/tests/qapi-schema/test-qapi.py index b3d1e1d..ac6da13 100644 --- a/tests/qapi-schema/test-qapi.py +++

[Qemu-devel] [PATCH v8 1/4] qapi: [trivial] Break long command lines

2014-04-02 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- Makefile | 24 ++-- tests/Makefile | 20 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index ec74039..84345ee 100644 --- a/Makefile +++ b/Makefile @@

Re: [Qemu-devel] [RFC] tests: Add ivshmem qtest

2014-04-02 Thread Michael S. Tsirkin
On Wed, Apr 02, 2014 at 05:07:09PM +0200, Andreas Färber wrote: Am 02.04.2014 17:06, schrieb Michael S. Tsirkin: On Wed, Apr 02, 2014 at 04:57:48PM +0200, Andreas Färber wrote: Note that it launches two instances to as sharing memory is the purpose of Nahanni/ivshmem. Cc: Cam Macdonell

Re: [Qemu-devel] [RFC] tests: Add ivshmem qtest

2014-04-02 Thread Paolo Bonzini
Il 02/04/2014 17:15, Michael S. Tsirkin ha scritto: Yes and I think this someone was you actually. Can something similar be done for this test? I think ivshmem depends on ioeventfd, doesn't it? So short of implementing ioeventfd for TCG, no. Paolo

[Qemu-devel] [PATCH v8 4/4] qapi: Add a primitive to include other files from a QAPI schema file

2014-04-02 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- docs/qapi-code-gen.txt | 11 + scripts/qapi.py| 66 +++- tests/Makefile |5 ++ tests/qapi-schema/include-after-err.err|1

Re: [Qemu-devel] [PATCH v2 1/4] gtk: Use gtk generic event signal instead of motion-notify-event

2014-04-02 Thread Gerd Hoffmann
On Mi, 2014-04-02 at 14:32 +0200, Takashi Iwai wrote: +static gboolean gd_event(GtkWidget *widget, GdkEvent *event, void *opaque) +{ +if (event-type == GDK_MOTION_NOTIFY) +return gd_motion_event(widget, event-motion, opaque); +return FALSE; +} Fails checkpatch: WARNING:

[Qemu-devel] [PATCH v8 3/4] qapi: Use an explicit input file

2014-04-02 Thread Lluís Vilanova
Use an explicit input file on the command-line instead of reading from standard input Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- Makefile | 12 ++-- docs/qapi-code-gen.txt |4 ++--

Re: [Qemu-devel] [PATCH] gtk: Grab pointer on click when in relative mode

2014-04-02 Thread Gerd Hoffmann
On Mi, 2014-04-02 at 11:07 -0400, Cole Robinson wrote: +if (button-button == 1 +button-type == GDK_BUTTON_PRESS +!gd_is_grab_active(s) +!qemu_input_is_absolute()) { + gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(s-grab_item), +

Re: [Qemu-devel] [PATCH] gtk: Grab pointer on click when in relative mode

2014-04-02 Thread Takashi Iwai
At Wed, 02 Apr 2014 17:19:51 +0200, Gerd Hoffmann wrote: On Mi, 2014-04-02 at 11:07 -0400, Cole Robinson wrote: +if (button-button == 1 +button-type == GDK_BUTTON_PRESS +!gd_is_grab_active(s) +!qemu_input_is_absolute()) { +

[Qemu-devel] [PATCH v8 0/4] qapi: Allow modularization of QAPI schema files

2014-04-02 Thread Lluís Vilanova
Adds an include primitive to the syntax of QAPI schema files, allowing these to be modularized into multiple per-topic files in the future. Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- Changes in v8: * Do not show absolute paths in error messages. Changes in v7: * Add tests for

Re: [Qemu-devel] [PATCH] net: Update netdev peer on link change

2014-04-02 Thread Vlad Yasevich
On 04/02/2014 11:03 AM, Michael S. Tsirkin wrote: On Wed, Apr 02, 2014 at 10:57:08AM -0400, Vlad Yasevich wrote: On 04/02/2014 06:46 AM, Yan Vugenfirer wrote: On Apr 2, 2014, at 11:51 AM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Nov 21, 2013 at 09:05:51PM -0500, Vlad Yasevich wrote:

Re: [Qemu-devel] [PATCH v2 1/4] gtk: Use gtk generic event signal instead of motion-notify-event

2014-04-02 Thread Takashi Iwai
At Wed, 02 Apr 2014 17:17:54 +0200, Gerd Hoffmann wrote: On Mi, 2014-04-02 at 14:32 +0200, Takashi Iwai wrote: +static gboolean gd_event(GtkWidget *widget, GdkEvent *event, void *opaque) +{ +if (event-type == GDK_MOTION_NOTIFY) +return gd_motion_event(widget, event-motion,

Re: [Qemu-devel] [PATCH v2 3/7] hw/net/stellaris_enet: Rewrite tx fifo handling code

2014-04-02 Thread Dr. David Alan Gilbert
* Peter Maydell (peter.mayd...@linaro.org) wrote: The datasheet is clear that the frame length written to the DATA register is actually stored in the TX FIFO; this means we don't need to keep both tx_frame_len and tx_fifo_len state separately. Signed-off-by: Peter Maydell

Re: [Qemu-devel] [PATCH] net: Update netdev peer on link change

2014-04-02 Thread Michael S. Tsirkin
On Wed, Apr 02, 2014 at 11:25:32AM -0400, Vlad Yasevich wrote: On 04/02/2014 11:03 AM, Michael S. Tsirkin wrote: On Wed, Apr 02, 2014 at 10:57:08AM -0400, Vlad Yasevich wrote: On 04/02/2014 06:46 AM, Yan Vugenfirer wrote: On Apr 2, 2014, at 11:51 AM, Michael S. Tsirkin m...@redhat.com

[Qemu-devel] [PATCH for-2.0] target-i386: reorder fields in cpu/msr_hyperv_hypercall subsection

2014-04-02 Thread Paolo Bonzini
The subsection already exists in one well-known enterprise Linux distribution, but for some strange reason the fields were swapped when forward-porting the patch to upstream. Limit headaches for said enterprise Linux distributor when the time will come to rebase their version of QEMU.

Re: [Qemu-devel] [PATCH v2 4/7] hw/net/stellaris_enet: Correctly implement the TR and THR registers

2014-04-02 Thread Dr. David Alan Gilbert
* Peter Maydell (peter.mayd...@linaro.org) wrote: Packet transmission for the stellaris ethernet controller can be triggered in one of two ways: * by setting a threshold value in the THR register; when the FIFO fill level reaches the threshold, the h/w starts transmitting. Software has

Re: [Qemu-devel] [PATCH for-2.0] target-i386: reorder fields in cpu/msr_hyperv_hypercall subsection

2014-04-02 Thread Michael S. Tsirkin
On Wed, Apr 02, 2014 at 05:33:02PM +0200, Paolo Bonzini wrote: The subsection already exists in one well-known enterprise Linux distribution, but for some strange reason the fields were swapped when forward-porting the patch to upstream. Limit headaches for said enterprise Linux distributor

Re: [Qemu-devel] [PATCH] qemu-thread-posix: Fix build against older glibc version

2014-04-02 Thread Dr. David Alan Gilbert
* Ed Maste (ema...@freebsd.org) wrote: On 11 March 2014 12:13, Dr. David Alan Gilbert dgilb...@redhat.com wrote: Except pthread_setname_np is not portable and was previously ifdef'd _GNU_SOURCE anyway, and the parameters on other OSs maybe different (freebsd has got a 3rd parameter for no

Re: [Qemu-devel] [PATCH] net: Update netdev peer on link change

2014-04-02 Thread Vlad Yasevich
On 04/02/2014 11:29 AM, Michael S. Tsirkin wrote: On Wed, Apr 02, 2014 at 11:25:32AM -0400, Vlad Yasevich wrote: On 04/02/2014 11:03 AM, Michael S. Tsirkin wrote: On Wed, Apr 02, 2014 at 10:57:08AM -0400, Vlad Yasevich wrote: On 04/02/2014 06:46 AM, Yan Vugenfirer wrote: On Apr 2, 2014, at

  1   2   >