Re: [Qemu-devel] virtio-net: network stops responding in Win2k3 server

2014-02-06 Thread ing. Mario De Chenno
Still having problems, even after upgrading to latest virtio-win driver: DriverVer=11/20/2013,52.65.104.7400 NIC stops responding, and I often need to power off and back on the vm, since disabling the affected nic within Windows does not always solve the problem. tap setting are the same as

Re: [Qemu-devel] [SeaBIOS] WfW setup and DOS display.sys hanging

2014-02-06 Thread Gerd Hoffmann
Hi, Sebastian, can you document the steps to reproduce the dosidle and display.sys failure? Placed a copy of a fresh ms-dos 6.2 install here (qcow2 hard disk image): http://www.kraxel.org/download/ display.sys hangs reproduces with that image. cheers, Gerd

[Qemu-devel] [PATCH 0/2] convert -m to QemuOpts

2014-02-06 Thread Igor Mammedov
changes since RFC: - resolved conflict with error_abort change in qemu_get_machine_opts() Igor Mammedov (1): vl: convert -m to QemuOpts Paolo Bonzini (1): QemuOpts: introduce qemu_find_opts_singleton include/qemu/config-file.h |2 + qemu-options.hx|7 +++-

[Qemu-devel] [PATCH 1/2] QemuOpts: introduce qemu_find_opts_singleton

2014-02-06 Thread Igor Mammedov
From: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Igor Mammedov imamm...@redhat.com --- include/qemu/config-file.h |2 ++ util/qemu-config.c | 14 ++ vl.c | 11 +-- 3 files changed, 17

[Qemu-devel] [PATCH 2/2] vl: convert -m to QemuOpts

2014-02-06 Thread Igor Mammedov
Adds option to -m mem - startup memory amount For compatibility with legacy CLI if suffix-less number is passed, it assumes amount in Mb. Otherwise user is free to use suffixed number using suffixes b,k/K,M,G Signed-off-by: Igor Mammedov imamm...@redhat.com Signed-off-by: Paolo Bonzini

[Qemu-devel] 128Kb bios size and older machines?

2014-02-06 Thread Michael Tokarev
Since the small (128Kb) seabios is now built without support of xen, does that mean that xen will be unable to use qemu with -M 1.7 and before? Does it _ever_ use -M option like this? I'm asking because I don't really understand how this works. We updated seabios in debian to 1.7.4 (with qemu

Re: [Qemu-devel] [Qemu-trivial] [PATCH] sparc/leon3: Initialize stack pointer

2014-02-06 Thread Michael Tokarev
03.02.2014 13:18, Sebastian Huber wrote: A lot of real world LEON3 systems are shipped with the GRMON boot loader. This boot loader initializes the stack pointer with the end of RAM address. The application can use this to detect the RAM size of a particular board variant. I don't really

Re: [Qemu-devel] 128Kb bios size and older machines?

2014-02-06 Thread Gerd Hoffmann
On Do, 2014-02-06 at 12:28 +0400, Michael Tokarev wrote: Since the small (128Kb) seabios is now built without support of xen, does that mean that xen will be unable to use qemu with -M 1.7 and before? Does it _ever_ use -M option like this? As far I know xen has its own seabios builds anyway

Re: [Qemu-devel] [Qemu-trivial] [PATCH] sparc/leon3: Initialize stack pointer

2014-02-06 Thread Sebastian Huber
On 2014-02-06 09:40, Michael Tokarev wrote: 03.02.2014 13:18, Sebastian Huber wrote: A lot of real world LEON3 systems are shipped with the GRMON boot loader. This boot loader initializes the stack pointer with the end of RAM address. The application can use this to detect the RAM size of a

Re: [Qemu-devel] [Qemu-trivial] [PATCH] sparc/leon3: Initialize stack pointer

2014-02-06 Thread Peter Maydell
On 6 February 2014 08:40, Michael Tokarev m...@tls.msk.ru wrote: 03.02.2014 13:18, Sebastian Huber wrote: A lot of real world LEON3 systems are shipped with the GRMON boot loader. This boot loader initializes the stack pointer with the end of RAM address. The application can use this to

Re: [Qemu-devel] [PATCH v3 0/5] Add netmap backend offloadings support

2014-02-06 Thread Vincenzo Maffione
ping Cheers Vincenzo 2014-01-20 Vincenzo Maffione v.maffi...@gmail.com: The purpose of this patch series is to add offloadings support (TSO/UFO/CSUM) to the netmap network backend, and make it possible for the paravirtual network frontends (virtio-net and vmxnet3) to use it. In order to

Re: [Qemu-devel] QEMU LIve Migration - swap_free: Bad swap file entry

2014-02-06 Thread Orit Wasserman
On 02/06/2014 09:20 AM, Stefan Priebe - Profihost AG wrote: Am 05.02.2014 21:15, schrieb Dr. David Alan Gilbert: * Stefan Priebe (s.pri...@profihost.ag) wrote: Hello, after live migrating machines with a lot of memory (32GB, 48GB, ...) i see pretty often crashing services after migration and

[Qemu-devel] [PATCH] memory_region_present: return false if address is not found in child MemoryRegion

2014-02-06 Thread Igor Mammedov
Windows XP shows COM2 port as non functional in Device Manager although no COM2 port backing device is present in QEMU. That is caused by the fact that QEMU reports to OSPM that device is present by setting 5th bit in PII4XPM.pci_conf[0x67] register when COM2 doesn't exist. It happens due to

Re: [Qemu-devel] QEMU LIve Migration - swap_free: Bad swap file entry

2014-02-06 Thread Stefan Priebe - Profihost AG
Am 06.02.2014 11:22, schrieb Orit Wasserman: On 02/06/2014 09:20 AM, Stefan Priebe - Profihost AG wrote: Am 05.02.2014 21:15, schrieb Dr. David Alan Gilbert: * Stefan Priebe (s.pri...@profihost.ag) wrote: Hello, after live migrating machines with a lot of memory (32GB, 48GB, ...) i see

Re: [Qemu-devel] [PULL 0/4] spice patch queue

2014-02-06 Thread Peter Maydell
On 3 February 2014 15:18, Gerd Hoffmann kra...@redhat.com wrote: Hi, Flushing the spice patch queue. Nothing outstanding, just a small collection of misc spice patches. please pull, Gerd Applied, thanks. Congratulations on the first merged pull request in QEMU which satisfies all of:

Re: [Qemu-devel] [PULL 00/16] KVM changes for 2014-02-03

2014-02-06 Thread Peter Maydell
On 3 February 2014 16:38, Paolo Bonzini pbonz...@redhat.com wrote: Anthony, Peter, the following changes since commit 0169c511554cb0014a00290b0d3d26c31a49818f: Merge remote-tracking branch 'qemu-kvm/uq/master' into staging (2014-01-24 15:52:44 -0800) are available in the git repository

Re: [Qemu-devel] [pve-devel] QEMU LIve Migration - swap_free: Bad swap file entry

2014-02-06 Thread Alexandre DERUMIER
Do you force rbd_cache=true in ceph.conf? if yes, do you use cache=writeback ? according to ceph doc: http://ceph.com/docs/next/rbd/qemu-rbd/ Important If you set rbd_cache=true, you must set cache=writeback or risk data loss. Without cache=writeback, QEMU will not send flush requests to

Re: [Qemu-devel] [pve-devel] QEMU LIve Migration - swap_free: Bad swap file entry

2014-02-06 Thread Stefan Priebe - Profihost AG
Am 06.02.2014 12:14, schrieb Alexandre DERUMIER: Do you force rbd_cache=true in ceph.conf? no if yes, do you use cache=writeback ? yes So this should be safe. PS: all my guests do not even have !!SWAP!! # free|grep Swap Swap:0 0 0 Stefan according to ceph

Re: [Qemu-devel] migration: broken ram_save_pending

2014-02-06 Thread Dr. David Alan Gilbert
* Alexey Kardashevskiy (a...@ozlabs.ru) wrote: On 02/06/2014 03:45 AM, Paolo Bonzini wrote: Il 05/02/2014 17:42, Dr. David Alan Gilbert ha scritto: Because: * the code is still running and keeps redirtying a small handful of pages * but because we've underestimated our available

Re: [Qemu-devel] [pve-devel] QEMU LIve Migration - swap_free: Bad swap file entry

2014-02-06 Thread Alexandre DERUMIER
PS: all my guests do not even have !!SWAP!! Not sure is related to swap file. I found an similar problem here, triggered with suspend/resume on ext4 http://lkml.indiana.edu/hypermail/linux/kernel/1106.3/01340.html Maybe is it a guest kernel bug ? - Mail original - De: Stefan Priebe

[Qemu-devel] [PATCH 1/2] xhci iso: fix time calculation

2014-02-06 Thread Gerd Hoffmann
Frameid specifies frames not microframes, so we need to shift it to get the microframe index. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- hw/usb/hcd-xhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 44964f4..2c54b86

[Qemu-devel] [PATCH 2/2] xhci iso: allow for some latency

2014-02-06 Thread Gerd Hoffmann
Allow the scheduled transfer time be a bit behind, to compensate for latencies. Without this xhci will wait way to often for the mfindex wraparound, assuming the scheduled time is in the future just because qemu is a bit behind in processing the iso transfer requests. Signed-off-by: Gerd

Re: [Qemu-devel] [PATCH v2 23/35] target-arm: Implement AArch64 cache invalidate/clean ops

2014-02-06 Thread Peter Maydell
On 31 January 2014 15:45, Peter Maydell peter.mayd...@linaro.org wrote: Implement all the AArch64 cache invalidate and clean ops (which are all NOPs since QEMU doesn't emulate the cache). The only remaining unimplemented cache op is DC ZVA. Alex pointed out to me on IRC that since userspace

Re: [Qemu-devel] [PATCH] memory_region_present: return false if address is not found in child MemoryRegion

2014-02-06 Thread Michael S. Tsirkin
On Thu, Feb 06, 2014 at 11:24:33AM +0100, Igor Mammedov wrote: Windows XP shows COM2 port as non functional in Device Manager although no COM2 port backing device is present in QEMU. That is caused by the fact that QEMU reports to OSPM that device is present by setting 5th bit in

Re: [Qemu-devel] [pve-devel] QEMU LIve Migration - swap_free: Bad swap file entry

2014-02-06 Thread Stefan Priebe - Profihost AG
May be, sadly i've no idea. Only using 3.10 Kernel with XFS. Stefan Am 06.02.2014 12:40, schrieb Alexandre DERUMIER: PS: all my guests do not even have !!SWAP!! Not sure is related to swap file. I found an similar problem here, triggered with suspend/resume on ext4

[Qemu-devel] qemu_rdma_cleanup seg - related to 5a91337?

2014-02-06 Thread Dr. David Alan Gilbert
Hi Isaku, I hit a seg in qemu_rdma_cleanup in the code changed by your '[PATCH] rdma: clean up of qemu_rdma_cleanup()' migration-rdma.c ~ 2241 if (rdma-qp) { rdma_destroy_qp(rdma-cm_id); rdma-qp = NULL; } Your patch changed that to free cm_id at that point rather than

Re: [Qemu-devel] [libvirt] Looking for project ideas and mentors for Google Summer of Code 2014

2014-02-06 Thread Stefan Hajnoczi
On Tue, Feb 4, 2014 at 1:38 PM, Michal Privoznik mpriv...@redhat.com wrote: On 03.02.2014 08:45, Stefan Hajnoczi wrote: KVM libvirt: you are welcome to join the QEMU umbrella organization like last year. I've updated wiki with a libvirt idea. But I can sense more to come later as I have

Re: [Qemu-devel] [PATCH] memory_region_present: return false if address is not found in child MemoryRegion

2014-02-06 Thread Igor Mammedov
On Thu, 6 Feb 2014 14:22:54 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Thu, Feb 06, 2014 at 11:24:33AM +0100, Igor Mammedov wrote: Windows XP shows COM2 port as non functional in Device Manager although no COM2 port backing device is present in QEMU. That is caused by the fact

Re: [Qemu-devel] *BSD kernel crash at boot in qemu with seabios 1.7.4 (bisected)

2014-02-06 Thread Michael Tokarev
[Changing subject to reflect reality] I don't really understand what it is all about, as I initially said. But I've been told on freebsd IRC channels to post the issue to freebsd-emulation list, which I'm Cc'ing now, and if noone there answers, also to John Baldwin jhb@FreeBSD. To bring some

Re: [Qemu-devel] 9pfs troubles (was Re: [PATCH 1/4] hw/9pfs: fix error handing in local_ioc_getversion())

2014-02-06 Thread Aneesh Kumar K.V
Michael S. Tsirkin m...@redhat.com writes: On Tue, Feb 04, 2014 at 12:51:25PM +0530, Aneesh Kumar K.V wrote: Michael S. Tsirkin m...@redhat.com writes: On Mon, Feb 03, 2014 at 03:05:10PM +0530, Aneesh Kumar K.V wrote: Michael S. Tsirkin m...@redhat.com writes: Haven't used 9pfs in a

Re: [Qemu-devel] 128Kb bios size and older machines?

2014-02-06 Thread Michael Tokarev
06.02.2014 12:50, Gerd Hoffmann wrote: On Do, 2014-02-06 at 12:28 +0400, Michael Tokarev wrote: Since the small (128Kb) seabios is now built without support of xen, does that mean that xen will be unable to use qemu with -M 1.7 and before? Does it _ever_ use -M option like this? As far I

Re: [Qemu-devel] [PATCH] memory_region_present: return false if address is not found in child MemoryRegion

2014-02-06 Thread Michael S. Tsirkin
On Thu, Feb 06, 2014 at 01:32:25PM +0100, Igor Mammedov wrote: On Thu, 6 Feb 2014 14:22:54 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Thu, Feb 06, 2014 at 11:24:33AM +0100, Igor Mammedov wrote: Windows XP shows COM2 port as non functional in Device Manager although no COM2 port

Re: [Qemu-devel] 9pfs troubles (was Re: [PATCH 1/4] hw/9pfs: fix error handing in local_ioc_getversion())

2014-02-06 Thread Michael S. Tsirkin
On Thu, Feb 06, 2014 at 06:28:32PM +0530, Aneesh Kumar K.V wrote: Michael S. Tsirkin m...@redhat.com writes: On Tue, Feb 04, 2014 at 12:51:25PM +0530, Aneesh Kumar K.V wrote: Michael S. Tsirkin m...@redhat.com writes: On Mon, Feb 03, 2014 at 03:05:10PM +0530, Aneesh Kumar K.V wrote:

Re: [Qemu-devel] 128Kb bios size and older machines?

2014-02-06 Thread Michael Tokarev
06.02.2014 17:15, Ian Campbell wrote: On Thu, 2014-02-06 at 17:08 +0400, Michael Tokarev wrote: 06.02.2014 12:50, Gerd Hoffmann wrote: [] As far I know xen has its own seabios builds anyway as they have to add hvmloader to the mix. Thats why it has been turned off in the upstream blob

Re: [Qemu-devel] [PATCH] memory_region_present: return false if address is not found in child MemoryRegion

2014-02-06 Thread Igor Mammedov
On Thu, 6 Feb 2014 15:21:56 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Thu, Feb 06, 2014 at 01:32:25PM +0100, Igor Mammedov wrote: On Thu, 6 Feb 2014 14:22:54 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Thu, Feb 06, 2014 at 11:24:33AM +0100, Igor Mammedov wrote:

Re: [Qemu-devel] [SeaBIOS] [PATCH 1/2] SMBIOS: Update Type 17 (Memory Device) struct to v2.3

2014-02-06 Thread Gabriel L. Somlo
On Wed, Feb 05, 2014 at 08:02:25PM -0500, Kevin O'Connor wrote: On Tue, Feb 04, 2014 at 02:02:59PM -0500, Gabriel L. Somlo wrote: Add v2.3 fields to Type 17 (Memory Device) structure. Without these, selecting About This Mac on an OS X guest will crash and restart the GUI. Thanks. In

Re: [Qemu-devel] [PATCH v3 0/5] disas: add libvixl to support A64 disassembly

2014-02-06 Thread Michael Matz
Hi, On Wed, 5 Feb 2014, Peter Maydell wrote: Changes v2 - v3: * added a README clarifying that libvixl's disassembly support is not complete and that contributions should go to libvixl upstream first for preference Hmm, why aren't we simply using the binutils disassembler? It's also

Re: [Qemu-devel] [PATCH v3 0/5] disas: add libvixl to support A64 disassembly

2014-02-06 Thread Peter Maydell
On 6 February 2014 13:45, Michael Matz m...@suse.de wrote: Hmm, why aren't we simply using the binutils disassembler? It's also (C) by ARM, so there shouldn't be any relicensing problems. And it does support AdvSIMD and system instructions. It is GPLv3 which is not compatible with GPLv2

Re: [Qemu-devel] [PATCH v3 0/5] disas: add libvixl to support A64 disassembly

2014-02-06 Thread Michael Matz
Hi, On Thu, 6 Feb 2014, Peter Maydell wrote: On 6 February 2014 13:45, Michael Matz m...@suse.de wrote: Hmm, why aren't we simply using the binutils disassembler? It's also (C) by ARM, so there shouldn't be any relicensing problems. And it does support AdvSIMD and system instructions.

Re: [Qemu-devel] [pve-devel] QEMU LIve Migration - swap_free: Bad swap file entry

2014-02-06 Thread Stefan Priebe - Profihost AG
some more things which happen during migration: php5.2[20258]: segfault at a0 ip 00740656 sp 7fff53b694a0 error 4 in php-cgi[40+6d7000] php5.2[20249]: segfault at c ip 7f1fb8ecb2b8 sp 7fff642d9c20 error 4 in ZendOptimizer.so[7f1fb8e71000+147000] cron[3154]: segfault at

Re: [Qemu-devel] [PATCH v3 0/5] disas: add libvixl to support A64 disassembly

2014-02-06 Thread Christopher Covington
On 02/06/2014 08:54 AM, Michael Matz wrote: Hi, On Thu, 6 Feb 2014, Peter Maydell wrote: On 6 February 2014 13:45, Michael Matz m...@suse.de wrote: Hmm, why aren't we simply using the binutils disassembler? It's also (C) by ARM, so there shouldn't be any relicensing problems. And it

Re: [Qemu-devel] [PATCH v3 0/5] disas: add libvixl to support A64 disassembly

2014-02-06 Thread Peter Maydell
On 6 February 2014 13:54, Michael Matz m...@suse.de wrote: On Thu, 6 Feb 2014, Peter Maydell wrote: It is GPLv3 which is not compatible with GPLv2 which QEMU requires. The contribution process for binutils involves a copyright assignment which means the FSF now have the copyright there, as I

Re: [Qemu-devel] [pve-devel] QEMU LIve Migration - swap_free: Bad swap file entry

2014-02-06 Thread Marcin Gibuła
On 06.02.2014 15:03, Stefan Priebe - Profihost AG wrote: some more things which happen during migration: php5.2[20258]: segfault at a0 ip 00740656 sp 7fff53b694a0 error 4 in php-cgi[40+6d7000] php5.2[20249]: segfault at c ip 7f1fb8ecb2b8 sp 7fff642d9c20 error 4 in

Re: [Qemu-devel] [PATCH v3 3/5] net: TAP uses NetClientInfo offloading callbacks

2014-02-06 Thread Stefan Hajnoczi
On Mon, Jan 20, 2014 at 06:07:03PM +0100, Vincenzo Maffione wrote: The TAP NetClientInfo structure is inizialized with the TAP-specific functions that manipulates offloading features. Signed-off-by: Vincenzo Maffione v.maffi...@gmail.com --- net/tap.c | 6 ++ 1 file changed, 6

Re: [Qemu-devel] [PATCH v3 0/5] disas: add libvixl to support A64 disassembly

2014-02-06 Thread Michael Matz
Hi, On Thu, 6 Feb 2014, Christopher Covington wrote: The FSF always grants back rights on the contribution to the contributor. ARM could simply double-license their original contribution of the disassembler. Is dual licensing always possible given a grant-back? What if the

Re: [Qemu-devel] [PATCH v3 3/5] net: TAP uses NetClientInfo offloading callbacks

2014-02-06 Thread Stefan Hajnoczi
On Mon, Jan 20, 2014 at 06:07:03PM +0100, Vincenzo Maffione wrote: The TAP NetClientInfo structure is inizialized with the TAP-specific functions that manipulates offloading features. Signed-off-by: Vincenzo Maffione v.maffi...@gmail.com --- net/tap.c | 6 ++ 1 file changed, 6

Re: [Qemu-devel] [PATCH v3 0/5] Add netmap backend offloadings support

2014-02-06 Thread Stefan Hajnoczi
On Mon, Jan 20, 2014 at 06:07:00PM +0100, Vincenzo Maffione wrote: The purpose of this patch series is to add offloadings support (TSO/UFO/CSUM) to the netmap network backend, and make it possible for the paravirtual network frontends (virtio-net and vmxnet3) to use it. In order to achieve

[Qemu-devel] [PATCH 07/10] tests/qapi-schema: Cover flat union types

2014-02-06 Thread Markus Armbruster
The test demonstrates a generator bug: the generated struct UserDefFlatUnion doesn't include members for the indirect base UserDefZero. Signed-off-by: Markus Armbruster arm...@redhat.com --- tests/qapi-schema/qapi-schema-test.json | 7 +++ tests/qapi-schema/qapi-schema-test.out | 2 ++

[Qemu-devel] [PATCH 01/10] tests/qapi-schema: Actually check successful QMP command response

2014-02-06 Thread Markus Armbruster
Signed-off-by: Markus Armbruster arm...@redhat.com --- tests/test-qmp-commands.c | 44 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/tests/test-qmp-commands.c b/tests/test-qmp-commands.c index 5a3e82a..2416d07 100644 ---

[Qemu-devel] [PATCH 03/10] tests/qapi-schema: Cover simple argument types

2014-02-06 Thread Markus Armbruster
Signed-off-by: Markus Armbruster arm...@redhat.com --- tests/qapi-schema/qapi-schema-test.json | 2 ++ tests/qapi-schema/qapi-schema-test.out | 1 + tests/test-qmp-commands.c | 16 3 files changed, 19 insertions(+) diff --git

[Qemu-devel] [PATCH 06/10] tests/qapi-schema: Cover union types with base

2014-02-06 Thread Markus Armbruster
Signed-off-by: Markus Armbruster arm...@redhat.com --- tests/qapi-schema/qapi-schema-test.json | 1 + tests/qapi-schema/qapi-schema-test.out | 2 +- tests/test-qmp-input-strict.c | 4 ++-- tests/test-qmp-input-visitor.c | 3 ++- tests/test-qmp-output-visitor.c | 2 ++

Re: [Qemu-devel] [PATCH v3 3/5] net: TAP uses NetClientInfo offloading callbacks

2014-02-06 Thread Vincenzo Maffione
Ok, It could go as patch 5/6. Thanks 2014-02-06 Stefan Hajnoczi stefa...@redhat.com: On Mon, Jan 20, 2014 at 06:07:03PM +0100, Vincenzo Maffione wrote: The TAP NetClientInfo structure is inizialized with the TAP-specific functions that manipulates offloading features. Signed-off-by:

[Qemu-devel] [TCG] : Code flow understanding

2014-02-06 Thread Gaurav Sharma
I am working on something where i need to use the primarily the TCG part of qemu. I am aware of the basic code flow for TB generation, execution etc. What I am really looking is the entry / exit points for TCG and also how the mapping of registers is done. I see there are many temporaries created

[Qemu-devel] [PATCH 00/10] qapi: Test coverage clean up generated code

2014-02-06 Thread Markus Armbruster
Coverity is unhappy with the generated code. Nothing serious, just heaps of valid DEADCODE defects topped off with a few bogus FORWARD_NULL defects. I had a look at the generator, and decided I don't want to mess with it without decent test coverage. Unfortunately, a few features have been

Re: [Qemu-devel] 128Kb bios size and older machines?

2014-02-06 Thread Gerd Hoffmann
Hi, I'm not sure why the BIOS size is relevant to migration anyway, Xen doesn't load a new BIOS on the target host, the BIOS image is part of the migrated RAM. The memory layout is different with a larger bios as qemu makes the virtual flash as big as the bios image is. The different

Re: [Qemu-devel] [libvirt] Looking for project ideas and mentors for Google Summer of Code 2014

2014-02-06 Thread Giorgio Zoppi
Hi all, i offer part of my free time as mentor. Cheers, Giorgio 2014-02-06 13:27 GMT+01:00 Stefan Hajnoczi stefa...@gmail.com: On Tue, Feb 4, 2014 at 1:38 PM, Michal Privoznik mpriv...@redhat.com wrote: On 03.02.2014 08:45, Stefan Hajnoczi wrote: KVM libvirt: you are welcome to join

Re: [Qemu-devel] 128Kb bios size and older machines?

2014-02-06 Thread Ian Campbell
On Thu, 2014-02-06 at 17:08 +0400, Michael Tokarev wrote: 06.02.2014 12:50, Gerd Hoffmann wrote: On Do, 2014-02-06 at 12:28 +0400, Michael Tokarev wrote: Since the small (128Kb) seabios is now built without support of xen, does that mean that xen will be unable to use qemu with -M 1.7 and

[Qemu-devel] Enabling x2apic by default in KvM (was Re: [PATCH] target-i386: enable x2apic by default on more recent CPU models)

2014-02-06 Thread Eduardo Habkost
On Tue, Feb 04, 2014 at 03:12:43PM +0100, Andreas Färber wrote: Am 03.02.2014 20:01, schrieb Eduardo Habkost: On Tue, Jan 21, 2014 at 05:13:50PM +0100, Paolo Bonzini wrote: Il 21/01/2014 16:51, Andreas Färber ha scritto: We already do that for other bits (e.g. XSAVE/OSXSAVE), Please point

[Qemu-devel] [PATCH 05/10] tests/qapi-schema: Cover complex types with base

2014-02-06 Thread Markus Armbruster
Signed-off-by: Markus Armbruster arm...@redhat.com --- tests/qapi-schema/qapi-schema-test.json | 6 +- tests/qapi-schema/qapi-schema-test.out | 6 -- tests/test-qmp-commands.c | 15 ++- tests/test-qmp-input-visitor.c | 4 ++--

Re: [Qemu-devel] [PATCH] qdev: Keep global allocation counter per bus

2014-02-06 Thread Markus Armbruster
Paolo Bonzini pbonz...@redhat.com writes: Il 04/02/2014 13:14, Markus Armbruster ha scritto: Paolo Bonzini pbonz...@redhat.com writes: Il 04/02/2014 11:33, Markus Armbruster ha scritto: This breaks migration unless you change bus=ide.0 to bus=ide.1 on the destination. Should be

Re: [Qemu-devel] [PATCH] qdev: Keep global allocation counter per bus

2014-02-06 Thread Alexander Graf
On 06.02.2014, at 15:41, Markus Armbruster arm...@redhat.com wrote: Paolo Bonzini pbonz...@redhat.com writes: Il 04/02/2014 13:14, Markus Armbruster ha scritto: Paolo Bonzini pbonz...@redhat.com writes: Il 04/02/2014 11:33, Markus Armbruster ha scritto: This breaks migration unless

Re: [Qemu-devel] 128Kb bios size and older machines?

2014-02-06 Thread Ian Campbell
On Thu, 2014-02-06 at 17:30 +0400, Michael Tokarev wrote: 06.02.2014 17:15, Ian Campbell wrote: On Thu, 2014-02-06 at 17:08 +0400, Michael Tokarev wrote: 06.02.2014 12:50, Gerd Hoffmann wrote: [] As far I know xen has its own seabios builds anyway as they have to add hvmloader to the

Re: [Qemu-devel] [PATCH v3 0/4] elf loader: exit if incompatible architecture is detected

2014-02-06 Thread Alexander Graf
On 04.02.2014, at 05:04, Alexey Kardashevskiy a...@ozlabs.ru wrote: The aim of this set is to print reasonable error if ELF cannot be loaded. While we are here, also fix some other bits. Changes: v3: * added a helper to convert error codes to strings Thanks, applied all to ppc-next.

[Qemu-devel] [PATCH 10/10] qapi: Clean up null checking in generated visitors

2014-02-06 Thread Markus Armbruster
Visitors get passed a pointer to the visited object. The generated visitors try to cope with this pointer being null in some places, for instance like this: visit_start_optional(m, obj ? (*obj)-has_name : NULL, name, err); visit_start_optional() passes its second argument to Visitor method

[Qemu-devel] [PATCH 02/10] tests/qapi-schema: Cover optional command arguments

2014-02-06 Thread Markus Armbruster
Signed-off-by: Markus Armbruster arm...@redhat.com --- tests/qapi-schema/qapi-schema-test.json | 4 +++- tests/qapi-schema/qapi-schema-test.out | 2 +- tests/test-qmp-commands.c | 8 +--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git

Re: [Qemu-devel] 128Kb bios size and older machines?

2014-02-06 Thread Ian Campbell
On Thu, 2014-02-06 at 15:31 +0100, Gerd Hoffmann wrote: Hi, I'm not sure why the BIOS size is relevant to migration anyway, Xen doesn't load a new BIOS on the target host, the BIOS image is part of the migrated RAM. The memory layout is different with a larger bios as qemu makes the

[Qemu-devel] [PATCH 08/10] qapi: Drop nonsensical header guard in generated qapi-visit.c

2014-02-06 Thread Markus Armbruster
Signed-off-by: Markus Armbruster arm...@redhat.com --- scripts/qapi-visit.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/qapi-visit.py b/scripts/qapi-visit.py index 65f1a54..ff4239c 100644 --- a/scripts/qapi-visit.py +++ b/scripts/qapi-visit.py @@ -494,10 +494,8 @@

Re: [Qemu-devel] [PATCH RFC] target-ppc: support ibm, pa-features device property

2014-02-06 Thread Alexander Graf
On 28.01.2014, at 09:03, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: We will use this later to disable Transactional memory in case of PR KVM Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- NOTE: PPC2_TM value may need update before merging this.

[Qemu-devel] [PATCH 09/10] qapi: Drop unused code in qapi-commands.py

2014-02-06 Thread Markus Armbruster
Signed-off-by: Markus Armbruster arm...@redhat.com --- scripts/qapi-commands.py | 20 1 file changed, 20 deletions(-) diff --git a/scripts/qapi-commands.py b/scripts/qapi-commands.py index b12b696..4bca121 100644 --- a/scripts/qapi-commands.py +++ b/scripts/qapi-commands.py

[Qemu-devel] [PATCH 04/10] tests/qapi-schema: Cover anonymous union types

2014-02-06 Thread Markus Armbruster
Signed-off-by: Markus Armbruster arm...@redhat.com --- tests/qapi-schema/qapi-schema-test.json | 4 tests/qapi-schema/qapi-schema-test.out | 6 +- tests/test-qmp-input-strict.c | 32 tests/test-qmp-input-visitor.c | 18

Re: [Qemu-devel] [PATCH V9 0/5] target-ppc: Add support for dumping guest memory using qemu gdb server

2014-02-06 Thread Alexander Graf
On 28.01.2014, at 08:59, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: Hi, This patch series implement support for dumping guest memory using qemu gdb server. The last patch also enable qemu monitor command dump-guest-memory With this patch series we can now do (gdb)

Re: [Qemu-devel] [PATCH] qdev: Keep global allocation counter per bus

2014-02-06 Thread Markus Armbruster
Alexander Graf ag...@suse.de writes: On 06.02.2014, at 15:41, Markus Armbruster arm...@redhat.com wrote: Paolo Bonzini pbonz...@redhat.com writes: Il 04/02/2014 13:14, Markus Armbruster ha scritto: Paolo Bonzini pbonz...@redhat.com writes: Il 04/02/2014 11:33, Markus Armbruster ha

Re: [Qemu-devel] [PATCH qom-cpu 00/16 v10] target-i386: convert CPU features into properties

2014-02-06 Thread Igor Mammedov
On Wed, 5 Feb 2014 17:52:16 +0100 Igor Mammedov imamm...@redhat.com wrote: On Wed, 05 Feb 2014 17:14:27 +0100 Andreas Färber afaer...@suse.de wrote: Am 05.02.2014 15:40, schrieb Igor Mammedov: On Sun, 15 Dec 2013 23:50:47 +0100 Andreas Färber afaer...@suse.de wrote: Am

Re: [Qemu-devel] [PATCH] s390: Storage key global access

2014-02-06 Thread Christian Borntraeger
On 22/01/14 16:48, Jason J. Herne wrote: From: Jason J. Herne jjhe...@us.ibm.com Introduces global access to storage key data so we can set it for each cpu in the S390 cpu initialization routine. Signed-off-by: Jason J. Herne jjhe...@us.ibm.com --- hw/s390x/s390-virtio-ccw.c | 3 +--

[Qemu-devel] [PATCH v4] qdev: Keep global allocation counter per bus

2014-02-06 Thread Markus Armbruster
From: Alexander Graf ag...@suse.de When we have 2 separate qdev devices that both create a qbus of the same type without specifying a bus name or device name, we end up with two buses of the same name, such as ide.0 on the Mac machines: dev: macio-ide, id bus: ide.0 type IDE dev:

[Qemu-devel] [PATCH] net: Include iov.h in checksum.h

2014-02-06 Thread Alexander Graf
The checksum calculation header exports a function that refers to struct iov which is defined in iov.h. Include the header so that the compiler knows what this struct is about. Fixes the following compile failure for me: In file included from hw/net/fsl_etsec/rings.c:24:0:

Re: [Qemu-devel] [PATCH qom-cpu 00/16 v10] target-i386: convert CPU features into properties

2014-02-06 Thread Andreas Färber
Am 06.02.2014 16:19, schrieb Igor Mammedov: On Wed, 5 Feb 2014 17:52:16 +0100 Igor Mammedov imamm...@redhat.com wrote: On Wed, 05 Feb 2014 17:14:27 +0100 Andreas Färber afaer...@suse.de wrote: Am 05.02.2014 15:40, schrieb Igor Mammedov: On Sun, 15 Dec 2013 23:50:47 +0100 Andreas Färber

[Qemu-devel] [PATCH] xen_disk: fix io accounting

2014-02-06 Thread Olaf Hering
bdrv_acct_done was called unconditional. But in case the ioreq has no segments there is no matching bdrv_acct_start call. This could lead to bogus accounting values. Found by code inspection. Signed-off-by: Olaf Hering o...@aepfle.de --- hw/block/xen_disk.c | 13 - 1 file changed,

Re: [Qemu-devel] [PATCH 00/12] trace: [tcg] Allow tracing guest events in TCG-generated code

2014-02-06 Thread Richard Henderson
On 02/04/2014 12:33 PM, Lluís Vilanova wrote: Richard Henderson writes: On 01/31/2014 08:09 AM, Lluís Vilanova wrote: Adds the base ability to specify which events in the trace-events file may be used to trace guest activity in the TCG code (using the tcg event propery). Such events

[Qemu-devel] [PATCH v4 1/6] net: change vnet-hdr TAP prototypes

2014-02-06 Thread Vincenzo Maffione
The tap_has_vnet_hdr() and tap_has_vnet_hdr_len() functions used to return int, even though they only return true/false values. This patch changes the prototypes to return bool. Signed-off-by: Vincenzo Maffione v.maffi...@gmail.com --- include/net/tap.h | 4 ++-- net/tap-win32.c | 8

[Qemu-devel] [PATCH v4 6/6] net: add offloading support to netmap backend

2014-02-06 Thread Vincenzo Maffione
Whit this patch, the netmap backend supports TSO/UFO/CSUM offloadings, and accepts the virtio-net header, similarly to what happens with TAP. The offloading callbacks in the NetClientInfo interface have been implemented. Signed-off-by: Vincenzo Maffione v.maffi...@gmail.com --- net/netmap.c | 68

[Qemu-devel] [PATCH v4 4/6] net: virtio-net and vmxnet3 use offloading API

2014-02-06 Thread Vincenzo Maffione
With this patch, virtio-net and vmxnet3 frontends make use of the qemu_peer_* API for backend offloadings manipulations, instead of calling TAP-specific functions directly. We also remove the existing checks which prevent those frontends from using offloadings with backends different from TAP

[Qemu-devel] [PATCH v4 3/6] net: TAP uses NetClientInfo offloading callbacks

2014-02-06 Thread Vincenzo Maffione
The TAP NetClientInfo structure is inizialized with the TAP-specific functions that manipulates offloading features. Signed-off-by: Vincenzo Maffione v.maffi...@gmail.com --- net/tap-win32.c | 92 ++--- net/tap.c | 6 2 files

[Qemu-devel] [PATCH v4 5/6] net: make tap offloading callbacks static

2014-02-06 Thread Vincenzo Maffione
Since TAP offloadings are manipulated through a new API, it's not necessary to export them in include/net/tap.h anymore. Signed-off-by: Vincenzo Maffione v.maffi...@gmail.com --- include/net/tap.h | 6 -- net/tap-win32.c | 12 ++-- net/tap.c | 12 ++-- 3 files

[Qemu-devel] [PATCH v4 0/6] Add netmap backend offloadings support

2014-02-06 Thread Vincenzo Maffione
The purpose of this patch series is to add offloadings support (TSO/UFO/CSUM) to the netmap network backend, and make it possible for the paravirtual network frontends (virtio-net and vmxnet3) to use it. In order to achieve this, these patches extend the existing net.h interface to add abstract

[Qemu-devel] [PATCH v4 2/6] net: extend NetClientInfo for offloading

2014-02-06 Thread Vincenzo Maffione
Some new callbacks have been added to generalize the operations done by virtio-net and vmxnet3 frontends to manipulate TAP offloadings. Signed-off-by: Vincenzo Maffione v.maffi...@gmail.com --- include/net/net.h | 19 +++ net/net.c | 55

Re: [Qemu-devel] [PATCH 12/12] trace: [all] Add guest_vmem event

2014-02-06 Thread Richard Henderson
On 02/04/2014 12:01 PM, Lluís Vilanova wrote: Richard Henderson writes: On 01/31/2014 08:10 AM, Lluís Vilanova wrote: +#define ldub(p)({ trace_guest_vmem(p, 1, 0); ldub_raw(p);}) Are you sure you want to log these here? Uses of these macros are not restricted to the guest.

[Qemu-devel] [PATCH v2] xen_disk: add discard support

2014-02-06 Thread Olaf Hering
Implement discard support for xen_disk. It makes use of the existing discard code in qemu. The discard support is enabled unconditionally. The tool stack may provide a property discard-enable in the backend node to optionally disable discard support. This is helpful in case the backing file was

Re: [Qemu-devel] [SeaBIOS] WfW setup and DOS display.sys hanging

2014-02-06 Thread Kevin O'Connor
On Thu, Feb 06, 2014 at 09:17:21AM +0100, Gerd Hoffmann wrote: Hi, Sebastian, can you document the steps to reproduce the dosidle and display.sys failure? Placed a copy of a fresh ms-dos 6.2 install here (qcow2 hard disk image): http://www.kraxel.org/download/ display.sys hangs

[Qemu-devel] CPU models and feature probing (was Re: [PATCH qom-cpu 00/16 v10] target-i386: convert CPU) features into properties

2014-02-06 Thread Eduardo Habkost
(CCing libvir-list again, as this is continuing a discussion about a subject that interests libvirt developers, from another thread.) On Thu, Feb 06, 2014 at 04:51:17PM +0100, Andreas Färber wrote: Am 06.02.2014 16:19, schrieb Igor Mammedov: On Wed, 5 Feb 2014 17:52:16 +0100 Igor Mammedov

Re: [Qemu-devel] CPU models and feature probing (was Re: [PATCH qom-cpu 00/16 v10] target-i386: convert CPU) features into properties

2014-02-06 Thread Andreas Färber
Am 06.02.2014 17:16, schrieb Eduardo Habkost: (CCing libvir-list again, as this is continuing a discussion about a subject that interests libvirt developers, from another thread.) On Thu, Feb 06, 2014 at 04:51:17PM +0100, Andreas Färber wrote: Am 06.02.2014 16:19, schrieb Igor Mammedov: On

[Qemu-devel] [Bug 1276879] Re: lots of dma command 10, 14 not supported

2014-02-06 Thread tyler knosis
p.s. I tried Bochs 2.6.2, and it is not stuck at the same place. Did qemu take the bochs bios and change anything regarding the IDE drives? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1276879

Re: [Qemu-devel] [Bug 685096] Re: USB Passthrough not working for Windows 7 guest

2014-02-06 Thread Serge Hallyn
Quoting Manuel Baesler (685...@bugs.launchpad.net): followup: my understanding is there are a bunch of usb interfaces: uhci is usb 1.0 ehci is usb 2.0 xhci is usb 3.0 … -device piix3-usb-uhci will create an usb 1.0 interface. I guess usb 1.0 is insufficent for modern usb devices so

Re: [Qemu-devel] [PATCH] xen_disk: fix io accounting

2014-02-06 Thread Andreas Färber
Am 06.02.2014 16:55, schrieb Olaf Hering: bdrv_acct_done was called unconditional. But in case the ioreq has no segments there is no matching bdrv_acct_start call. This could lead to bogus accounting values. Found by code inspection. Signed-off-by: Olaf Hering o...@aepfle.de ---

Re: [Qemu-devel] [PATCH 00/12] trace: [tcg] Allow tracing guest events in TCG-generated code

2014-02-06 Thread Lluís Vilanova
Richard Henderson writes: On 02/04/2014 12:33 PM, Lluís Vilanova wrote: Richard Henderson writes: On 01/31/2014 08:09 AM, Lluís Vilanova wrote: Adds the base ability to specify which events in the trace-events file may be used to trace guest activity in the TCG code (using the tcg event

Re: [Qemu-devel] Version 1.7.0 fails to boot Windows 98 SE on Windows host

2014-02-06 Thread Stefan Weil
try git bisect under MinGW. As your own 1.6.2 build works, but the 1.7.0 build fails, there will be a commit somewhere in the middle which makes things go bad. git bisect will help you to find this commit. BTW, I just prepared qemu-w64-setup-20140206.exe. Maybe you want to give it a try. Regards

Re: [Qemu-devel] [pve-devel] QEMU LIve Migration - swap_free: Bad swap file entry

2014-02-06 Thread Dr. David Alan Gilbert
* Stefan Priebe - Profihost AG (s.pri...@profihost.ag) wrote: some more things which happen during migration: php5.2[20258]: segfault at a0 ip 00740656 sp 7fff53b694a0 error 4 in php-cgi[40+6d7000] php5.2[20249]: segfault at c ip 7f1fb8ecb2b8 sp 7fff642d9c20 error

Re: [Qemu-devel] [pve-devel] QEMU LIve Migration - swap_free: Bad swap file entry

2014-02-06 Thread Stefan Priebe
Hi, Am 06.02.2014 20:51, schrieb Dr. David Alan Gilbert: * Stefan Priebe - Profihost AG (s.pri...@profihost.ag) wrote: some more things which happen during migration: php5.2[20258]: segfault at a0 ip 00740656 sp 7fff53b694a0 error 4 in php-cgi[40+6d7000] php5.2[20249]:

[Qemu-devel] [Bug 1276847] Re: Build fails on latest MinGW

2014-02-06 Thread Corry Lazarowitz
Ok, so I figured perhaps my initial attempts with cygwin were the issue, and perhaps that made it much worse than it should have been. So I moved the directory and decompressed the archive again, started with ./configure, but as you said (which I didn't see in the docs) I added --enable-debug.

[Qemu-devel] [Bug 1276847] Re: Build fails on latest MinGW

2014-02-06 Thread Stefan Weil
cygwin builds are not supported and don't work with the current code. A fresh pull of MinGW/MSYS is not sufficient. You will also need glib-2.0, maybe pdcurses, sdl or even gtk-2.0 and other additional software. You will also need pkconfig (part of the all-in-one installer for gtk-2.0). As I

  1   2   >