Re: [Qemu-devel] Patch to add helpful tracing output for driver authors in NVMe emulation

2017-10-07 Thread Doug Gale
Completely re-implemented patch, with significant improvements (now specifies values in several places I missed, also reduced the amount of redundant lines). I used the nvme_ as the tracing infrastructure prefix. Tested with -trace nvme_* on the qemu command line, worked for me. >From 166f57458d60

Re: [Qemu-devel] [PATCH] spapr_pci: fail gracefully with non-pseries machine types

2017-10-07 Thread Greg Kurz
On Sat, 7 Oct 2017 16:19:25 +1100 David Gibson wrote: > On Fri, Oct 06, 2017 at 05:09:04PM +0200, Greg Kurz wrote: > > QEMU currently crashes when the user tries to add a spapr-pci-host-bridge > > on a non-pseries machine: > > > > $ qemu-system-ppc64 -M ppce500 -device spapr-pci-host-bridge,inde

Re: [Qemu-devel] [PATCH v2 2/3] scripts: Remove debug parameter from QEMUMonitorProtocol

2017-10-07 Thread Lukáš Doktor
Dne 5.10.2017 v 19:20 Eduardo Habkost napsal(a): > Use logging module for the QMP debug messages. The only scripts > that set debug=True are iotests.py and guestperf/engine.py, and > they already call logging.basicConfig() to set up logging. > > Scripts that don't configure logging are safe as lo

Re: [Qemu-devel] [PATCH v2 3/3] scripts: Remove debug parameter from QEMUMachine

2017-10-07 Thread Lukáš Doktor
Dne 5.10.2017 v 19:20 Eduardo Habkost napsal(a): > All scripts that use the QEMUMachine and QEMUQtestMachine classes > (device-crash-test, tests/migration/*, iotests.py, basevm.py) > already configure logging. > > The basicConfig() call inside QEMUMachine.__init__() is being > kept just to make su

Re: [Qemu-devel] [Qemu-trivial] [PATCH 63/88] bsd-user/syscall: fix a memory leak on EFAULT, use g_new()

2017-10-07 Thread Kamil Rytarowski
On 07.10.2017 01:49, Philippe Mathieu-Daudé wrote: > Signed-off-by: Philippe Mathieu-Daudé > --- > Kamil are you interested in maintaining bsd-user? :) > Long term yes, short term I'm occupied full-time on getting modern debuggers as fully-functional and as fully-featured on NetBSD as possible.

Re: [Qemu-devel] [PATCH 20/88] Migration: use g_new() family of functions

2017-10-07 Thread Juan Quintela
Philippe Mathieu-Daudé wrote: > From: Marc-André Lureau > > Signed-off-by: Marc-André Lureau > Signed-off-by: Philippe Mathieu-Daudé > [PMD: indented, added migration/migration.c and migration/page_cache.c] Reviewed-by: Juan Quintela Do you want me to include it, or you want to include it yo

[Qemu-devel] [Bug 1721952] [NEW] Network issue above 2.5.1.1

2017-10-07 Thread Joan Moreau via Qemu-devel
Public bug reported: Hi, WHen running a QEMU guest (Windows7) on a linux x86-64 server, the network stops working after some time for any version above 2.5.1.1 In 2.5.1.1, all is fine (no issue with network) Any version ablve (trying 2.10.1 now), the application in windows stops accessing the i

Re: [Qemu-devel] [PATCH 69/88] virtio-9p: use g_new() family of functions

2017-10-07 Thread Greg Kurz
On Fri, 6 Oct 2017 20:50:04 -0300 Philippe Mathieu-Daudé wrote: > From: Marc-André Lureau > > Signed-off-by: Marc-André Lureau > Signed-off-by: Philippe Mathieu-Daudé > [PMD: added 2 more uses in hw/9pfs/9p-synth.c] > --- Acked-by: Greg Kurz > hw/9pfs/9p-handle.c | 2 +- > hw/9pfs/9p-pro

[Qemu-devel] Using qemu command not able launch VM

2017-10-07 Thread Koushik Dutta
Hi All (qemu members), I installed qemu utility in my host machine. I want to start Virtual machine using qemu command. My host machine: Intel-X86 Script for launching VM : T=/home/koushik/vpp/cloud_ubuntu_img sudo qemu-system-i386 -enable-kvm -m 1024 -smp sockets=1,cpus=4,cores=2 -cpu host

Re: [Qemu-devel] [PATCH 00/88] use g_new() family of functions

2017-10-07 Thread Peter Maydell
On 7 October 2017 at 00:48, Philippe Mathieu-Daudé wrote: > Hi, > > This is a follow-up of Marc-André's clang-tidy series [1]. > While chatting we realized we were trying to reach the same goal, Marc-André > using clang-tidy and me using spatch; so he let me finish his series applying > my changes

[Qemu-devel] [PATCH] io: Add missing GCC_FMT_ATTR (fix -Werror=suggest-attribute=format)

2017-10-07 Thread Stefan Weil
This fixes a compiler warning: /qemu/io/channel-websock.c:163:5: error: function might be possible candidate for ‘gnu_printf’ format attribute [-Werror=suggest-attribute=format] Signed-off-by: Stefan Weil --- io/channel-websock.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) d

Re: [Qemu-devel] [PATCH 13/88] Dirty Bitmaps: use g_new() family of functions

2017-10-07 Thread John Snow
On 10/06/2017 07:49 PM, Philippe Mathieu-Daudé wrote: > From: Marc-André Lureau > > Signed-off-by: Marc-André Lureau > Signed-off-by: Philippe Mathieu-Daudé > [PMD: squashed tests/test-hbitmap.c changes] > --- > tests/test-hbitmap.c | 2 +- > util/hbitmap.c | 2 +- > 2 files changed, 2

[Qemu-devel] [PATCH] oslib-posix: Fix compiler warning

2017-10-07 Thread Stefan Weil
gcc warning: /qemu/util/oslib-posix.c:304:11: error: variable ‘addr’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered] Use also an unsigned loop variable which better matches numpages. Signed-off-by: Stefan Weil --- Please cc qemu-trivial if you think this is trivial enough. Th

Re: [Qemu-devel] [Qemu-ppc] [PATCH] spapr_pci: fail gracefully with non-pseries machine types

2017-10-07 Thread Greg Kurz
On Sat, 7 Oct 2017 10:06:00 +0200 Greg Kurz wrote: > On Sat, 7 Oct 2017 16:19:25 +1100 > David Gibson wrote: > > > On Fri, Oct 06, 2017 at 05:09:04PM +0200, Greg Kurz wrote: > > > QEMU currently crashes when the user tries to add a spapr-pci-host-bridge > > > on a non-pseries machine: > > >

Re: [Qemu-devel] [PATCH v2 5/6] misc: add pca9552 LED blinker model

2017-10-07 Thread Cédric Le Goater
On 10/06/2017 05:12 PM, Peter Maydell wrote: > On 20 September 2017 at 08:01, Cédric Le Goater wrote: >> Specs are available here : >> >> https://www.nxp.com/docs/en/data-sheet/PCA9552.pdf >> >> This is a simple model supporting the basic registers for led and GPIO >> mode. The device also suppo

Re: [Qemu-devel] [PATCH v2 1/6] aspeed: add support for the witherspoon-bmc board

2017-10-07 Thread Cédric Le Goater
On 10/06/2017 05:10 PM, Peter Maydell wrote: > On 20 September 2017 at 08:01, Cédric Le Goater wrote: >> The Witherspoon boards are OpenPOWER system hosting POWER9 Processors. >> Let's add support for their BMC including a couple of I2C devices as >> found on real HW. >> >> Signed-off-by: Cédric L

Re: [Qemu-devel] [PATCH v2 0/6] aspeed: add a witherspoon-bmc machine

2017-10-07 Thread Cédric Le Goater
On 10/06/2017 05:13 PM, Peter Maydell wrote: > On 20 September 2017 at 08:01, Cédric Le Goater wrote: >> Hello, >> >> This series adds a new Aspeed machine to emulate the BMC of a >> Witherspoon system. It also extends the other Aspeed machines with I2C >> devices and adds a simple model for the p

[Qemu-devel] [Bug 1709025] Re: Disk corrupted after snapshot deletion

2017-10-07 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1709025 Title: Disk corrup

[Qemu-devel] [Bug 1359394] Re: virtio block device hangs after "virtio_blk virtio3: requests:id 0 is not a head!"

2017-10-07 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1359394 Title: virtio bloc

[Qemu-devel] [Bug 1359383] Re: kernel panic at smpboot.c:134 when rebooting qemu with multiple cores

2017-10-07 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1359383 Title: kernel pani

[Qemu-devel] [Bug 1318746] Re: qemu Windows 7 BSOD when using hv-time

2017-10-07 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1318746 Title: qemu Window

[Qemu-devel] [Bug 1223477] Re: Unable to read USB filesystems with EFI Bios

2017-10-07 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1223477 Title: Unable to r