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

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.

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

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,

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

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

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

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:

[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

[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:

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

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

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

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

[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

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

[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 +-

[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 ---

[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 ---

[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

[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

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? > >

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

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

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

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

[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

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

2017-09-03 Thread Paolo Bonzini
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-system-x86_64 --help | grep accel \