Re: [Qemu-devel] USB PCI host bus adapter hot plug

2014-08-12 Thread Alexey Kardashevskiy
On 08/11/2014 03:59 PM, Gonglei (Arei) wrote: Hi, Subject: [Qemu-devel] USB PCI host bus adapter hot plug Hi! I noticed that QMP's device_add usb-ehci,id=i2,bus=pci.0 fails on PCI hotplug. The same for pci-ohci and this is because their initfn() do dc-hotpluggable = false. So I removed

Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module

2014-08-12 Thread Eric Auger
On 08/11/2014 09:25 PM, Alex Williamson wrote: On Sat, 2014-08-09 at 15:25 +0100, Eric Auger wrote: diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h new file mode 100644 index 000..4684ee5 --- /dev/null +++ b/include/hw/vfio/vfio-common.h @@ -0,0 +1,151 @@ +/*

Re: [Qemu-devel] VFIO-PCI testing after VFIO-platform rework

2014-08-12 Thread Eric Auger
On 08/11/2014 07:57 PM, Will Deacon wrote: On Mon, Aug 11, 2014 at 03:28:40PM +0100, Eric Auger wrote: On 08/11/2014 03:50 PM, Will Deacon wrote: I'm playing with PCI device assignment with kvmtool, so I could do some basic testing if you like. Can you put the patches on a git tree somewhere

Re: [Qemu-devel] [PATCH v5 05/10] hw/vfio/pci: split vfio_get_device

2014-08-12 Thread Eric Auger
On 08/12/2014 04:41 AM, David Gibson wrote: On Sat, Aug 09, 2014 at 03:25:44PM +0100, Eric Auger wrote: vfio_get_device now takes a VFIODevice as argument. The function is split into 4 functional parts: dev_info query, device check, region populate and interrupt populate. the last 3 are

Re: [Qemu-devel] [RFC PATCH 05/10] linux headers update for DDW

2014-08-12 Thread Alexey Kardashevskiy
On 08/12/2014 11:20 AM, David Gibson wrote: On Thu, Jul 31, 2014 at 07:34:09PM +1000, Alexey Kardashevskiy wrote: Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru It would be nice for your commit message to state exactly what kernel version you pulled these updated headers in from. There

Re: [Qemu-devel] [PATCH] linux-user: Fix syscall instruction usermode emulation on X86_64

2014-08-12 Thread Riku Voipio
On Fri, Aug 08, 2014 at 11:56:54AM +0800, Jincheng Miao wrote: Currently syscall instruction is buggy on user mode X86_64, the EIP is updated after do_syscall(), that is too late for clone(). Because clone() will create a thread at the env-EIP (the address of syscall insn), and then child

Re: [Qemu-devel] [RFC PATCH 06/10] spapr_rtas: Add Dynamic DMA windows (DDW) RTAS calls support

2014-08-12 Thread Alexey Kardashevskiy
On 08/12/2014 11:45 AM, David Gibson wrote: On Thu, Jul 31, 2014 at 07:34:10PM +1000, Alexey Kardashevskiy wrote: This adds support for Dynamic DMA Windows (DDW) option defined by the SPAPR specification which allows to have additional DMA window(s) which can support page sizes other than 4K.

[Qemu-devel] [Bug 1285508] Re: [ppa 2.0~git-20140225] mouse cursor invisible with Ubuntu live system

2014-08-12 Thread Martin Pitt
It's actually fine for me with current utopic's 2.1+dfsg-2ubuntu2. I tested both the default graphics card as well as -vga vmware. ** Changed in: qemu (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is

Re: [Qemu-devel] The status about vhost-net on kvm-arm?

2014-08-12 Thread Eric Auger
On 08/12/2014 04:41 AM, Li Liu wrote: Hi all, Is anyone there can tell the current status of vhost-net on kvm-arm? Half a year has passed from Isa Ansharullah asked this question: http://www.spinics.net/lists/kvm-arm/msg08152.html I have found two patches which have provided the kvm-arm

Re: [Qemu-devel] [PATCH v2] linux-user: make binfmt flag O require P

2014-08-12 Thread Riku Voipio
Hi, On Mon, Aug 11, 2014 at 06:54:59PM +0200, Joakim Tjernlund wrote: I do not see this one in master yet. Is there any problem with the patch? It's included in the next pull request: https://git.linaro.org/people/riku.voipio/qemu.git/shortlog/refs/heads/linux-user-for-upstream It will be in

[Qemu-devel] [Bug 1355644] [NEW] windows7 reboot bluesreen 0x0000005c

2014-08-12 Thread huchaohong
Public bug reported: I have met sevaral blue screen with 0x005c(0x010b,0x0003,0x,0x) after windows7 reboot. It always happens just before the windows iron animation appears. my qemu version is qemu-2.1.0 my guest os is windows7 32bits sp1 my qemu commandline is

Re: [Qemu-devel] [PATCH v2 1/2] hw/misc/arm_sp810: Create SP810 device

2014-08-12 Thread Peter Crosthwaite
On Thu, Aug 7, 2014 at 1:55 AM, Aggeler Fabian aggel...@student.ethz.ch wrote: On 06 Aug 2014, at 01:03, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: On Tue, Aug 5, 2014 at 7:32 PM, Fabian Aggeler aggel...@ethz.ch wrote: This adds a device model for the PrimeXsys System Controller

Re: [Qemu-devel] [PATCH qom v2 1/2] qom: object_property_add: Add automatic arrayification

2014-08-12 Thread Peter Crosthwaite
Ping! On Mon, Aug 4, 2014 at 3:08 PM, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: If [*] is given as the last part of a QOM property name, treat that as an array property. The added property is given the first available name, replacing the * with a decimal number counting from 0.

Re: [Qemu-devel] [PATCH v1 00/16] GPIO/IRQ QOMification: Phase 2 - Getting rid of SYSBUS IRQs

2014-08-12 Thread Peter Crosthwaite
Ping! On Mon, Aug 4, 2014 at 11:51 AM, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: Hi All, So phase one was the QOMification of qemu_irq. This is the next step. We start to setup GPIOs as proper QOM objects. Inputs are child objects of their device. Outputs are settable Links and

Re: [Qemu-devel] [PATCH v1 00/17] dataplane: optimization and multi virtqueue support

2014-08-12 Thread Ming Lei
On Mon, Aug 11, 2014 at 10:03 PM, Kevin Wolf kw...@redhat.com wrote: Am 10.08.2014 um 05:46 hat Ming Lei geschrieben: Hi Kevin, Paolo, Stefan and all, On Wed, 6 Aug 2014 10:48:55 +0200 Kevin Wolf kw...@redhat.com wrote: Am 06.08.2014 um 07:33 hat Ming Lei geschrieben: Anyhow, the

[Qemu-devel] [Bug 1353947] Re: Hypervisor with QEMU-2.0/libvirtd 1.2.2 stack when launching VM with CirrOS or Ubuntu 12.04

2014-08-12 Thread Eyal Perry
Can't run apport-collect after the kernel hang ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1353947 Title: Hypervisor with

Re: [Qemu-devel] [PATCH v5 07/10] hw/vfio/platform: add vfio-platform support

2014-08-12 Thread bharat.bhus...@freescale.com
-Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Monday, August 11, 2014 3:06 PM To: Eric Auger; eric.au...@st.com; christoffer.d...@linaro.org; qemu- de...@nongnu.org; Phillips Kim-R1AAHA; a.r...@virtualopensystems.com Cc: will.dea...@arm.com;

Re: [Qemu-devel] [PATCH 2/2] i386: Add a Virtual Machine Generation ID device.

2014-08-12 Thread Gal Hammer
Hi, On 10/08/2014 20:22, Paolo Bonzini wrote: Il 10/08/2014 13:32, Gal Hammer ha scritto: Based on Microsoft's sepecifications (paper can be dowloaded from http://go.microsoft.com/fwlink/?LinkId=260709), add a device description to the SSDT ACPI table. The GUID is set using a new -vmgenid

[Qemu-devel] [PATCH v8 2/2] aarch64: Allow -kernel option to take a gzip-compressed kernel.

2014-08-12 Thread Richard W.M. Jones
On aarch64 it is the bootloader's job to uncompress the kernel. UEFI and u-boot bootloaders do this automatically when the kernel is gzip-compressed. However the qemu -kernel option does not do this. The following command does not work: qemu-system-aarch64 [...] -kernel /boot/vmlinuz

[Qemu-devel] [Bug 1353947] Re: Hypervisor with QEMU-2.0/libvirtd 1.2.2 stack when launching VM with CirrOS or Ubuntu 12.04

2014-08-12 Thread Eyal Perry
Hello Serge, I agree that there is probably some missing feature in the guest kernel. However, I don't believe it is acceptable for the hyper-visor kernel to be affected from this. Actually, this is a security issue if a VM user can crash i't Host kernel and probably some other VMs as well.

Re: [Qemu-devel] [PATCH 5/5] cmd646: synchronise UDMA interrupt status with DMA interrupt status

2014-08-12 Thread Stefan Hajnoczi
On Mon, Aug 11, 2014 at 04:33:01PM +0100, Mark Cave-Ayland wrote: On 11/08/14 16:12, Stefan Hajnoczi wrote: On Fri, Aug 08, 2014 at 05:23:36PM +0100, Mark Cave-Ayland wrote: @@ -322,6 +342,10 @@ static int pci_cmd646_ide_initfn(PCIDevice *dev) } /* Set write-to-clear interrupt

Re: [Qemu-devel] [v4][PATCH 3/5] I440FX_PCI_DEVICE: add pci_type to index

2014-08-12 Thread Michael S. Tsirkin
On Mon, Aug 11, 2014 at 10:50:48AM +0800, Chen, Tiejun wrote: On 2014/8/11 4:27, Michael S. Tsirkin wrote: On Thu, Aug 07, 2014 at 09:40:49AM +0800, Chen, Tiejun wrote: On 2014/8/7 5:07, Michael S. Tsirkin wrote: On Wed, Aug 06, 2014 at 06:17:02PM +0800, Chen, Tiejun wrote: On 2014/8/6

Re: [Qemu-devel] [PATCH 0/5] cmd646 tidy-up and interrupt status fixes

2014-08-12 Thread Stefan Hajnoczi
On Fri, Aug 08, 2014 at 05:23:31PM +0100, Mark Cave-Ayland wrote: This patchset came out of my work trying to boot NetBSD on SPARC64. According to the datasheet, the 646U2 UDMA interrupt status bits are exact mirrors of the normal DMA interrupt status bits, and an interrupt can be cleared

Re: [Qemu-devel] [PATCH v3 2/2] scsi-bus: Convert DeviceClass init to realize

2014-08-12 Thread Stefan Hajnoczi
On Tue, Aug 12, 2014 at 10:04:11AM +0800, Fam Zheng wrote: On Mon, 08/11 15:32, Stefan Hajnoczi wrote: On Mon, Aug 11, 2014 at 04:45:18PM +0800, Fam Zheng wrote: diff --git a/tests/qemu-iotests/051.out b/tests/qemu-iotests/051.out index d7b0f50..f6d9dc1 100644 ---

Re: [Qemu-devel] [PATCH 0/2] using qemu_set_nonblock() instead of fcntl(O_NONBLOCK)

2014-08-12 Thread Stefan Hajnoczi
On Mon, Aug 11, 2014 at 05:34:19PM +0800, arei.gong...@huawei.com wrote: From: Gonglei arei.gong...@huawei.com Technically, fcntl(soc, F_SETFL, O_NONBLOCK) is incorrect since it clobbers all other file flags. We can use F_GETFL to get the current flags, set or clear the O_NONBLOCK flag,

Re: [Qemu-devel] [PATCH v3 2/5] intel-iommu: introduce Intel IOMMU (VT-d) emulation

2014-08-12 Thread Le Tan
Hi Jan, 2014-08-12 15:34 GMT+08:00 Jan Kiszka jan.kis...@web.de: On 2014-08-11 09:04, Le Tan wrote: Add support for emulating Intel IOMMU according to the VT-d specification for the q35 chipset machine. Implement the logics for DMAR (DMA remapping) without PASID support. The emulation

Re: [Qemu-devel] [PATCH v1 08/16] qdev: gpio: Add API for intercepting an IRQ

2014-08-12 Thread Alexander Graf
On 04.08.14 03:55, Peter Crosthwaite wrote: To replace the old qemu_irq intercept API (which had users reaching into qdev private state for IRQs). Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- hw/core/qdev.c | 25 + include/hw/qdev-core.h

Re: [Qemu-devel] [PATCH v1 12/16] qdev: gpio: Remove qdev_init_gpio_out x1 restriction

2014-08-12 Thread Alexander Graf
On 04.08.14 03:58, Peter Crosthwaite wrote: Previously this was restricted to a single call per-dev/per-name. With the conversion of the GPIO output state to QOM the implementation can now handle repeated calls. Remove the restriction. Signed-off-by: Peter Crosthwaite

Re: [Qemu-devel] [PATCH v2 00/43] Postcopy implementation

2014-08-12 Thread Dr. David Alan Gilbert
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: On 2014/8/11 22:29, Dr. David Alan Gilbert (git) wrote: From: Dr. David Alan Gilbertdgilb...@redhat.com Hi Dave, I want to test your patches, but i failed to 'git am' them to the new qemu-2.1 source. I want to know if you has a

Re: [Qemu-devel] [PATCH v1 13/16] qdev: gpio: Define qdev_pass_gpios()

2014-08-12 Thread Alexander Graf
On 04.08.14 03:58, Peter Crosthwaite wrote: Allows a container to take ownership of GPIOs in a contained device and automatically connect them as GPIOs to the container. This prepares for deprecation of the SYSBUS IRQ functionality, which has this feature. We push it up to the device level

Re: [Qemu-devel] [v4][PATCH 3/5] I440FX_PCI_DEVICE: add pci_type to index

2014-08-12 Thread Chen, Tiejun
On 2014/8/12 16:54, Michael S. Tsirkin wrote: On Mon, Aug 11, 2014 at 10:50:48AM +0800, Chen, Tiejun wrote: On 2014/8/11 4:27, Michael S. Tsirkin wrote: On Thu, Aug 07, 2014 at 09:40:49AM +0800, Chen, Tiejun wrote: On 2014/8/7 5:07, Michael S. Tsirkin wrote: On Wed, Aug 06, 2014 at

Re: [Qemu-devel] [PATCH v1 15/16] ppc: convert g_new(qemu_irq usages to g_new0

2014-08-12 Thread Alexander Graf
On 04.08.14 03:59, Peter Crosthwaite wrote: To indicate the IRQs are initially disconnected. Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com I suppose you want to convert this one too? hw/intc/i8259.c:475:irq_set = g_malloc(ISA_NUM_IRQS * sizeof(qemu_irq)); Alex

Re: [Qemu-devel] [PATCH v1 00/16] GPIO/IRQ QOMification: Phase 2 - Getting rid of SYSBUS IRQs

2014-08-12 Thread Alexander Graf
On 04.08.14 03:51, Peter Crosthwaite wrote: Hi All, So phase one was the QOMification of qemu_irq. This is the next step. We start to setup GPIOs as proper QOM objects. Inputs are child objects of their device. Outputs are settable Links and connection is made via proper setting of a QOM link.

Re: [Qemu-devel] [PATCH v4 2/2] scsi-bus: Convert DeviceClass init to realize

2014-08-12 Thread Stefan Hajnoczi
On Tue, Aug 12, 2014 at 10:12:55AM +0800, Fam Zheng wrote: Replace init/destroy with realize/unrealize in SCSIDeviceClass, which has errp as a parameter. So all the implementations now use error_setg instead of error_report for reporting error. Also in scsi_bus_legacy_handle_cmdline, report

Re: [Qemu-devel] [RFC PATCH 08/10] spapr_pci: Enable DDW

2014-08-12 Thread Alexander Graf
On 12.08.14 05:59, Alexey Kardashevskiy wrote: On 08/12/2014 10:13 AM, Alexey Kardashevskiy wrote: On 08/12/2014 03:29 AM, Alexander Graf wrote: On 11.08.14 17:26, Alexey Kardashevskiy wrote: On 08/11/2014 09:59 PM, Alexander Graf wrote: On 31.07.14 11:34, Alexey Kardashevskiy wrote: This

Re: [Qemu-devel] [RFC PATCH 09/10] spapr_pci_vfio: Enable DDW

2014-08-12 Thread Alexander Graf
On 12.08.14 02:03, Alexey Kardashevskiy wrote: On 08/12/2014 03:30 AM, Alexander Graf wrote: On 11.08.14 17:01, Alexey Kardashevskiy wrote: On 08/11/2014 10:02 PM, Alexander Graf wrote: On 31.07.14 11:34, Alexey Kardashevskiy wrote: This implements DDW for VFIO. Host kernel support is

Re: [Qemu-devel] [v4][PATCH 3/5] I440FX_PCI_DEVICE: add pci_type to index

2014-08-12 Thread Chen, Tiejun
On 2014/8/12 17:25, Chen, Tiejun wrote: On 2014/8/12 16:54, Michael S. Tsirkin wrote: On Mon, Aug 11, 2014 at 10:50:48AM +0800, Chen, Tiejun wrote: On 2014/8/11 4:27, Michael S. Tsirkin wrote: On Thu, Aug 07, 2014 at 09:40:49AM +0800, Chen, Tiejun wrote: On 2014/8/7 5:07, Michael S.

Re: [Qemu-devel] ????: [PATCH v2 06/43] Return path: socket_writev_buffer:?Block even on non-blocking fd's

2014-08-12 Thread Dr. David Alan Gilbert
* chenliang (T) (chenlian...@huawei.com) wrote: From: Dr. David Alan Gilbert dgilb...@redhat.com The return path uses a non-blocking fd so as not to block waiting for the (possibly broken) destination to finish returning a message, however we still want outbound data to behave in the

[Qemu-devel] [v5][PATCH 2/4] pc_init1: pass parameters just with types

2014-08-12 Thread Tiejun Chen
Pass types to configure pc_init1(). Signed-off-by: Tiejun Chen tiejun.c...@intel.com --- hw/i386/pc_piix.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) v5: * Nothing is changed. v4: * New patch to work for patch #1 diff --git a/hw/i386/pc_piix.c

[Qemu-devel] [v5][PATCH 0/4] xen: introduce new machine for IGD passthrough

2014-08-12 Thread Tiejun Chen
v5: * Simplify to make sure its really inherited from the standard one in patch #3 * Then drop the original patch #3 v4: * Rebase on latest tree * Drop patch #2 * Regenerate patches after Michael introduce patch #1 * We need to use this pci_type as a index to reuse I440FX_PCI_DEVICE() * Test:

[Qemu-devel] [v5][PATCH 4/4] xen:hw:i386:pc_piix: introduce new machine for IGD passthrough

2014-08-12 Thread Tiejun Chen
Now we can introduce a new machine, xenigd, specific to IGD passthrough. This can avoid involving other common codes. Signed-off-by: Tiejun Chen tiejun.c...@intel.com --- hw/i386/pc_piix.c | 43 +++ 1 file changed, 43 insertions(+) v5: * Nothing is

[Qemu-devel] [v5][PATCH 1/4] i440fx: make types configurable at run-time

2014-08-12 Thread Tiejun Chen
From: Michael S. Tsirkin m...@redhat.com Xen wants to supply a different pci and host devices, inheriting i440fx devices. Make types configurable. Signed-off-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Tiejun Chen tiejun.c...@intel.com --- hw/i386/pc_piix.c| 4 +++-

[Qemu-devel] [v5][PATCH 3/4] xen:hw:pci-host:piix: create host bridge to passthrough

2014-08-12 Thread Tiejun Chen
Implement a pci host bridge specific to passthrough. Actually this just inherits the standard one. Signed-off-by: Tiejun Chen tiejun.c...@intel.com --- hw/pci-host/piix.c | 15 +++ include/hw/i386/pc.h | 2 ++ 2 files changed, 17 insertions(+) v5: * Simplify to make sure its

[Qemu-devel] [Bug 1355697] [NEW] qemu-img: Segfault on a fuzzed image with large values of L1/L2 entries

2014-08-12 Thread Maria Kustova
Public bug reported: 'qemu-img check -r all/leaks' failed with a segmentation fault on the fuzzed image with L1/L2 entry values having UINT64 border values. Sequence: 1. Unpack the attached archive, make a copy of test.img 2. Put copy.img and backing_img.raw in the same directory 3. Execute

Re: [Qemu-devel] [PATCH v1 12/16] qdev: gpio: Remove qdev_init_gpio_out x1 restriction

2014-08-12 Thread Peter Crosthwaite
On Tue, Aug 12, 2014 at 7:19 PM, Alexander Graf ag...@suse.de wrote: On 04.08.14 03:58, Peter Crosthwaite wrote: Previously this was restricted to a single call per-dev/per-name. With the conversion of the GPIO output state to QOM the implementation can now handle repeated calls. Remove the

Re: [Qemu-devel] [PATCH v5 1/6] generic function between migration and bitmap dump

2014-08-12 Thread Dr. David Alan Gilbert
* Sanidhya Kashyap (sanidhya.ii...@gmail.com) wrote: I have modified the functions to be more generic i.e. I have used the counter variable which stores the required value. If the value of counter is 0, it means bitmap dump process whereas the value of 1 means migration. OK, but not quite what

Re: [Qemu-devel] [RFC PATCH v1] Support vhd type VHD_DIFFERENCING

2014-08-12 Thread Stefan Hajnoczi
On Tue, Jul 01, 2014 at 05:45:19PM +0800, Ding xiao wrote: Sorry for the delay, I forgot about this patch. +typedef struct vhd_tdbatmap_header { +charmagic[8]; /* tdbatmap*/ + +/* byte offset to batmap*/ +uint64_tbatmap_offset; + +/* Offset of the Block Allocation

Re: [Qemu-devel] [PATCH v1 08/16] qdev: gpio: Add API for intercepting an IRQ

2014-08-12 Thread Peter Crosthwaite
On Tue, Aug 12, 2014 at 7:16 PM, Alexander Graf ag...@suse.de wrote: On 04.08.14 03:55, Peter Crosthwaite wrote: To replace the old qemu_irq intercept API (which had users reaching into qdev private state for IRQs). Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com ---

Re: [Qemu-devel] [PATCH v3] vmdk: improve streamOptimized vmdk support

2014-08-12 Thread Stefan Hajnoczi
On Wed, Aug 06, 2014 at 05:24:42PM -0400, Milos Vyletel wrote: VMDK's streamOptimized format is different from regular sparse format. L1(GD) and L2(GT) tables are not predefined but rather generated and written during image creation mainly because there is no way to tell how much space data

Re: [Qemu-devel] disk image: self-organized format or raw file

2014-08-12 Thread 吴兴博
Hi Fam, It's glad to hear you, It is said in this post that All files systems that support inodes (ext2/3/4, xfs, btfs, etc) support files with holes while creating the files... [ http://serverfault.com/questions/558761/best-linux-filesystem-for-sparse-files ] I also heard this claim from other

Re: [Qemu-devel] [PATCH v1 13/16] qdev: gpio: Define qdev_pass_gpios()

2014-08-12 Thread Peter Crosthwaite
On Tue, Aug 12, 2014 at 7:24 PM, Alexander Graf ag...@suse.de wrote: On 04.08.14 03:58, Peter Crosthwaite wrote: Allows a container to take ownership of GPIOs in a contained device and automatically connect them as GPIOs to the container. This prepares for deprecation of the SYSBUS IRQ

Re: [Qemu-devel] [PATCH v1 15/16] ppc: convert g_new(qemu_irq usages to g_new0

2014-08-12 Thread Peter Crosthwaite
On Tue, Aug 12, 2014 at 7:26 PM, Alexander Graf ag...@suse.de wrote: On 04.08.14 03:59, Peter Crosthwaite wrote: To indicate the IRQs are initially disconnected. Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com I suppose you want to convert this one too? Yes. Thanks.

Re: [Qemu-devel] [PATCH v1 12/16] qdev: gpio: Remove qdev_init_gpio_out x1 restriction

2014-08-12 Thread Alexander Graf
On 12.08.14 12:35, Peter Crosthwaite wrote: On Tue, Aug 12, 2014 at 7:19 PM, Alexander Graf ag...@suse.de wrote: On 04.08.14 03:58, Peter Crosthwaite wrote: Previously this was restricted to a single call per-dev/per-name. With the conversion of the GPIO output state to QOM the implementation

[Qemu-devel] q35 : virtio-serial on pci bridge : bus not found

2014-08-12 Thread Alexandre DERUMIER
Hi, I can't use virtio-serial, with q35 machine, on a pci bridge (other devices works fine). Is it a known bug ? error message: --- kvm: -device virtio-serial,id=spice,bus=pci.0,addr=0x9: Bus 'pci.0' not found architecture is: pcie.0 ---pcidmi (i82801b11-bridge)

[Qemu-devel] [Bug 1355738] [NEW] qemu-img: Killed by SIGTRAP on check of the fuzzed image

2014-08-12 Thread Maria Kustova
Public bug reported: 'qemu-img check -r all' was killed by SIGTRAP. Sequence: 1. Unpack the attached archive, make a copy of test.img 2. Put copy.img and backing_img.qed in the same directory 3. Execute qemu-img check -f qcow2 -r all copy.img Result: qemu-img was killed by SIGTRAP with the

Re: [Qemu-devel] [PATCH v1 13/16] qdev: gpio: Define qdev_pass_gpios()

2014-08-12 Thread Alexander Graf
On 12.08.14 12:48, Peter Crosthwaite wrote: On Tue, Aug 12, 2014 at 7:24 PM, Alexander Graf ag...@suse.de wrote: On 04.08.14 03:58, Peter Crosthwaite wrote: Allows a container to take ownership of GPIOs in a contained device and automatically connect them as GPIOs to the container. This

Re: [Qemu-devel] [PATCH v5 2/6] BitmapLog: bitmap dump code

2014-08-12 Thread Dr. David Alan Gilbert
* Sanidhya Kashyap (sanidhya.ii...@gmail.com) wrote: In this patch, I have incorporated an enum named QemuProcess which defines what kind of process is being executed i.e. none -- no other process except the VM execution migration -- migration is being executed bitmap-dump -- bitmap dump

[Qemu-devel] [question] which version of seabios is best for qemu-2.0.0?

2014-08-12 Thread Zhang Haoyu
Hi all, We choose qemu-2.0.0 as distribution, and which version of seabios is best for qemu-2.0.0 ? Thanks, Zhang Haoyu

Re: [Qemu-devel] disk image: self-organized format or raw file

2014-08-12 Thread Fam Zheng
On Tue, 08/12 06:46, 吴兴博 wrote: Hi Fam, It's glad to hear you, It is said in this post that All files systems that support inodes (ext2/3/4, xfs, btfs, etc) support files with holes while creating the files... [

Re: [Qemu-devel] q35 : virtio-serial on pci bridge : bus not found

2014-08-12 Thread Alexandre DERUMIER
Seem not related to q35, as with pc-i440fx machine model, It's also hang on pci bridge error msg : -device virtio-serial,id=spice,bus=pci.2,addr=0xb: Bus 'pci.2' not found /usr/bin/kvm -id 126 -chardev socket,id=qmp,path=/var/run/qemu-server/126.qmp,server,nowait -mon

Re: [Qemu-devel] [PATCH v5 3/6] BitmapLog: get the information about the parameters

2014-08-12 Thread Dr. David Alan Gilbert
* Sanidhya Kashyap (sanidhya.ii...@gmail.com) wrote: No functional change except the variable name. Signed-off-by: Sanidhya Kashyap sanidhya.ii...@gmail.com --- hmp-commands.hx | 2 ++ hmp.c| 19 +++ hmp.h| 1 + monitor.c| 7 +++

Re: [Qemu-devel] [PATCH qom v2 1/2] qom: object_property_add: Add automatic arrayification

2014-08-12 Thread Andreas Färber
Am 04.08.2014 07:08, schrieb Peter Crosthwaite: If [*] is given as the last part of a QOM property name, treat that as an array property. The added property is given the first available name, replacing the * with a decimal number counting from 0. First add with name foo[*] will be foo[0].

Re: [Qemu-devel] [PATCH v3 00/21] target-mips: add MIPS64R6 Instruction Set support

2014-08-12 Thread Leon Alrae
ping On 05/08/2014 10:26, Leon Alrae wrote: ping http://patchwork.ozlabs.org/patch/365066/ http://patchwork.ozlabs.org/patch/365042/ http://patchwork.ozlabs.org/patch/365046/ http://patchwork.ozlabs.org/patch/365056/ http://patchwork.ozlabs.org/patch/365059/ On 27/06/2014 16:21, Leon

Re: [Qemu-devel] [PATCH v1 00/17] dataplane: optimization and multi virtqueue support

2014-08-12 Thread Kevin Wolf
Am 12.08.2014 um 09:53 hat Ming Lei geschrieben: On Mon, Aug 11, 2014 at 10:03 PM, Kevin Wolf kw...@redhat.com wrote: Am 10.08.2014 um 05:46 hat Ming Lei geschrieben: Hi Kevin, Paolo, Stefan and all, On Wed, 6 Aug 2014 10:48:55 +0200 Kevin Wolf kw...@redhat.com wrote: Am

Re: [Qemu-devel] [PATCH 0/8] target-ppc: Bug Fixes for 64 Bit FXU Instructions

2014-08-12 Thread Tom Musta
On 8/11/2014 10:06 PM, David Gibson wrote: On Mon, Aug 11, 2014 at 02:23:21PM -0500, Tom Musta wrote: These patches fix assorted bugs in the emulation of Power Fixed Point Unit instructions. All instructions have been thorougly tested by running millions of random patterns through actual

[Qemu-devel] [PATCH v4 00/11] Virtio PCI libqos driver

2014-08-12 Thread Marc Marí
Add functions for virtio PCI libqos driver. Add more debugging tools. Solve bugs found while generating tests. v3: Solved problems, added indirect descriptor support and test for configuration changes v4: Solved bugs, changed some interfaces, added MSI-X and event_idx support. Marc Marí

[Qemu-devel] [PATCH v4 03/11] libqtest: add QTEST_LOG for debugging qtest testcases

2014-08-12 Thread Marc Marí
Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Marc Marí marc.mari.barc...@gmail.com --- tests/libqtest.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/libqtest.c b/tests/libqtest.c index 98e8f4b..fbd600d 100644 --- a/tests/libqtest.c +++

[Qemu-devel] [PATCH v4 01/11] tests: Functions bus_foreach and device_find from libqos virtio API

2014-08-12 Thread Marc Marí
Virtio header has been changed to compile and work with a real device. Functions bus_foreach and device_find have been implemented for PCI. Virtio-blk test case now opens a fake device. Signed-off-by: Marc Marí marc.mari.barc...@gmail.com --- tests/Makefile|3 +-

[Qemu-devel] [PATCH v4 10/11] libqos: Added MSI-X support

2014-08-12 Thread Marc Marí
Added MSI-X support for qtest PCI. Added MSI-X support for virtio-pci. Added MSI-X test case in virtio-blk-test. Signed-off-by: Marc Marí marc.mari.barc...@gmail.com --- tests/libqos/pci.c| 110 - tests/libqos/pci.h| 10 +++ tests/libqos/virtio-pci.c |

[Qemu-devel] [PATCH v4 05/11] libqos: Change free function called in malloc

2014-08-12 Thread Marc Marí
Reviewed-by: John Snow js...@redhat.com Reviewed-by: Stefan Hajnoczi stefa...@redhat.com Signed-off-by: Marc Marí marc.mari.barc...@gmail.com --- tests/libqos/malloc.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libqos/malloc.h b/tests/libqos/malloc.h index

[Qemu-devel] [PATCH v4 04/11] libqos: Correct mask to align size to PAGE_SIZE in malloc-pc

2014-08-12 Thread Marc Marí
Reviewed-by: John Snow js...@redhat.com Reviewed-by: Stefan Hajnoczi stefa...@redhat.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Marc Marí marc.mari.barc...@gmail.com --- tests/libqos/malloc-pc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Qemu-devel] [PATCH v4 02/11] tests: Add virtio device initialization

2014-08-12 Thread Marc Marí
Add functions to read and write virtio header fields. Add status bit setting in virtio-blk-device. Signed-off-by: Marc Marí marc.mari.barc...@gmail.com --- tests/Makefile|2 +- tests/libqos/virtio-pci.c | 57 +

[Qemu-devel] [PATCH v4 07/11] libqos: Added basic virtqueue support to virtio implementation

2014-08-12 Thread Marc Marí
Add status changing and feature negotiation. Add basic virtqueue support for adding and sending virtqueue requests. Add ISR checking. Signed-off-by: Marc Marí marc.mari.barc...@gmail.com --- tests/libqos/virtio-pci.c | 91 ++- tests/libqos/virtio-pci.h |2 +

[Qemu-devel] [PATCH v4 06/11] virtio-blk: Correct bug in support for flexible descriptor layout

2014-08-12 Thread Marc Marí
Without this correction, only a three descriptor layout is accepted, and requests with just two descriptors are not completed and no error message is displayed. Signed-off-by: Stefan Hajnoczi stefa...@redhat.com Signed-off-by: Marc Marí marc.mari.barc...@gmail.com --- hw/block/virtio-blk.c |

[Qemu-devel] [PATCH v4 11/11] libqos: Added EVENT_IDX support

2014-08-12 Thread Marc Marí
Added avail_event and NO_NOTIFY check before notifying. Added used_event setting. Signed-off-by: Marc Marí marc.mari.barc...@gmail.com --- tests/libqos/virtio-pci.c |1 + tests/libqos/virtio.c | 26 +- tests/libqos/virtio.h |5 +

[Qemu-devel] [PATCH v4 09/11] libqos: Added test case for configuration changes in virtio-blk test

2014-08-12 Thread Marc Marí
Signed-off-by: Marc Marí marc.mari.barc...@gmail.com --- tests/virtio-blk-test.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/virtio-blk-test.c b/tests/virtio-blk-test.c index 06a9ac8..7269ade 100644 --- a/tests/virtio-blk-test.c +++

[Qemu-devel] [PATCH v4 08/11] libqos: Added indirect descriptor support to virtio implementation

2014-08-12 Thread Marc Marí
Add functions necessary for working with indirect descriptors. Add test using new functions. Signed-off-by: Marc Marí marc.mari.barc...@gmail.com --- tests/libqos/virtio-pci.c | 10 tests/libqos/virtio.c | 63 tests/libqos/virtio.h | 22 -

Re: [Qemu-devel] disk image: self-organized format or raw file

2014-08-12 Thread 吴兴博
I carefully read your reply and thought of it carefully. I'm sorry that when I said I get it I actually meant I believe you but not I understand it. The problem would not come from cp or rsync -- It's not their fault. They just have no way to make it right. The real reason of it would be that

Re: [Qemu-devel] q35 : virtio-serial on pci bridge : bus not found

2014-08-12 Thread Gonglei
On 2014/8/12 18:51, Alexandre DERUMIER wrote: Hi, I can't use virtio-serial, with q35 machine, on a pci bridge (other devices works fine). Is it a known bug ? No, you should lay 'kvm: -device virtio-serial,id=spice,bus=pci.0' before -readconfig /usr/share/qemu-server/pve-q35.cfg,which

Re: [Qemu-devel] [PATCH v1 00/17] dataplane: optimization and multi virtqueue support

2014-08-12 Thread Ming Lei
On Tue, Aug 12, 2014 at 7:40 PM, Kevin Wolf kw...@redhat.com wrote: Am 12.08.2014 um 09:53 hat Ming Lei geschrieben: On Mon, Aug 11, 2014 at 10:03 PM, Kevin Wolf kw...@redhat.com wrote: Am 10.08.2014 um 05:46 hat Ming Lei geschrieben: Hi Kevin, Paolo, Stefan and all, On Wed, 6 Aug 2014

Re: [Qemu-devel] disk image: self-organized format or raw file

2014-08-12 Thread Fam Zheng
On Tue, 08/12 08:03, 吴兴博 wrote: I carefully read your reply and thought of it carefully. I'm sorry that when I said I get it I actually meant I believe you but not I understand it. The problem would not come from cp or rsync -- It's not their fault. They just have no way to make it right.

[Qemu-devel] QMP 'block_resize' for virtio-blk dataplane is not working in 2.1

2014-08-12 Thread Andrey Korolyov
Hello, In a released version, I am not able to notify guest about geometry change using dataplane virtio-blk backend, generic virtio-blk works fine: virsh # qemu-monitor-command --hmp vmtest block_resize drive-virtio-disk0 71680M Device 'drive-virtio-disk0' is in use expected: virsh #

Re: [Qemu-devel] [PATCH v5 6/6] BitmapLog: python script for extracting bitmap from a binary file

2014-08-12 Thread Dr. David Alan Gilbert
* Sanidhya Kashyap (sanidhya.ii...@gmail.com) wrote: The file not only extracts the bitmap from the file but also draws the figure if required. Currently, figure is drawn for all the bitmaps. Later, I'll make the change to draw for different blocks. The picture is drawn by generating a

[Qemu-devel] [PATCH 1/2] qapi.py: avoid Python 2.5+ any() function

2014-08-12 Thread Stefan Hajnoczi
There is one instance of any() in qapi.py that breaks builds on older distros that ship Python 2.4 (like RHEL5): GEN qmp-commands.h Traceback (most recent call last): File build/scripts/qapi-commands.py, line 445, in ? exprs = parse_schema(input_file) File build/scripts/qapi.py, line

[Qemu-devel] [PATCH 0/2] Fixes for buildbot failures

2014-08-12 Thread Stefan Hajnoczi
I just did a sweep of the buildbot at http://buildbot.b1-systems.de/qemu/builders. These patches solve issues on RHEL5 and OpenBSD buildslaves. Stefan Hajnoczi (2): qapi.py: avoid Python 2.5+ any() function libqtest: launch QEMU with QEMU_AUDIO_DRV=none scripts/qapi.py | 8

[Qemu-devel] [PATCH 2/2] libqtest: launch QEMU with QEMU_AUDIO_DRV=none

2014-08-12 Thread Stefan Hajnoczi
No test case actually uses the audio backend. Disable audio to prevent errors on hosts with no sound hardware present: GTESTER check-qtest-aarch64 sdl: SDL_OpenAudio failed sdl: Reason: No available audio device sdl: SDL_OpenAudio failed sdl: Reason: No available audio device audio:

Re: [Qemu-devel] [PATCH v3] vmdk: improve streamOptimized vmdk support

2014-08-12 Thread Milos Vyletel
On Tue, Aug 12, 2014 at 6:45 AM, Stefan Hajnoczi stefa...@redhat.com wrote: On Wed, Aug 06, 2014 at 05:24:42PM -0400, Milos Vyletel wrote: VMDK's streamOptimized format is different from regular sparse format. L1(GD) and L2(GT) tables are not predefined but rather generated and written during

Re: [Qemu-devel] [PATCH v3 00/14] drop qapi nested structs

2014-08-12 Thread Eric Blake
ping On 08/05/2014 07:14 PM, Eric Blake wrote: According to this email: https://lists.gnu.org/archive/html/qemu-devel/2014-05/msg00708.html we want to repurpose 'data': { 'name': {dict...} } in qapi files for future use of designating default values of optional parameters. But to do that, we

Re: [Qemu-devel] [PATCH RFC 0/3] dataplane: dataplane: more graceful error handling

2014-08-12 Thread Stefan Hajnoczi
On Fri, Jul 25, 2014 at 02:10:45PM +0200, Cornelia Huck wrote: Currently, qemu will take a hard exit if it fails to set up guest or host notifiers, giving no real clue as to what went wrong (e.g., when out of file descriptors). This patchset tries to make this more manageable: Both by

Re: [Qemu-devel] [PATCH v2 0/4] block/parallels: 2TB+ parallels images support

2014-08-12 Thread Stefan Hajnoczi
On Mon, Jul 28, 2014 at 08:23:51PM +0400, Denis V. Lunev wrote: Parallels has released in the recent updates of Parallels Server 5/6 new addition to his image format. Images with signature WithouFreSpacExt have offsets in the catalog coded not as offsets in sectors (multiple of 512 bytes) but

Re: [Qemu-devel] [PATCH 2/2] libqtest: launch QEMU with QEMU_AUDIO_DRV=none

2014-08-12 Thread Markus Armbruster
Stefan Hajnoczi stefa...@redhat.com writes: No test case actually uses the audio backend. Disable audio to prevent errors on hosts with no sound hardware present: GTESTER check-qtest-aarch64 sdl: SDL_OpenAudio failed sdl: Reason: No available audio device sdl: SDL_OpenAudio failed

Re: [Qemu-devel] disk image: self-organized format or raw file

2014-08-12 Thread Kirill Batuzov
On Tue, 12 Aug 2014, Fam Zheng wrote: On Mon, 08/11 19:38, 吴兴博 wrote: Hello, The introduction in the wiki page present several advantages of qcow2 [1]. But I'm a little confused. I really appreciate if any one can give me some help on this :). (1) Currently the raw format

Re: [Qemu-devel] [PATCH v5 2/6] BitmapLog: bitmap dump code

2014-08-12 Thread Eric Blake
On 07/31/2014 09:12 PM, Sanidhya Kashyap wrote: In this patch, I have incorporated an enum named QemuProcess which defines what kind of process is being executed i.e. none -- no other process except the VM execution migration -- migration is being executed bitmap-dump -- bitmap dump process

Re: [Qemu-devel] [PATCH 2/2] libqtest: launch QEMU with QEMU_AUDIO_DRV=none

2014-08-12 Thread Andreas Färber
Am 12.08.2014 14:57, schrieb Markus Armbruster: Stefan Hajnoczi stefa...@redhat.com writes: No test case actually uses the audio backend. Disable audio to prevent errors on hosts with no sound hardware present: GTESTER check-qtest-aarch64 sdl: SDL_OpenAudio failed sdl: Reason: No

Re: [Qemu-devel] [PATCH 0/3] vpc: support probing of fixed size images

2014-08-12 Thread Stefan Hajnoczi
On Fri, Aug 01, 2014 at 03:39:58PM +0200, Levente Kurusa wrote: Fixed size VPC images do not have a footer, hence the current probe function will fail and QEMU will fall back to the raw_bsd driver, which is not the correct behaviour. The specification of the format says that fixed size images

Re: [Qemu-devel] [PATCH for-2.1] qemu-options: add missing -drive discard option to cmdline help

2014-08-12 Thread Stefan Hajnoczi
On Mon, Jul 28, 2014 at 09:53:02PM +0200, Peter Lieven wrote: Signed-off-by: Peter Lieven p...@kamp.de --- qemu-options.hx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan pgppLibKcVDhv.pgp

Re: [Qemu-devel] disk image: self-organized format or raw file

2014-08-12 Thread Eric Blake
On 08/11/2014 05:38 PM, 吴兴博 wrote: Hello, The introduction in the wiki page present several advantages of qcow2 [1]. But I'm a little confused. I really appreciate if any one can give me some help on this :). (1) Currently the raw format doesn't support COW. In other words, a raw

Re: [Qemu-devel] [PATCH v2 1/1] virtio-rng: add some trace events

2014-08-12 Thread Stefan Hajnoczi
On Mon, Aug 04, 2014 at 04:22:44PM +0530, Amit Shah wrote: Add some trace events to virtio-rng for easier debugging Signed-off-by: Amit Shah amit.s...@redhat.com --- v2: - requested_size trace event now shows proper values --- hw/virtio/virtio-rng.c | 6 ++ trace-events

Re: [Qemu-devel] [PATCH 0/3] vpc: support probing of fixed size images

2014-08-12 Thread Jeff Cody
On Tue, Aug 12, 2014 at 02:20:34PM +0100, Stefan Hajnoczi wrote: On Fri, Aug 01, 2014 at 03:39:58PM +0200, Levente Kurusa wrote: Fixed size VPC images do not have a footer, hence the current probe function will fail and QEMU will fall back to the raw_bsd driver, which is not the correct

[Qemu-devel] [PULL 00/18] Tracing patches

2014-08-12 Thread Stefan Hajnoczi
The following changes since commit 2d591ce2aeebf9620ff527c7946844a3122afeec: Merge remote-tracking branch 'remotes/mdroth/qga-pull-2014-08-08' into staging (2014-08-08 14:16:05 +0100) are available in the git repository at: git://github.com/stefanha/qemu.git tags/tracing-pull-request for

  1   2   3   >