Re: [Qemu-devel] [PATCH for-2.11] tests: Fix broken ivshmem-server-msi/-irq tests

2017-09-03 Thread Laurent Vivier
On 29/08/2017 20:13, Thomas Huth wrote: > Broken with commit b4ba67d9a7025 ("libqos: Change PCI accessors to take > opaque BAR handle") a while ago, but nobody noticed since the tests are > only run in SPEED=slow mode: The msix_pba_bar is not correctly initialized you mean "SPEED=quick"? > anymor

[Qemu-devel] [Bug 1714750] Re: 2.10.0 cannot be installed on case-insensitive file system

2017-09-03 Thread ilovezfs
The offending commit is https://github.com/u-boot/u-boot/commit/61304dbec36dc445bbe7d2c19b4da0695861e0a8 so it should be possible to downgrade u-boot until it gets fixed upstream, no? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. ht

Re: [Qemu-devel] [PATCH v2 02/13] hvf: add code base from Google's QEMU repository

2017-09-03 Thread Paolo Bonzini
Il 03 set 2017 8:49 PM, "Izik Eidus" ha scritto: For now i want to get hypervisor framework merged into QEMU in required license. I did offer to open source everything needed from anka to the make QEMU being able to run any os using hypervisor.framework. Having such code as open source will cer

Re: [Qemu-devel] [PATCH] pixman: drop submodule

2017-09-03 Thread Gerd Hoffmann
Hi, > > diff --git a/configure b/configure > > index dd73cce62f..73760430b0 100755 > > --- a/configure > > +++ b/configure > > @@ -930,8 +930,6 @@ for opt do > >    ;; > >    --with-system-pixman) pixman="system" > > Is there any use case for '--with-system-pixman now? There is "--without-pixm

[Qemu-devel] [Bug 1714750] Re: 2.10.0 cannot be installed on case-insensitive file system

2017-09-03 Thread Thomas Huth
That's apparently a problem with U-Boot. Could you please report this issue to the U-Boot project instead (see https://github.com/u-boot/u-boot)? We only include the u-boot sources in the QEMU tarballs, but we do not maintain them in the QEMU project, so we can not fix this issue here for you, sorr

[Qemu-devel] How to use monitor socket in python to connect VM?

2017-09-03 Thread Sam
Hi all, I'm using python socket to connect VM's monitor socket like this: [root@yf-mos-test-net09 tests]# python > Python 2.7.5 (default, Jun 24 2015, 00:41:19) > [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from s

[Qemu-devel] [PATCH V5 1/3] net/colo-compare.c: Optimize unpredictable tcp options comparison

2017-09-03 Thread Zhang Chen
When network is busy, some tcp options(like sack) will unpredictable occur in primary side or secondary side. it will make packet size not same, but the two packet's payload is identical. colo just care about packet payload, so we skip the option field. Signed-off-by: Zhang Chen --- net/colo-com

[Qemu-devel] [PATCH V5 3/3] net/colo-compare.c: Fix comments and scheme

2017-09-03 Thread Zhang Chen
Signed-off-by: Zhang Chen --- net/colo-compare.c | 59 -- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/net/colo-compare.c b/net/colo-compare.c index 8dd76e4..c9a7174 100644 --- a/net/colo-compare.c +++ b/net/colo-compare.c @@

[Qemu-devel] [PATCH V5 0/3] Optimize COLO-compare performance

2017-09-03 Thread Zhang Chen
In this serise, we do a lot of job to optimize COLO net performance. Mainly focus on TCP protocol. V5: - Fix bug in colo_packet_compare_common(). - Fix patch3 ascii graph style. V4: - Remove the old patch1. V3: - Rebase on upstream. - Remove origin p2. - Move the "checkpoint_time_ms" to Co

[Qemu-devel] [PATCH V5 2/3] net/colo-compare.c: Adjust net queue pop order for performance

2017-09-03 Thread Zhang Chen
The packet_enqueue() use g_queue_push_tail() to enqueue net packet, so it is more efficent way use g_queue_pop_head() to get packet for compare. That will improve the success rate of comparison. In my test the performance of ftp put 1000M file will increase 10% Signed-off-by: Zhang Chen --- net/

Re: [Qemu-devel] [PATCH v2 0/8] ppc: cpu_model handling cleanups

2017-09-03 Thread David Gibson
On Wed, Aug 30, 2017 at 03:24:27PM +0200, Igor Mammedov wrote: > > Changelog since v1: > - normalize all cpu model names to lower-case > - check that all cpu model string is consumed > before going to PVR lookup path > - add a new optional patch to remove unused junk > '[PATCH v2 8/

Re: [Qemu-devel] [PATCH v8 0/4] Improve error reporting

2017-09-03 Thread Mao Zhongyi
On 09/04/2017 11:09 AM, Jason Wang wrote: On 2017年07月06日 16:47, Mao Zhongyi wrote: v8: * PATCH 02 & 04 -resetting the error message for the user to read. [Markus Armbruster] -fix the indentation and commit message. [Markus Armbruster] v7: * PATCH 01 -fix the error message.[D

Re: [Qemu-devel] [PATCH v8 0/4] Improve error reporting

2017-09-03 Thread Jason Wang
On 2017年07月06日 16:47, Mao Zhongyi wrote: v8: * PATCH 02 & 04 -resetting the error message for the user to read. [Markus Armbruster] -fix the indentation and commit message. [Markus Armbruster] v7: * PATCH 01 -fix the error message.[Daniel P. Berrange] -adjust the indenta

Re: [Qemu-devel] [PATCH V4 1/3] net/colo-compare.c: Optimize unpredictable tcp options comparison

2017-09-03 Thread Dou Liyang
Hi Chen, At 09/02/2017 12:02 AM, Zhang Chen wrote: On 09/01/2017 05:35 PM, Dou Liyang wrote: Hi chen, At 08/21/2017 04:55 PM, Zhang Chen wrote: When network is busy, some tcp options(like sack) will unpredictable occur in primary side or secondary side. it will make packet size not same, bu

Re: [Qemu-devel] [PATCH] x86/acpi: build SRAT when memory hotplug is enabled

2017-09-03 Thread Dou Liyang
Hi Eduardo, Thadeu, At 09/02/2017 12:11 AM, Eduardo Habkost wrote: On Fri, Sep 01, 2017 at 12:45:42PM -0300, Thadeu Lima de Souza Cascardo wrote: Linux uses SRAT to determine the maximum memory in a system, which is used to determine whether to use the swiotlb for IOMMU or not for a device that

Re: [Qemu-devel] [PATCH] memory: Rename queue to mrqueue (memory region queue)

2017-09-03 Thread Philippe Mathieu-Daudé
Hi Kamil, On 09/03/2017 01:33 PM, Kamil Rytarowski wrote: SunOS declares struct queue in . I didn't check what is this define for, but I'd rather add in include/sysemu/os-posix.h: #ifdef queue #undef queue #endif If no QEMU code rely on this netinet queue. This fixes build on SmartOS (J

Re: [Qemu-devel] [PATCH] usb-mtp: Add fallback definition of NAME_MAX

2017-09-03 Thread Philippe Mathieu-Daudé
Hi Kamil, On 09/03/2017 01:34 PM, Kamil Rytarowski wrote: This fixes build on SmartOS (Joyent). Patch cherry-picked from pkgsrc by jperkin (Joyent). Signed-off-by: Kamil Rytarowski --- hw/usb/dev-mtp.c | 4 1 file changed, 4 insertions(+) diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mt

Re: [Qemu-devel] [PATCH] target/m68k: Change fpu_rom from const static array to switch

2017-09-03 Thread Philippe Mathieu-Daudé
On 09/03/2017 02:05 PM, Laurent Vivier wrote: Le 03/09/2017 à 18:31, Kamil Rytarowski a écrit : GCC 4.7.2 on SunOS reports that the values assigned to array members are not real constants: target/m68k/fpu_helper.c:32:5: error: initializer element is not constant target/m68k/fpu_helper.c:32:5: e

[Qemu-devel] Questions regarding emulated UART in VersatilePB board

2017-09-03 Thread Ramy Sameh
Hello all, I have 2 problems regarding UART (pl011) in the emulated board VersatilePB. (I am using *QEMU version 2.8.1.*) *My main goal is*: Disturbing the UART registers (such UARTCR, UARTLCR_H ... etc) in order to simulate hardware faults (which can make bit flips in the hardware registers thro

[Qemu-devel] [Bug 1714331] Re: Virtual machines not working anymore on 2.10

2017-09-03 Thread Chris Unsworth
I am also unable to boot Windows 10 64 bit since updating to 2.10.0. I was previously using 2.8.0 which worked perfectly. Windows gets stuck at the big Windows logo with the spinning dots underneath and QEMU uses 100% CPU of 1 core. I am using kernel 4.11.9 and the following command line: qemu-

Re: [Qemu-devel] [PATCH v2 02/13] hvf: add code base from Google's QEMU repository

2017-09-03 Thread Izik Eidus
On Sun, Sep 3, 2017 at 8:13 PM, Paolo Bonzini > wrote: > > > Il 03 set 2017 6:54 PM, "Izik Eidus" > ha scritto: > > > What code is derived from v2-only sources? IIRC the task switch code is > > derived from KVM, is there anything else? > > Yes this is exactly the code that I found as well, howeve

Re: [Qemu-devel] [PATCH 0/8] sun4u: change PCI topology to better match a real Ultra 5

2017-09-03 Thread Mark Cave-Ayland
On 11/07/17 22:53, Mark Cave-Ayland wrote: > The aim of this patchset is to bring the sun4u machine in line with a real > Ultra 5 > in order to resolve issues related to PCI bridge windows and interrupt > routing. > > The majority of the changes are designed to accommodate the simba PCI bridges

Re: [Qemu-devel] [PATCH v2 02/13] hvf: add code base from Google's QEMU repository

2017-09-03 Thread Paolo Bonzini
Il 03 set 2017 6:54 PM, "Izik Eidus" ha scritto: > What code is derived from v2-only sources? IIRC the task switch code is > derived from KVM, is there anything else? Yes this is exactly the code that I found as well, however considering the fact that I didn't even know it was there requires me

Re: [Qemu-devel] [PATCH] target/m68k: Change fpu_rom from const static array to switch

2017-09-03 Thread Laurent Vivier
Le 03/09/2017 à 18:31, Kamil Rytarowski a écrit : > GCC 4.7.2 on SunOS reports that the values assigned to array members are not > real constants: > > target/m68k/fpu_helper.c:32:5: error: initializer element is not constant > target/m68k/fpu_helper.c:32:5: error: (near initialization for 'fpu_rom

[Qemu-devel] [PATCH] tests: Do not include lutil on SunOS

2017-09-03 Thread Kamil Rytarowski
This fixes build on SmartOS (Joyent). Patch cherry-picked from pkgsrc by jperkin (Joyent). Signed-off-by: Kamil Rytarowski --- tests/Makefile.include | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Makefile.include b/tests/Makefile.include index f08b7418f0..0e5e6cb9b8 100644 --- a/t

Re: [Qemu-devel] [PATCH v2 02/13] hvf: add code base from Google's QEMU repository

2017-09-03 Thread Izik Eidus
On Sun, Sep 3, 2017 at 7:35 PM, Paolo Bonzini wrote: > > > Il 03 set 2017 6:17 PM, "Izik Eidus" ha scritto: > > Hi, > > Paolo, my biggest challenge right now is: > hvf-all.c > it include currently the following copyright: > > // Copyright 2008 IBM Corporation > > // 2008 Red Hat, Inc.

[Qemu-devel] [PATCH] e1000: Rename the SEC symbol to SEQEC

2017-09-03 Thread Kamil Rytarowski
SunOS defines SEC in as 1 (commonly used time symbols). This fixes build on SmartOS (Joyent). Patch cherry-picked from pkgsrc by jperkin (Joyent). Signed-off-by: Kamil Rytarowski --- hw/net/e1000.c | 4 ++-- hw/net/e1000_regs.h| 2 +- hw/net/e1000e_core.c | 2 +- hw/net/e1000x_c

[Qemu-devel] [PATCH] scsi/esp: Rename the ESP symbol to QESP (QEMU ESP)

2017-09-03 Thread Kamil Rytarowski
SunOS defines ESP (x86 register) in as 7. This fixes build on SmartOS (Joyent). Signed-off-by: Kamil Rytarowski --- hw/scsi/esp.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c index eee831efeb..38ddfd6715 100644 --- a/hw/scsi/esp.c

[Qemu-devel] [PATCH] usb-mtp: Add fallback definition of NAME_MAX

2017-09-03 Thread Kamil Rytarowski
This fixes build on SmartOS (Joyent). Patch cherry-picked from pkgsrc by jperkin (Joyent). Signed-off-by: Kamil Rytarowski --- hw/usb/dev-mtp.c | 4 1 file changed, 4 insertions(+) diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c index 94c2e94f10..6e8d7b21b5 100644 --- a/hw/usb/dev-mtp.c

[Qemu-devel] [PATCH] memory: Rename queue to mrqueue (memory region queue)

2017-09-03 Thread Kamil Rytarowski
SunOS declares struct queue in . This fixes build on SmartOS (Joyent). Patch cherry-picked from pkgsrc by jperkin (Joyent). Signed-off-by: Kamil Rytarowski --- memory.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/memory.c b/memory.c index c0adc3

[Qemu-devel] [PATCH] target/m68k: Change fpu_rom from const static array to switch

2017-09-03 Thread Kamil Rytarowski
GCC 4.7.2 on SunOS reports that the values assigned to array members are not real constants: target/m68k/fpu_helper.c:32:5: error: initializer element is not constant target/m68k/fpu_helper.c:32:5: error: (near initialization for 'fpu_rom[0]') rules.mak:66: recipe for target 'target/m68k/fpu_helpe

Re: [Qemu-devel] [PATCH v2 02/13] hvf: add code base from Google's QEMU repository

2017-09-03 Thread Sergio Andrés Gómez del Real
Just saw your last message. Will wait for Paolo's response. On Sun, Sep 3, 2017 at 11:33 AM, Sergio Andrés Gómez del Real < sergio.g.delr...@gmail.com> wrote: > Izik, sorry for the late response. Tell me if you have any further issue. > What are the 2 functions that couldn't be relicensed? > > St

Re: [Qemu-devel] [PATCH v2 02/13] hvf: add code base from Google's QEMU repository

2017-09-03 Thread Paolo Bonzini
Il 03 set 2017 6:17 PM, "Izik Eidus" ha scritto: Hi, Paolo, my biggest challenge right now is: hvf-all.c it include currently the following copyright: // Copyright 2008 IBM Corporation // 2008 Red Hat, Inc. // Copyright 2011 Intel Corporation // Copyright 2016 Veertu, Inc. // Copyr

Re: [Qemu-devel] [PATCH v2 02/13] hvf: add code base from Google's QEMU repository

2017-09-03 Thread Sergio Andrés Gómez del Real
Izik, sorry for the late response. Tell me if you have any further issue. What are the 2 functions that couldn't be relicensed? Stefan, as soon as relicensing is available I'll send v3 of the patchset. On Sun, Sep 3, 2017 at 8:00 AM, Izik Eidus wrote: > > > On Sun, Sep 3, 2017 at 9:23 AM, Paolo

Re: [Qemu-devel] [PATCH v2 02/13] hvf: add code base from Google's QEMU repository

2017-09-03 Thread Izik Eidus
Hi, Paolo, my biggest challenge right now is: hvf-all.c it include currently the following copyright: // Copyright 2008 IBM Corporation // 2008 Red Hat, Inc. // Copyright 2011 Intel Corporation // Copyright 2016 Veertu, Inc. // Copyright 2017 The Android Open Source Project and it i

Re: [Qemu-devel] [PATCH v2 02/13] hvf: add code base from Google's QEMU repository

2017-09-03 Thread Izik Eidus
On Sun, Sep 3, 2017 at 9:23 AM, Paolo Bonzini wrote: > Il 01 set 2017 7:59 PM, "Izik Eidus" ha scritto: > > Hi, > > Sergio, I was trying to applying patch 1/13 and 2/13 and then I ran: > ./configure and saw: 'HVF support yes' > after that 'make' was happy > and: > > ./x86_64-softmmu/qemu-

[Qemu-devel] [Bug 1714750] [NEW] 2.10.0 cannot be installed on case-insensitive file system

2017-09-03 Thread ilovezfs
Public bug reported: The https://download.qemu.org/qemu-2.10.0.tar.bz2 tarball cannot be unpacked on a case-insensitive file system because it has a file qemu-2.10.0/roms/u-boot/scripts/Kconfig and a directory qemu-2.10.0/roms/u-boot/scripts/kconfig. This prevents installation on most macOS system