[Qemu-devel] [Bug 1530278] [NEW] vhost-user: can not detach chardev which is used by vhost-user backend

2015-12-30 Thread Michael liu
Public bug reported: I launch a VM which use vhost-user netdevice as follows.When detach the netdevice in qemu monitor, the chardevice which used by the netdevice also should be deatched.The netdevice can be detached sucessfully.But the chardevice failed when it was being detaching. Full co

Re: [Qemu-devel] [PATCH v2 0/7] Raspberry Pi 2 support

2015-12-30 Thread Piotr Król
On Wed, Dec 23, 2015 at 04:25:24PM -0800, Andrew Baumann wrote: > This patch series adds initial support for Raspberry Pi 2 > (bcm2836). It is heavily based on the original (out of tree) work of > Gregory Estrade, Stefan Weil and others to support Raspberry Pi 1. > > At the end of this series, it

[Qemu-devel] [Bug 1530246] [NEW] Suppressing kvm rdmsr errors to console

2015-12-30 Thread Charlie Inglese
Public bug reported: I am seeing numerous kvm rdmsr messages logged to /dev/tty1 (console), and would like to know how to suppress these messages. I've attempted "echo 1 > /sys/module/kvm/parameters/ignore_msrs" and the messages still appear on tty1. I'm seeing the following rdmsr messages: kvm [

Re: [Qemu-devel] [PATVH v2] net: ne2000: fix bounds check in ioport operations

2015-12-30 Thread Jason Wang
On 12/31/2015 01:56 PM, P J P wrote: > +-- On Thu, 31 Dec 2015, Jason Wang wrote --+ > | > -(addr >= NE2000_PMEM_START && addr < NE2000_MEM_SIZE)) { > | > +if (addr < 32 || (addr >= NE2000_PMEM_START && addr < > NE2000_MEM_SIZE)) { > | > | The change is unnecessary. > > Okay. >

[Qemu-devel] [PATCH] linux-user/mmap.c: Set prot page flags for the correct region in mmap_frag()

2015-12-30 Thread chengang
From: Chen Gang mmap() size in mmap_frag() is qemu_host_page_size, but the outside calls page_set_flags() may be not with qemu_host_page_size. So after mmap(), call page_set_flags() in time. Also let addr increasing step be TARGET_PAGE_SIZE, just like another areas have done. Also remote redund

Re: [Qemu-devel] [PATVH v2] net: ne2000: fix bounds check in ioport operations

2015-12-30 Thread P J P
+-- On Thu, 31 Dec 2015, Jason Wang wrote --+ | > -(addr >= NE2000_PMEM_START && addr < NE2000_MEM_SIZE)) { | > +if (addr < 32 || (addr >= NE2000_PMEM_START && addr < NE2000_MEM_SIZE)) { | | The change is unnecessary. Okay. | > +if (addr < 32 | > +|| (addr >= NE2000_P

Re: [Qemu-devel] [PATVH v2] net: ne2000: fix bounds check in ioport operations

2015-12-30 Thread Jason Wang
On 12/31/2015 12:53 PM, P J P wrote: > From: Prasad J Pandit > > While doing ioport r/w operations, ne2000 device emulation suffers > from OOB r/w errors. Update respective array bounds check to avoid > OOB access. > > Reported-by: Ling Liu > Signed-off-by: Prasad J Pandit > --- > hw/net/ne20

[Qemu-devel] [Bug 1399191] Re: Large VHDX image size

2015-12-30 Thread Sitsofe Wheeler
If your image contains an ext4 partition it may be worth viewing the advice MS gives about Dynamic VHDX blocksizes: https://technet.microsoft.com/en-GB/library/dn720239.aspx . -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bu

[Qemu-devel] [PATVH v2] net: ne2000: fix bounds check in ioport operations

2015-12-30 Thread P J P
From: Prasad J Pandit While doing ioport r/w operations, ne2000 device emulation suffers from OOB r/w errors. Update respective array bounds check to avoid OOB access. Reported-by: Ling Liu Signed-off-by: Prasad J Pandit --- hw/net/ne2000.c | 28 +++- 1 file changed, 1

Re: [Qemu-devel] [PATCH v2 5/7] bcm2836_control: add bcm2836 ARM control logic

2015-12-30 Thread Peter Crosthwaite
On Wed, Dec 23, 2015 at 4:25 PM, Andrew Baumann wrote: > This module is specific to the bcm2836 (Pi2). It implements the top > level interrupt controller, and mailboxes used for inter-processor > synchronisation. > > Signed-off-by: Andrew Baumann > --- > hw/intc/Makefile.objs | 2 +

Re: [Qemu-devel] [PATCH] net: ne2000: fix bounds check in ioport operations

2015-12-30 Thread Jason Wang
On 12/30/2015 03:44 PM, P J P wrote: > From: Prasad J Pandit > > While doing ioport r/w oprations, ne2000 device emulation suffers > from OOB r/w error. Update respective array bounds check to avoid > OOB access. > > Reported-by: Ling Liu > Signed-off-by: Prasad J Pandit > --- > hw/net/ne2000

Re: [Qemu-devel] [PATCH v2 4/7] bcm2835_peripherals: add rollup device for bcm2835 peripherals

2015-12-30 Thread Peter Crosthwaite
On Wed, Dec 23, 2015 at 4:25 PM, Andrew Baumann wrote: > This device maintains all the non-CPU peripherals on bcm2835 (Pi1) > which are also present on bcm2836 (Pi2). It also implements the > private address space used for DMA. > > Signed-off-by: Andrew Baumann > --- > > Notes: > v2 changes:

Re: [Qemu-devel] [RFC PATCH v2 00/10] Add colo-proxy based on netfilter

2015-12-30 Thread Jason Wang
On 12/22/2015 06:42 PM, Zhang Chen wrote: > From: zhangchen > > Hi,all > > This patch add an colo-proxy object, COLO-Proxy is a part of COLO, > based on qemu netfilter and it's a plugin for qemu netfilter. the function > keep Secondary VM connect normal to Primary VM and compare packets > sent b

Re: [Qemu-devel] [PATCH v2 1/1] xlnx-zynqmp: Add support for high DDR memory regions

2015-12-30 Thread Peter Crosthwaite
On Wed, Dec 30, 2015 at 6:19 PM, Peter Crosthwaite wrote: > This concept might also be relevant to rPI work, where the SoC aliases > RAM. CC Andrew. > > On Wed, Dec 16, 2015 at 11:27 AM, Alistair Francis > wrote: >> The Xilinx ZynqMP SoC and EP108 board supports three memory regions: >> - A 2GB

Re: [Qemu-devel] [PATCH v2 1/1] xlnx-zynqmp: Add support for high DDR memory regions

2015-12-30 Thread Peter Crosthwaite
This concept might also be relevant to rPI work, where the SoC aliases RAM. CC Andrew. On Wed, Dec 16, 2015 at 11:27 AM, Alistair Francis wrote: > The Xilinx ZynqMP SoC and EP108 board supports three memory regions: > - A 2GB region starting at 0 > - A 32GB region starting at 32GB > - A 256GB

Re: [Qemu-devel] could i using qemu-img covert && rebase -u to do qcow2 rollback?

2015-12-30 Thread Huan Zhang
Hi, Could you give me some help? Thanks very much. Best Regards. 2015-12-30 19:31 GMT+08:00 Huan Zhang : > Hi, > We are finding a way to do rollback for qcow2 in production environment, > But we can't ensure the below way will work well, and user data are safe. > > for example, > snap0.qcow2 ->

Re: [Qemu-devel] [XenGT][IGVT-g] Device model creation failed

2015-12-30 Thread Tian, Kevin
What does Qemu log tell you about below error? libxl: error: libxl_dm.c:1531:device_model_spawn_outcome: domain 1 device model: spawn failed (rc=-3) In the meantime, it’d be helpful if you can capture serial console output. If error comes from XenGT driver, there should be some useful informat

Re: [Qemu-devel] [PATCH v2 3/7] bcm2835_ic: add bcm2835 interrupt controller

2015-12-30 Thread Peter Crosthwaite
On Wed, Dec 23, 2015 at 4:25 PM, Andrew Baumann wrote: > Signed-off-by: Andrew Baumann > --- > > Notes: > v2 changes: > * split inputs to named gpu_irq and arm_irq gpio inputs > * use 64-bit gpu_irq and 8-bit arm_irq status rather than 3*32-bit > bitfields > * added defined na

Re: [Qemu-devel] [PATCH v2 1/7] bcm2835_mbox: add BCM2835 mailboxes

2015-12-30 Thread Peter Crosthwaite
On Wed, Dec 23, 2015 at 4:25 PM, Andrew Baumann wrote: > This adds the system mailboxes which are used to communicate with a > number of GPU peripherals on Pi/Pi2. > > Signed-off-by: Andrew Baumann > --- > > Notes: > v2: > * renamed bcm2835_sbm to bcm2835_mbox > * dropped bcm2835_ar

[Qemu-devel] [PATCH v5 6/6] tests/acpi: update test data

2015-12-30 Thread Roman Kagan
to match the preceding commit "i386: populate floppy drive information in SSDT". Signed-off-by: Roman Kagan Cc: "Michael S. Tsirkin" Cc: Eduardo Habkost Cc: Igor Mammedov Cc: John Snow Cc: Kevin Wolf Cc: Paolo Bonzini Cc: Richard Henderson Cc: qemu-bl...@nongnu.org Cc: qemu-sta...@nongnu.o

[Qemu-devel] [PATCH v5 4/6] expose floppy drive geometry and CMOS type

2015-12-30 Thread Roman Kagan
Make it possible to query the geometry and the CMOS type of a floppy drive outside of the respective source files. It will be useful, in particular, when dynamically building ACPI tables, and will allow to properly populate the corresponding ACPI objects and thus enable BIOS-less systems to access

[Qemu-devel] [PATCH v5 1/6] i386/pc: expose identifying the floppy controller

2015-12-30 Thread Roman Kagan
Factor out and expose the function to locate the floppy controller in the system. It will allow to dynamically populate the relevant objects in the ACPI tables. Signed-off-by: Roman Kagan Cc: "Michael S. Tsirkin" Cc: Eduardo Habkost Cc: Igor Mammedov Cc: John Snow Cc: Kevin Wolf Cc: Paolo Bo

[Qemu-devel] [PATCH v5 0/6] i386: expose floppy-related objects in SSDT

2015-12-30 Thread Roman Kagan
Windows on UEFI systems is only capable of detecting the presence and the type of floppy drives via corresponding ACPI objects. Those objects are added in patch 5; the preceding ones pave the way to it, by making the necessary data public and by moving the whole floppy drive controller description

[Qemu-devel] [PATCH v5 3/6] tests/acpi: update test data

2015-12-30 Thread Roman Kagan
to match the preceding commit "i386/acpi: make floppy controller object dynamic". Signed-off-by: Roman Kagan Cc: "Michael S. Tsirkin" Cc: Eduardo Habkost Cc: Igor Mammedov Cc: John Snow Cc: Kevin Wolf Cc: Paolo Bonzini Cc: Richard Henderson Cc: qemu-bl...@nongnu.org Cc: qemu-sta...@nongnu.

[Qemu-devel] [PATCH v5 5/6] i386: populate floppy drive information in SSDT

2015-12-30 Thread Roman Kagan
On x86-based systems Linux determines the presence and the type of floppy drives via a query of a CMOS field. So does SeaBIOS when populating the return data for int 0x13 function 0x08. Windows doesn't; instead, it requests this information from BIOS via int 0x13/0x08 or through ACPI objects _FDE

[Qemu-devel] [PATCH v5 2/6] i386/acpi: make floppy controller object dynamic

2015-12-30 Thread Roman Kagan
Instead of statically declaring the floppy controller in DSDT, with its _STA method depending on some obscure bit in the parent ISA bridge, add the object dynamically to SSDT via AML API only when the controller is present. The _STA method is no longer necessary and is therefore dropped. So are t

Re: [Qemu-devel] How to reserve guest physical region for ACPI

2015-12-30 Thread Michael S. Tsirkin
On Wed, Dec 30, 2015 at 04:55:54PM +0100, Igor Mammedov wrote: > On Mon, 28 Dec 2015 14:50:15 +0200 > "Michael S. Tsirkin" wrote: > > > On Mon, Dec 28, 2015 at 10:39:04AM +0800, Xiao Guangrong wrote: > > > > > > Hi Michael, Paolo, > > > > > > Now it is the time to return to the challenge that h

[Qemu-devel] GCW Zero Xburst

2015-12-30 Thread Joe Nosay
http://wiki.dingoonity.org/index.php?title=Development:MXU Has this been ported to Qemu?

Re: [Qemu-devel] [PATCH] Make rtl8139 network interface card compatible with Mac OS 10.4

2015-12-30 Thread Programmingkid
On Dec 30, 2015, at 11:58 AM, Mark Cave-Ayland wrote: > On 30/12/15 16:47, Programmingkid wrote: > >> I did disable the change I made to the pci_dma_read() function and applied >> this >> patch to OpenBIOS. It makes Mac OS X stop booting. This is the message it is >> stuck at when Zoltan's patc

Re: [Qemu-devel] [PATCH] Make rtl8139 network interface card compatible with Mac OS 10.4

2015-12-30 Thread Mark Cave-Ayland
On 30/12/15 16:47, Programmingkid wrote: > I did disable the change I made to the pci_dma_read() function and applied > this > patch to OpenBIOS. It makes Mac OS X stop booting. This is the message it is > stuck at when Zoltan's patch is applied: > mig_table_max_displ = 70 > > I even removed the

Re: [Qemu-devel] [PATCH] Make rtl8139 network interface card compatible with Mac OS 10.4

2015-12-30 Thread Programmingkid
On Dec 30, 2015, at 9:03 AM, Mark Cave-Ayland wrote: > On 30/12/15 00:35, Programmingkid wrote: > >> On Dec 29, 2015, at 7:05 PM, Programmingkid wrote: >> >>> >>> On Dec 29, 2015, at 4:04 PM, Mark Cave-Ayland wrote: >>> On 29/12/15 17:59, Programmingkid wrote: > This patch solv

Re: [Qemu-devel] [PATCH v2 0/3] virtio: proposal to optimize accesses to VQs

2015-12-30 Thread Vincenzo Maffione
2015-12-16 16:46 GMT+01:00 Paolo Bonzini : > > > On 16/12/2015 15:25, Vincenzo Maffione wrote: >>> vhost-net actually had better performance, so virtio-net dataplane >>> was never committed. As Michael mentioned, in practice on Linux you >>> use vhost, and non-Linux hypervisors you do not use QEMU

Re: [Qemu-devel] How to reserve guest physical region for ACPI

2015-12-30 Thread Igor Mammedov
On Mon, 28 Dec 2015 14:50:15 +0200 "Michael S. Tsirkin" wrote: > On Mon, Dec 28, 2015 at 10:39:04AM +0800, Xiao Guangrong wrote: > > > > Hi Michael, Paolo, > > > > Now it is the time to return to the challenge that how to reserve guest > > physical region internally used by ACPI. > > > > Igor

[Qemu-devel] could i using qemu-img covert && rebase -u to do qcow2 rollback?

2015-12-30 Thread Huan Zhang
Hi, We are finding a way to do rollback for qcow2 in production environment, But we can't ensure the below way will work well, and user data are safe. for example, snap0.qcow2 -> snap1.qcow2 ->snap2.qcow2 -> active.qcow2 rollback to snap1 using convert && rebase -u: 1. qemu-img convert -O qcow2 s

[Qemu-devel] [Bug 498035] Re: qemu hangs on shutdown or reboot (XP guest)

2015-12-30 Thread Jackson Bryn
Fresh install of XP and this doesn't happen -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/498035 Title: qemu hangs on shutdown or reboot (XP guest) Status in QEMU: Incomplete Bug descriptio

[Qemu-devel] [Bug 1530035] [NEW] usb-host: ATI Technologies, Inc. TV Wonder acts as a different device if used

2015-12-30 Thread Jackson Bryn
Public bug reported: Title says it all. If you try to use the "ATI Technologies, Inc. TV Wonder" USB 1.1 TV Tuner for passthrough under any OS that has drivers for the device, the usb-host driver will confuse itself and give the device a new PID number for Linux. Tested on ReactOS and Windows XP

Re: [Qemu-devel] [PATCH] Make rtl8139 network interface card compatible with Mac OS 10.4

2015-12-30 Thread Mark Cave-Ayland
On 30/12/15 00:35, Programmingkid wrote: > On Dec 29, 2015, at 7:05 PM, Programmingkid wrote: > >> >> On Dec 29, 2015, at 4:04 PM, Mark Cave-Ayland wrote: >> >>> On 29/12/15 17:59, Programmingkid wrote: >>> This patch solves the few problems that needed to be solved in order for a Mac O

[Qemu-devel] [XenGT][IGVT-g] Device model creation failed

2015-12-30 Thread Oleksii Kurochko
Hello! We are going to use XenGT on Intel Atom based board(VTC-1010, with 4GB RAM). For this purpose we use next repos: xen - https://github.com/01org/Igvtg-xen dom0 (ubuntu linux, 1024MB or 2048MB ) - https://github.com/01org/Igvtg-kernel domU (android-x86, rest memory excluding xen heap, xen, ab

Re: [Qemu-devel] [PATCH RFC for-2.6 1/3] HBitmap: Introduce "meta" bitmap to track bit changes

2015-12-30 Thread Vladimir Sementsov-Ogievskiy
On 30.12.2015 14:07, Fam Zheng wrote: On Wed, 12/30 13:53, Vladimir Sementsov-Ogievskiy wrote: On 07.12.2015 08:59, Fam Zheng wrote: The meta bitmap will have the same size and granularity as the tracked bitmap, and upon each bit toggle, the corresponding bit in the meta bitmap, at an identical

Re: [Qemu-devel] [PATCH RFC for-2.6 1/3] HBitmap: Introduce "meta" bitmap to track bit changes

2015-12-30 Thread Fam Zheng
On Wed, 12/30 13:53, Vladimir Sementsov-Ogievskiy wrote: > On 07.12.2015 08:59, Fam Zheng wrote: > >The meta bitmap will have the same size and granularity as the tracked > >bitmap, and upon each bit toggle, the corresponding bit in the meta > >bitmap, at an identical position, will be set. > > > >

Re: [Qemu-devel] [PATCH RFC for-2.6 1/3] HBitmap: Introduce "meta" bitmap to track bit changes

2015-12-30 Thread Vladimir Sementsov-Ogievskiy
On 07.12.2015 08:59, Fam Zheng wrote: The meta bitmap will have the same size and granularity as the tracked bitmap, and upon each bit toggle, the corresponding bit in the meta bitmap, at an identical position, will be set. Signed-off-by: Fam Zheng --- include/qemu/hbitmap.h | 7 +++ ut