Re: [Qemu-devel] [RESEND PATCH v4 6/6] acpi: Add hardware implementation for memory hot unplug

2015-03-24 Thread Igor Mammedov
On Tue, 24 Mar 2015 17:38:53 +0800 Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: On 03/16/2015 10:59 PM, Igor Mammedov wrote: On Mon, 16 Mar 2015 16:58:18 +0800 Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: This patch adds a new bit to memory hotplug IO port indicating that actually bit

Re: [Qemu-devel] [Bug 1404278] Re: tap connections not working on windows host

2015-03-24 Thread Stefan Hajnoczi
On Wed, Jan 07, 2015 at 04:09:55PM -, timsoft wrote: I have tried what you suggested (breaking the bridge on the host, and giving the host tap 192.168.5.1 and the guest eth0 192.168.5.2 and tried pinging one from the other. I get 100% packet loss. This points to QEMU's tap networking as

Re: [Qemu-devel] [Qemu-ppc] [PATCH v2 1/3] VFIO: Clear stale MSIx table during EEH reset

2015-03-24 Thread Alex Williamson
On Tue, 2015-03-24 at 17:54 +1100, David Gibson wrote: On Tue, Mar 24, 2015 at 05:24:55PM +1100, Gavin Shan wrote: On Tue, Mar 24, 2015 at 04:41:21PM +1100, David Gibson wrote: On Mon, Mar 23, 2015 at 04:25:10PM +1100, Gavin Shan wrote: On Mon, Mar 23, 2015 at 04:06:56PM +1100, David

Re: [Qemu-devel] [PATCH for-2.3 1/1] block: New command line option --misc format-probing=off

2015-03-24 Thread Eric Blake
On 03/23/2015 02:42 PM, Markus Armbruster wrote: I don't think it's the right solution. Libvirt knows where to add a format=raw option, and it can do it without waiting for QEMU to implement this. Direct command-line users are not going to use the option anyway. Two separate bones of

Re: [Qemu-devel] PCI passthrough of 40G ethernet interface (Openstack/KVM)

2015-03-24 Thread jacob jacob
After update to latest firmware and using version 1.2.37 of i40e driver, things are looking better with PCI passthrough. ]# ethtool -i eth3 driver: i40e version: 1.2.37 firmware-version: f4.33.31377 a1.2 n4.42 e1930 bus-info: :00:07.0 supports-statistics: yes supports-test: yes

Re: [Qemu-devel] [Qemu-block] [PATCH RFC for-2.3 1/1] block: New command line option --no-format-probing

2015-03-24 Thread Eric Blake
On 03/24/2015 02:37 AM, Paolo Bonzini wrote: The option sets bdrv_image_probing_disabled in a straightforward manner, and bdrv_image_probing_disabled guards the probing code in an equally straightforward manner. But what about migration from newer to older QEMU? Libvirt even supports QEMU

Re: [Qemu-devel] [PATCH for-2.3 0/3] Contain drive_get() misuse

2015-03-24 Thread Markus Armbruster
Adding Andreas because he's the odd fixer for pc87312. Paolo Bonzini pbonz...@redhat.com writes: On 23/03/2015 20:09, Markus Armbruster wrote: Drives defined with if!=none are for board initialization to wire up. Board code calls drive_get() or similar to find them, and creates devices with

Re: [Qemu-devel] [PATCH] MAINTAINERS: Add myself as the maintainer of the Quorum driver

2015-03-24 Thread Stefan Hajnoczi
On Mon, Mar 16, 2015 at 06:22:05PM +0200, Alberto Garcia wrote: Signed-off-by: Alberto Garcia be...@igalia.com --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) Thanks, applied to my block-next tree: https://github.com/stefanha/qemu/commits/block-next Stefan pgpzd3tmoRxE7.pgp

Re: [Qemu-devel] [PATCH v2] block: Switch to host monotonic clock for IO throttling

2015-03-24 Thread Stefan Hajnoczi
On Tue, Mar 24, 2015 at 09:17:38AM +0800, Fam Zheng wrote: Alberto saw that this patch also fixes the odd behavior: block jobs, which need to R/W a throttled BDS, will not make progress if VCPU is not running. If we don't consider this as a bug, we should document the inconsistency

Re: [Qemu-devel] [PATCH v3 7/9] omap_intc: convert ffs(3) to ctz32() in omap_inth_sir_update()

2015-03-24 Thread Stefan Hajnoczi
On Mon, Mar 23, 2015 at 04:40:26PM +0100, Paolo Bonzini wrote: On 23/03/2015 16:29, Stefan Hajnoczi wrote: From: Paolo Bonzini pbonz...@redhat.com The loop previously terminated on ffs(0) == 0, now it terminates on ctz32(0) + 1 == 33. ... now it terminates on level == 0. Old

Re: [Qemu-devel] [PATCH v2 0/2] block: Fix unaligned zero write

2015-03-24 Thread Stefan Hajnoczi
On Tue, Mar 24, 2015 at 09:23:48AM +0800, Fam Zheng wrote: This fixes a segfault when doing unaligned zero write to an image that is 4k aligned. v2: Don't drop the unset of UNMAP flag. [Stefan, Peter] Reproducer: $ (echo open -o file.align=4k blkdebug::img; echo write -z 512 1024)

Re: [Qemu-devel] RFC: memory API changes

2015-03-24 Thread Peter Maydell
On 23 March 2015 at 12:24, Peter Maydell peter.mayd...@linaro.org wrote: (This is part of the work I'm doing for transaction attributes.) OK, here's try 2, based on feedback on the first proposal: * address_space_rw c remain with their current names, but take an extra MemTxAttrs argument

Re: [Qemu-devel] GSoC Proposal: ARM Virtualization Extensions

2015-03-24 Thread Sergey Fedorov
On 23.03.2015 04:29, Merten Sach wrote: On 21/03/15 04:16, Sergey Fedorov wrote: Hi! I am currently working on AArch64 EL2 support. There is a plan to submit the changes to the community. Merten, IIUYC, you are going to support only AArch32 EL2? Best regards, Sergey Hi Yes, my

Re: [Qemu-devel] Output of fprintf messages in qemu source

2015-03-24 Thread Toms Varghese
In my Fedora, I couldn't find the file in the mentioned path. I got it finally from /var/log/libvirt/qemu/domain.log Thanks a lot for the help. Regards Toms Varghese On Mon, Mar 23, 2015 at 6:17 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Mar 19, 2015 at 12:17:29AM +0530, Toms

Re: [Qemu-devel] Qemu 2.2.1 black screen of death in windows 2012 R2

2015-03-24 Thread Stefan Priebe
Hi, it started to work again with virtio 100 instead of 94. No idea why it works with qemu 2.2.0. Stefan Am 24.03.2015 um 12:15 schrieb Stefan Priebe - Profihost AG: Am 24.03.2015 um 11:45 schrieb Paolo Bonzini: On 24/03/2015 11:39, Stefan Priebe - Profihost AG wrote: after upgrading

Re: [Qemu-devel] [PATCH for-2.3 0/3] Contain drive_get() misuse

2015-03-24 Thread Paolo Bonzini
On 23/03/2015 20:09, Markus Armbruster wrote: Drives defined with if!=none are for board initialization to wire up. Board code calls drive_get() or similar to find them, and creates devices with their qdev drive properties set accordingly. Except a few devices go on a fishing expedition

Re: [Qemu-devel] [RESEND PATCH v4 6/6] acpi: Add hardware implementation for memory hot unplug

2015-03-24 Thread Zhu Guihua
On 03/24/2015 06:31 PM, Igor Mammedov wrote: On Tue, 24 Mar 2015 17:38:53 +0800 Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: On 03/16/2015 10:59 PM, Igor Mammedov wrote: On Mon, 16 Mar 2015 16:58:18 +0800 Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: This patch adds a new bit to memory

[Qemu-devel] [PATCH 3/3] apic: Implement handling of RH=1 for MSI interrupt delivery

2015-03-24 Thread James Sullivan
Added argument to apic_get_delivery_bitmask() for msi_redir_hint, and changed calls to the function accordingly (using 0 as a default value for non-MSI interrupts). Modified the implementation of apic_get_delivery_bitmask() to account for the RH bit of an MSI IRQ. The RH bit indicates that the

[Qemu-devel] [PATCH] apic: Implement low-priority arbitration for IRQ delivery

2015-03-24 Thread James Sullivan
Currently, there is no arbitration among processors for low priority IRQ delivery. Implemented apic_get_arb_pri(), and added two new functions apic_compare_prio() and apic_lowest_prio() to support arbitration in apic_bus_deliver(). Signed-off-by: James Sullivan sullivan.jame...@gmail.com ---

[Qemu-devel] [PATCH 2/3] apic: Set and pass in RH bit for MSI interrupts

2015-03-24 Thread James Sullivan
In apic_send_msi(), set msi_redir_hint to 0x1 when RH=1 in the MSI Address Register. Added an argument for msi_redir_hint to apic_deliver_irq(), and changed calls to the function accordingly (using 0 as a default value for non-MSI interrupts). Signed-off-by: James Sullivan

Re: [Qemu-devel] Qemu 2.2.1 black screen of death in windows 2012 R2

2015-03-24 Thread Stefan Priebe - Profihost AG
Am 24.03.2015 um 11:45 schrieb Paolo Bonzini: On 24/03/2015 11:39, Stefan Priebe - Profihost AG wrote: after upgrading Qemu from 2.2.0 to 2.2.1 Windows 2012 R2 works after installing. But after applying 72 updates it breaks with a black screen of death. Can you bisect it? Have to try

Re: [Qemu-devel] [PATCH] qmp: implement a qmp command get_link_status

2015-03-24 Thread Stefan Hajnoczi
On Thu, Dec 11, 2014 at 02:36:14PM +0100, Wolfgang Link wrote: this qmp command returns the current link state from the given nic this is impotent if the set_link failed or get an timeout. s/impotent/important/ I don't understand the rationale for this patch: set_link does not fail or time

Re: [Qemu-devel] [RESEND PATCH v4 6/6] acpi: Add hardware implementation for memory hot unplug

2015-03-24 Thread Igor Mammedov
On Tue, 24 Mar 2015 17:34:29 +0800 Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: On 03/23/2015 08:47 PM, Igor Mammedov wrote: On Mon, 23 Mar 2015 18:59:28 +0800 Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: On 03/16/2015 10:59 PM, Igor Mammedov wrote: [...] diff --git

Re: [Qemu-devel] [Xen-devel] Question about scsi emulation

2015-03-24 Thread Juergen Gross
On 03/24/2015 01:20 AM, Yaoli Zheng wrote: Thank you for the advice! It will be grateful if someone can provide any guide how to config MegaSAS HBA or how to use xen pvscsi in XEN. There seems no option in XEN for these two driver emulation and no document found online. The pvscsi driver is

[Qemu-devel] [PATCH] Haiku: Platform build fixes

2015-03-24 Thread Alexander von Gluck IV
* skip syscall.h on Haiku * skip signal.h on Haiku * no daemon function * only attach SIGIO when it exists * use termios.h on Haiku --- main-loop.c |2 + os-posix.c |4 ++ target-xtensa/xtensa-semi.c | 84 ---

Re: [Qemu-devel] [RESEND PATCH v4 6/6] acpi: Add hardware implementation for memory hot unplug

2015-03-24 Thread Zhu Guihua
On 03/16/2015 10:59 PM, Igor Mammedov wrote: On Mon, 16 Mar 2015 16:58:18 +0800 Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: This patch adds a new bit to memory hotplug IO port indicating that actually bit was added in 2/6 where is_removing had been added. EJ0 has been evaluated by guest

[Qemu-devel] [PATCH 0/3] apic: Implement handling for MSI redirection hint in IRQ delivery

2015-03-24 Thread James Sullivan
This set of patches implements handling for the MSI redirection hint bit. The RH bit is used in logical destination mode to indicate that the delivery of the interrupt shall only be to the lowest priority candidate LAPIC. Currently, there is no handling of the MSI RH bit. This patch implements

Re: [Qemu-devel] Qemu 2.2.1 black screen of death in windows 2012 R2

2015-03-24 Thread Paolo Bonzini
On 24/03/2015 11:39, Stefan Priebe - Profihost AG wrote: after upgrading Qemu from 2.2.0 to 2.2.1 Windows 2012 R2 works after installing. But after applying 72 updates it breaks with a black screen of death. Can you bisect it? Linking to this KB:

Re: [Qemu-devel] [Bug 1405385] Re: QEMU crashes when virtio network cards are used together with e1000 network cards

2015-03-24 Thread Stefan Hajnoczi
On Fri, Jan 09, 2015 at 07:30:05AM -, Bram Klein Gunnewiek wrote: I'm not sure if there is more information required from my side? I can still reproduce this and have no clue where to look for more information. I cannot reproduce a crash from your command-line with qemu.git/master

Re: [Qemu-devel] [RESEND PATCH v4 6/6] acpi: Add hardware implementation for memory hot unplug

2015-03-24 Thread Zhu Guihua
On 03/23/2015 08:47 PM, Igor Mammedov wrote: On Mon, 23 Mar 2015 18:59:28 +0800 Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: On 03/16/2015 10:59 PM, Igor Mammedov wrote: [...] diff --git a/hw/i386/acpi-dsdt-mem-hotplug.dsl b/hw/i386/acpi-dsdt-mem-hotplug.dsl index 1e9ec39..ef847e2 100644

Re: [Qemu-devel] [PATCH v2 0/2] e1000: fixes for Phar Lap ETS

2015-03-24 Thread Stefan Hajnoczi
On Wed, Dec 10, 2014 at 11:23:45PM -0600, Richard Tollerton wrote: The 8254x driver in certain versions of Phar Lap ETS hasn't been initializing the e1000 device properly in qemu. It looks like the driver is relying on two specific pieces of behavior which (anecdotally) exist in hardware,

Re: [Qemu-devel] [PATCH] target-ppc: gdbstub: Add VSX support

2015-03-24 Thread Alexander Graf
On 24.03.15 10:50, Anton Blanchard wrote: Hi Alex, On 24.03.15 09:59, Anton Blanchard wrote: Add the XML and functions to get and set VSX registers. Awesome, thanks. Have you verified that this works for LE as well as BE guests? Unfortunately all our XML gdbstub routines have endian

Re: [Qemu-devel] One question to lowlevel/xl/xl.c and lowlevel/xc/xc.c

2015-03-24 Thread Ian Campbell
On Tue, 2015-03-24 at 18:15 +0800, Chen, Tiejun wrote: On 2015/3/24 17:51, Ian Campbell wrote: On Tue, 2015-03-24 at 16:47 +0800, Chen, Tiejun wrote: All guys, Thanks for your reply. Sorry to bother you. I have a question to two files, tools/python/xen/lowlevel/xc/xc.c and

Re: [Qemu-devel] One question to lowlevel/xl/xl.c and lowlevel/xc/xc.c

2015-03-24 Thread Chen, Tiejun
On 2015/3/24 18:20, Ian Campbell wrote: On Tue, 2015-03-24 at 18:15 +0800, Chen, Tiejun wrote: On 2015/3/24 17:51, Ian Campbell wrote: On Tue, 2015-03-24 at 16:47 +0800, Chen, Tiejun wrote: All guys, Thanks for your reply. Sorry to bother you. I have a question to two files,

[Qemu-devel] Qemu 2.2.1 black screen of death in windows 2012 R2

2015-03-24 Thread Stefan Priebe - Profihost AG
Hi, after upgrading Qemu from 2.2.0 to 2.2.1 Windows 2012 R2 works after installing. But after applying 72 updates it breaks with a black screen of death. Linking to this KB: https://support.microsoft.com/en-us/kb/2939259 It works fine with Qemu 2.2.0 Greets, Stefan

Re: [Qemu-devel] One question to lowlevel/xl/xl.c and lowlevel/xc/xc.c

2015-03-24 Thread Ian Campbell
On Tue, 2015-03-24 at 18:31 +0800, Chen, Tiejun wrote: NB, the libxl ones are broken and not even compiled right now, you can ignore them. Looks this is still compiled now. xc is, xl is not, I am sure of that. I don't know what the semantics of flag is, if it is per SBDF then I Yes,

Re: [Qemu-devel] [PATCH] savevm: create snapshot failed when id_str already exits

2015-03-24 Thread Stefan Hajnoczi
On Thu, Mar 12, 2015 at 11:29:38PM +0800, Yi Wang wrote: How about this? From 913cf2cd04167b7f6b892ac1ab405a617d886b97 Mon Sep 17 00:00:00 2001 From: Yi Wang up2w...@gmail.com Date: Thu, 12 Mar 2015 22:54:42 +0800 Subject: [PATCH] savevm: create snapshot failed when id_str already exists

Re: [Qemu-devel] [PATCH] target-ppc: gdbstub: Add VSX support

2015-03-24 Thread Anton Blanchard
Hi Alex, On 24.03.15 09:59, Anton Blanchard wrote: Add the XML and functions to get and set VSX registers. Awesome, thanks. Have you verified that this works for LE as well as BE guests? Unfortunately all our XML gdbstub routines have endian issues (FPU, Altivec and now VMX). I only

Re: [Qemu-devel] One question to lowlevel/xl/xl.c and lowlevel/xc/xc.c

2015-03-24 Thread Ian Campbell
On Tue, 2015-03-24 at 16:47 +0800, Chen, Tiejun wrote: All guys, Sorry to bother you. I have a question to two files, tools/python/xen/lowlevel/xc/xc.c and tools/python/xen/lowlevel/xl/xl.c. Who is a caller to those methods like pyxc_methods[] and pyxl_methods[]? They are registered

[Qemu-devel] [PATCH 1/3] apic: Added helper function apic_match_dest, apic_match_[physical, logical]_dest

2015-03-24 Thread James Sullivan
Added three helper functions apic_match_dest(), apic_match_physical_dest(), and apic_match_logical_dest() which can be used to determine if a logical or physical APIC ID match a given LAPIC under a given dest_mode. This does not account for shorthand. Signed-off-by: James Sullivan

Re: [Qemu-devel] One question to lowlevel/xl/xl.c and lowlevel/xc/xc.c

2015-03-24 Thread Chen, Tiejun
On 2015/3/24 17:51, Ian Campbell wrote: On Tue, 2015-03-24 at 16:47 +0800, Chen, Tiejun wrote: All guys, Thanks for your reply. Sorry to bother you. I have a question to two files, tools/python/xen/lowlevel/xc/xc.c and tools/python/xen/lowlevel/xl/xl.c. Who is a caller to those methods

Re: [Qemu-devel] [PULL 0/4] tricore-patches for 2.3-rc1

2015-03-24 Thread Peter Maydell
in the git repository at: https://github.com/bkoppelmann/qemu-tricore-upstream.git tags/pull-tricore-20150324 for you to fetch changes up to f69c24e4584f2161f90ee7caba38728aa77f937f: target-tricore: properly fix dvinit_b/h_13 (2015-03-24 09:45:28 +0100

Re: [Qemu-devel] [PATCH] Haiku: Platform build fixes

2015-03-24 Thread François Revol
On 24/03/2015 23:56, Max Filippov wrote: On Wed, Mar 25, 2015 at 1:26 AM, Andreas Färber afaer...@suse.de wrote: Am 24.03.2015 um 00:36 schrieb Alexander von Gluck IV: Why convert from array to switch statement? It looks like a very invasive change for no obvious reason. I'd be interested

[Qemu-devel] [PATCH 2/3] hw/arm/vexpress: introduce VEDBoardInfo::smp_bootreg_addr

2015-03-24 Thread Sergey Fedorov
Require secondary CPU release address to be specified explicitly in each daughterboard info structure. Signed-off-by: Sergey Fedorov serge.f...@gmail.com --- hw/arm/vexpress.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hw/arm/vexpress.c b/hw/arm/vexpress.c index

[Qemu-devel] [PATCH 1/3] hw/arm/boot: add secondary loader for AArch64

2015-03-24 Thread Sergey Fedorov
This default secondary loader is used to bring up secondary CPUs using spin table boot method. Signed-off-by: Sergey Fedorov serge.f...@gmail.com --- hw/arm/boot.c | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/hw/arm/boot.c b/hw/arm/boot.c index

Re: [Qemu-devel] [PATCH for-2.3] arm: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

2015-03-24 Thread Paolo Bonzini
On 24/03/2015 22:24, Dirk Müller wrote: +++ b/hw/arm/exynos4210.c @@ -283,16 +283,16 @@ Exynos4210State *exynos4210_init(MemoryRegion *system_mem, /* DRAM */ mem_size = ram_size; if (mem_size EXYNOS4210_DRAM_MAX_SIZE) { -memory_region_init_ram(s-dram1_mem, NULL,

[Qemu-devel] [PATCH for-2.3] mips: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

2015-03-24 Thread Dirk Müller
Commit 0b183fc871:memory: move mem_path handling to memory_region_allocate_system_memory split memory_region_init_ram and memory_region_init_ram_from_file. Also it moved mem-path handling a step up from memory_region_init_ram to memory_region_allocate_system_memory. Therefore for any board that

Re: [Qemu-devel] [PATCH for-2.3] mips: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

2015-03-24 Thread Andreas Färber
Am 24.03.2015 um 22:28 schrieb Dirk Müller: Commit 0b183fc871:memory: move mem_path handling to memory_region_allocate_system_memory split memory_region_init_ram and memory_region_init_ram_from_file. Also it moved mem-path handling a step up from memory_region_init_ram to

Re: [Qemu-devel] [PATCH for-2.3] sparc: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

2015-03-24 Thread Andreas Färber
Am 24.03.2015 um 22:30 schrieb Dirk Müller: Commit 0b183fc871:memory: move mem_path handling to memory_region_allocate_system_memory split memory_region_init_ram and memory_region_init_ram_from_file. Also it moved mem-path handling a step up from memory_region_init_ram to

Re: [Qemu-devel] [PATCH] Haiku: Platform build fixes

2015-03-24 Thread Andreas Färber
Am 25.03.2015 um 00:11 schrieb Max Filippov: On Wed, Mar 25, 2015 at 2:03 AM, François Revol re...@free.fr wrote: On 24/03/2015 23:56, Max Filippov wrote: On Wed, Mar 25, 2015 at 1:26 AM, Andreas Färber afaer...@suse.de wrote: Am 24.03.2015 um 00:36 schrieb Alexander von Gluck IV: Why

Re: [Qemu-devel] RFC: memory API changes

2015-03-24 Thread Peter Maydell
On 24 March 2015 at 20:00, Paolo Bonzini pbonz...@redhat.com wrote: On 24/03/2015 19:06, Peter Maydell wrote: I think this is where we disagree. I see ld/st*_phys as being really generic -- they take an AddressSpace, after all, and part of the same family with address_space_read c. If you

Re: [Qemu-devel] [PATCH] Haiku: Platform build fixes

2015-03-24 Thread François Revol
On 25/03/2015 00:40, Andreas Färber wrote: Am 25.03.2015 um 00:11 schrieb Max Filippov: On Wed, Mar 25, 2015 at 2:03 AM, François Revol re...@free.fr wrote: On 24/03/2015 23:56, Max Filippov wrote: On Wed, Mar 25, 2015 at 1:26 AM, Andreas Färber afaer...@suse.de wrote: Am 24.03.2015 um 00:36

[Qemu-devel] [PATCH v2 for-2.3] m68k: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

2015-03-24 Thread Dirk Müller
Commit 0b183fc871:memory: move mem_path handling to memory_region_allocate_system_memory split memory_region_init_ram and memory_region_init_ram_from_file. Also it moved mem-path handling a step up from memory_region_init_ram to memory_region_allocate_system_memory. Therefore for any board that

Re: [Qemu-devel] [PATCH v2 for-2.3] m68k: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

2015-03-24 Thread Andreas Färber
Am 24.03.2015 um 23:11 schrieb Dirk Müller: Commit 0b183fc871:memory: move mem_path handling to memory_region_allocate_system_memory split memory_region_init_ram and memory_region_init_ram_from_file. Also it moved mem-path handling a step up from memory_region_init_ram to

Re: [Qemu-devel] [PATCH for-2.3 1/2] qtest: Add qtest_add_data_func() wrapper function

2015-03-24 Thread John Snow
On 03/24/2015 06:45 PM, Andreas Färber wrote: It calls g_test_add_data_func() with a path supplemented by the architecture, like qtest_add_func() does. Signed-off-by: Andreas Färber afaer...@suse.de --- tests/libqtest.c | 7 +++ tests/libqtest.h | 12 2 files changed, 19

Re: [Qemu-devel] [PATCH] Haiku: Platform build fixes

2015-03-24 Thread Max Filippov
On Wed, Mar 25, 2015 at 2:03 AM, François Revol re...@free.fr wrote: On 24/03/2015 23:56, Max Filippov wrote: On Wed, Mar 25, 2015 at 1:26 AM, Andreas Färber afaer...@suse.de wrote: Am 24.03.2015 um 00:36 schrieb Alexander von Gluck IV: Why convert from array to switch statement? It looks

Re: [Qemu-devel] [PATCH for-2.3] arm: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

2015-03-24 Thread Dirk Müller
Hi Paolo, You cannot call memory_region_allocate_system_memory twice. For cases like this one, the right thing to do is to create a region with memory_region_allocate_system_memory, and then replace memory_region_init_ram with memory_region_init_alias. This slices the region created by

Re: [Qemu-devel] [PATCH] Haiku: Platform build fixes

2015-03-24 Thread Andreas Färber
Hi Alexander, Am 24.03.2015 um 00:36 schrieb Alexander von Gluck IV: * skip syscall.h on Haiku * skip signal.h on Haiku * no daemon function * only attach SIGIO when it exists * use termios.h on Haiku We cannot accept patches without Signed-off-by, indicating that this code is either from

Re: [Qemu-devel] [PATCH] Haiku: Platform build fixes

2015-03-24 Thread Max Filippov
On Wed, Mar 25, 2015 at 1:26 AM, Andreas Färber afaer...@suse.de wrote: Am 24.03.2015 um 00:36 schrieb Alexander von Gluck IV: diff --git a/target-xtensa/xtensa-semi.c b/target-xtensa/xtensa-semi.c index 16e9d8c..d0ea12a 100644 --- a/target-xtensa/xtensa-semi.c +++

Re: [Qemu-devel] [PATCH for-2.3] m68k: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

2015-03-24 Thread Paolo Bonzini
On 24/03/2015 22:26, Dirk Müller wrote: Commit 0b183fc871:memory: move mem_path handling to memory_region_allocate_system_memory split memory_region_init_ram and memory_region_init_ram_from_file. Also it moved mem-path handling a step up from memory_region_init_ram to

[Qemu-devel] [ANNOUNCE] QEMU 2.3.0-rc1 is now available

2015-03-24 Thread Michael Roth
Hello, On behalf of the QEMU Team, I'd like to announce the availability of the second release candidate for the QEMU 2.3 release. This release is meant for testing purposes and should not be used in a production environment. http://wiki.qemu.org/download/qemu-2.3.0-rc1.tar.bz2 We're

[Qemu-devel] [PATCH for-2.3 1/2] qtest: Add qtest_add_data_func() wrapper function

2015-03-24 Thread Andreas Färber
It calls g_test_add_data_func() with a path supplemented by the architecture, like qtest_add_func() does. Signed-off-by: Andreas Färber afaer...@suse.de --- tests/libqtest.c | 7 +++ tests/libqtest.h | 12 2 files changed, 19 insertions(+) diff --git a/tests/libqtest.c

Re: [Qemu-devel] [PATCH 1/5] block: allow block jobs in any arbitrary node

2015-03-24 Thread Eric Blake
On 03/23/2015 09:12 AM, Alberto Garcia wrote: Currently, block jobs can only be owned by root nodes. This patch allows block jobs to be in any arbitrary node, by making the following changes: - Block jobs can now be identified by the node name of their BlockDriverState in addition to the

[Qemu-devel] [PATCH for-2.3 2/2] i440fx-test: Fix test paths to include architecture

2015-03-24 Thread Andreas Färber
Replace g_test_add_func() with new qtest_add_func() and modify the path passed to g_test_add() macro. Signed-off-by: Andreas Färber afaer...@suse.de --- tests/i440fx-test.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/i440fx-test.c b/tests/i440fx-test.c index

[Qemu-devel] [PATCH for-2.3 0/2] qtest: Fix remaining test paths to include architecture

2015-03-24 Thread Andreas Färber
Hello, This mini-series is a follow-up, fixing the last remaining GTester paths to indicate the architecture they are executed for (i386 vs. x86_64). Unlike the previous patch, there is no libqtest wrapper function adding the architecture yet; other tests manually constructed a correct path to

[Qemu-devel] [PATCH for-2.3] sparc: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

2015-03-24 Thread Dirk Müller
Commit 0b183fc871:memory: move mem_path handling to memory_region_allocate_system_memory split memory_region_init_ram and memory_region_init_ram_from_file. Also it moved mem-path handling a step up from memory_region_init_ram to memory_region_allocate_system_memory. Therefore for any board that

[Qemu-devel] virtconsole migration regression from 2.2.0

2015-03-24 Thread Cole Robinson
I'm hitting an error migrating from stock v2.2.0 to git master: 2015-03-24T21:42:07.731317Z qemu-system-x86_64: error while loading state for instance 0x0 of device ':00:05.0/virtio-console' 2015-03-24T21:42:07.731392Z qemu-system-x86_64: load of migration failed: Invalid argument I'm using

Re: [Qemu-devel] [PATCH for-2.3 2/2] i440fx-test: Fix test paths to include architecture

2015-03-24 Thread John Snow
On 03/24/2015 06:45 PM, Andreas Färber wrote: Replace g_test_add_func() with new qtest_add_func() and modify the path passed to g_test_add() macro. Signed-off-by: Andreas Färber afaer...@suse.de --- tests/i440fx-test.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff

Re: [Qemu-devel] [PATCH for-2.3 2/2] i440fx-test: Fix test paths to include architecture

2015-03-24 Thread John Snow
On 03/24/2015 07:20 PM, Andreas Färber wrote: Am 25.03.2015 um 00:09 schrieb John Snow: On 03/24/2015 06:45 PM, Andreas Färber wrote: Replace g_test_add_func() with new qtest_add_func() and modify the path passed to g_test_add() macro. Signed-off-by: Andreas Färber afaer...@suse.de ---

[Qemu-devel] [PATCH for-2.3] m68k: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

2015-03-24 Thread Dirk Müller
Commit 0b183fc871:memory: move mem_path handling to memory_region_allocate_system_memory split memory_region_init_ram and memory_region_init_ram_from_file. Also it moved mem-path handling a step up from memory_region_init_ram to memory_region_allocate_system_memory. Therefore for any board that

[Qemu-devel] [Bug 1392504] Re: USB Passthrough is not working anymore

2015-03-24 Thread Leen Keus
Hi Kevin, finally somebody that found a solution. Great, thank you very much! It is working now. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1392504 Title: USB Passthrough is not working anymore

Re: [Qemu-devel] [PATCH v5 20/45] Modify savevm handlers for postcopy

2015-03-24 Thread David Gibson
On Tue, Mar 24, 2015 at 08:04:14PM +, Dr. David Alan Gilbert wrote: * David Gibson (da...@gibson.dropbear.id.au) wrote: On Fri, Mar 20, 2015 at 12:37:59PM +, Dr. David Alan Gilbert wrote: * David Gibson (da...@gibson.dropbear.id.au) wrote: On Fri, Mar 13, 2015 at 10:19:54AM

Re: [Qemu-devel] [PATCH for-2.3 2/2] i440fx-test: Fix test paths to include architecture

2015-03-24 Thread Andreas Färber
Am 25.03.2015 um 00:09 schrieb John Snow: On 03/24/2015 06:45 PM, Andreas Färber wrote: Replace g_test_add_func() with new qtest_add_func() and modify the path passed to g_test_add() macro. Signed-off-by: Andreas Färber afaer...@suse.de --- tests/i440fx-test.c | 8 +--- 1 file

[Qemu-devel] [PATCH 0/3] hw/arm: add Fixed Virtual Platform VE support

2015-03-24 Thread Sergey Fedorov
These patches add support for ARM Fixed Virtual Platform Versatile Express board. ARM VFP VE is similar to hardware Versatile Express boards. So these changes rely largely on existing QEMU VE support code. First two patches are prerequisites for the final patch which adds FVP VE board support

[Qemu-devel] [PATCH 3/3] hw/arm/vexpress: add FVP VE board support

2015-03-24 Thread Sergey Fedorov
This patch allows to boot AA64 linux kernel in SMP mode with DTB generated from 'arch/arm64/boot/dts/rtsm_ve-aemv8a.dts' of Linux kernel source code. CPU and GIC creation parts are adaptation of code from hw/arm/virt.c. Signed-off-by: Sergey Fedorov serge.f...@gmail.com --- hw/arm/vexpress.c |

Re: [Qemu-devel] [PATCH v5 1/6] target-arm: Store SPSR_EL1 state in banked_spsr[1] (SPSR_svc)

2015-03-24 Thread Peter Maydell
On 24 March 2015 at 14:32, Greg Bellows greg.bell...@linaro.org wrote: On Mon, Mar 23, 2015 at 12:05 PM, Alex Bennée alex.ben...@linaro.org wrote: From: Peter Maydell peter.mayd...@linaro.org @@ -523,7 +523,7 @@ void aarch64_cpu_do_interrupt(CPUState *cs) aarch64_save_sp(env,

Re: [Qemu-devel] RFC: memory API changes

2015-03-24 Thread Paolo Bonzini
On 24/03/2015 14:47, Peter Maydell wrote: On 23 March 2015 at 12:24, Peter Maydell peter.mayd...@linaro.org wrote: (This is part of the work I'm doing for transaction attributes.) OK, here's try 2, based on feedback on the first proposal: * address_space_rw c remain with their current

Re: [Qemu-devel] [PATCH v5 1/6] target-arm: Store SPSR_EL1 state in banked_spsr[1] (SPSR_svc)

2015-03-24 Thread Greg Bellows
On Mon, Mar 23, 2015 at 12:05 PM, Alex Bennée alex.ben...@linaro.org wrote: From: Peter Maydell peter.mayd...@linaro.org The AArch64 SPSR_EL1 register is architecturally mandated to be mapped to the AArch32 SPSR_svc register. This means its state should live in QEMU's env-banked_spsr[1]

Re: [Qemu-devel] PCI passthrough of 40G ethernet interface (Openstack/KVM)

2015-03-24 Thread jacob jacob
On Tue, Mar 24, 2015 at 10:53 AM, Shannon Nelson shannon.nel...@intel.com wrote: On Tue, Mar 24, 2015 at 7:13 AM, jacob jacob opstk...@gmail.com wrote: After update to latest firmware and using version 1.2.37 of i40e driver, things are looking better with PCI passthrough. ]# ethtool -i eth3

Re: [Qemu-devel] [PATCH 0/2] CVE-2015-1779: fix denial of service in VNC websockets

2015-03-24 Thread Gerd Hoffmann
On Mo, 2015-03-23 at 22:58 +, Daniel P. Berrange wrote: The VNC websockets protocol decoder has two places where it did not correctly limit its resource usage when processing data from the client. This can be abused by a malicious client to cause QEMU to consume all system memory, unless

Re: [Qemu-devel] [PATCH 4/6] throttle: Add throttle group support

2015-03-24 Thread Stefan Hajnoczi
On Tue, Mar 10, 2015 at 05:30:48PM +0200, Alberto Garcia wrote: @@ -179,10 +179,11 @@ static void bdrv_throttle_write_timer_cb(void *opaque) } /* should be called before bdrv_set_io_limits if a limit is set */ -void bdrv_io_limits_enable(BlockDriverState *bs) +void

Re: [Qemu-devel] [PATCH for-2.3] sdhci: add drive property

2015-03-24 Thread Markus Armbruster
Peter Crosthwaite peter.crosthwa...@xilinx.com writes: On Mon, Mar 23, 2015 at 7:05 PM, Markus Armbruster arm...@redhat.com wrote: Paolo Bonzini pbonz...@redhat.com writes: On 23/03/2015 10:10, Markus Armbruster wrote: [...] I believe the proper solution for your problem is qdevifying the SD

Re: [Qemu-devel] [PATCH 2/6] throttle: Add throttle group infrastructure

2015-03-24 Thread Stefan Hajnoczi
On Tue, Mar 10, 2015 at 05:30:46PM +0200, Alberto Garcia wrote: +typedef struct ThrottleGroup { +char *name; /* This is constant during the lifetime of the group */ Is this also protected by throttle_groups_lock? I guess throttle_groups_lock must be held in order to read this field -

Re: [Qemu-devel] [PATCH 1/6] throttle: Extract timers from ThrottleState into a separate structure

2015-03-24 Thread Stefan Hajnoczi
On Tue, Mar 10, 2015 at 05:30:45PM +0200, Alberto Garcia wrote: From: Benoît Canet benoit.ca...@nodalink.com Group throttling will share ThrottleState between multiple bs. As a consequence the ThrottleState will be accessed by multiple aio context. Timers are tied to their aio context so

Re: [Qemu-devel] [PATCH 3/6] throttle: Add throttle group infrastructure tests

2015-03-24 Thread Stefan Hajnoczi
On Tue, Mar 10, 2015 at 05:30:47PM +0200, Alberto Garcia wrote: Signed-off-by: Alberto Garcia be...@igalia.com --- tests/test-throttle.c | 37 +++-- 1 file changed, 35 insertions(+), 2 deletions(-) Reviewed-by: Stefan Hajnoczi stefa...@redhat.com

Re: [Qemu-devel] [Xen-devel] [PATCH] SeaBios/vTPM: Enable Xen stubdom vTPM for HVM virtual machine

2015-03-24 Thread Stefan Berger
On 03/23/2015 10:20 PM, Xu, Quan wrote: -Original Message- From: Stefan Berger [mailto:stef...@linux.vnet.ibm.com] Sent: Tuesday, March 24, 2015 4:01 AM To: Xu, Quan; Ian Campbell Cc: ke...@koconnor.net; qemu-devel@nongnu.org; stefano.stabell...@eu.citrix.com; xen-de...@lists.xen.org

Re: [Qemu-devel] [PATCH RFC 0/4] target-i386: PC socket/core/thread modeling, part 1

2015-03-24 Thread Christian Borntraeger
Am 23.03.2015 um 18:31 schrieb Andreas Färber: Hello, This long-postponed series proposes a hierarchical QOM model of socket and core objects for the x86 PC machines. Just some comments from the s390 side as we probably want more than status quo in the future as well. Traditionally all

Re: [Qemu-devel] RFC: memory API changes

2015-03-24 Thread Peter Maydell
On 24 March 2015 at 15:08, Paolo Bonzini pbonz...@redhat.com wrote: On 24/03/2015 15:53, Peter Maydell wrote: In any case, the removal or segregation of ld/st*_phys should be a separate series for ease of review. Who wants to remove ld/st*_phys? Not me... Well, you want to rename them

Re: [Qemu-devel] [PATCH for-2.3 0/3] Contain drive_get() misuse

2015-03-24 Thread Markus Armbruster
Paolo Bonzini pbonz...@redhat.com writes: On 24/03/2015 13:48, Markus Armbruster wrote: Use of -drive if=floppy with onboard pc87312 (machine prep) shouldn't be affected. Likewise for connecting onboard m25p80-generic derivatives with if=mtd drives, or onboard ssi-sd with if=sd. Exactly.

Re: [Qemu-devel] RFC: memory API changes

2015-03-24 Thread Peter Maydell
On 24 March 2015 at 14:45, Paolo Bonzini pbonz...@redhat.com wrote: On 24/03/2015 14:47, Peter Maydell wrote: On 23 March 2015 at 12:24, Peter Maydell peter.mayd...@linaro.org wrote: * no default-to-no-attrs/etc versions of ld/st*_ phys (if in specific devices/buses it's the best thing we

Re: [Qemu-devel] PCI passthrough of 40G ethernet interface (Openstack/KVM)

2015-03-24 Thread Shannon Nelson
On Tue, Mar 24, 2015 at 7:13 AM, jacob jacob opstk...@gmail.com wrote: After update to latest firmware and using version 1.2.37 of i40e driver, things are looking better with PCI passthrough. ]# ethtool -i eth3 driver: i40e version: 1.2.37 firmware-version: f4.33.31377 a1.2 n4.42 e1930

Re: [Qemu-devel] RFC: memory API changes

2015-03-24 Thread Paolo Bonzini
On 24/03/2015 15:53, Peter Maydell wrote: In any case, the removal or segregation of ld/st*_phys should be a separate series for ease of review. Who wants to remove ld/st*_phys? Not me... Well, you want to rename them _and_ add new arguments. Basically at the end they don't exist anymore

Re: [Qemu-devel] [PATCH 2/6] throttle: Add throttle group infrastructure

2015-03-24 Thread Alberto Garcia
On Tue, Mar 24, 2015 at 03:03:07PM +, Stefan Hajnoczi wrote: +typedef struct ThrottleGroup { +char *name; /* This is constant during the lifetime of the group */ Is this also protected by throttle_groups_lock? I guess throttle_groups_lock must be held in order to read this

Re: [Qemu-devel] [PATCH 0/3] hw/arm: add Fixed Virtual Platform VE support

2015-03-24 Thread Peter Maydell
On 24 March 2015 at 23:55, Sergey Fedorov serge.f...@gmail.com wrote: These patches add support for ARM Fixed Virtual Platform Versatile Express board. ARM VFP VE is similar to hardware Versatile Express boards. So these changes rely largely on existing QEMU VE support code. First two patches

Re: [Qemu-devel] [PATCH for-2.3] arm: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

2015-03-24 Thread Peter Maydell
On 25 March 2015 at 00:10, Peter Maydell peter.mayd...@linaro.org wrote: So why do only the ARM boards get fixes here? ...ah, I see you've submitted patches for other boards too, you just didn't put them together into a single series. Sorry. -- PMM

Re: [Qemu-devel] [PATCH 0/3] hw/arm: add Fixed Virtual Platform VE support

2015-03-24 Thread Peter Maydell
On 25 March 2015 at 00:18, Sergey Fedorov serge.f...@gmail.com wrote: This model uses spin table boot method. Yes, I noticed, that's a strong reason why I don't want to add it if we can avoid it :-) So it enables SMP on AArch64 in TCG mode. We already support SMP on AArch64 in TCG mode using

Re: [Qemu-devel] [RFC PATCH v2 01/23] spapr: enable PHB/CPU/LMB hotplug for pseries-2.3

2015-03-24 Thread David Gibson
On Mon, Mar 23, 2015 at 07:05:42PM +0530, Bharata B Rao wrote: From: Michael Roth mdr...@linux.vnet.ibm.com Introduce an sPAPRMachineClass sub-class of MachineClass to handle sPAPR-specific machine configuration properties. The 'dr_phb[cpu,lmb]_enabled' field of that class can be set as

Re: [Qemu-devel] [v3][PATCH 2/2] libxl: introduce gfx_passthru_kind

2015-03-24 Thread Chen, Tiejun
On 2015/3/24 22:50, Ian Campbell wrote: On Mon, 2015-03-23 at 09:17 +0800, Tiejun Chen wrote: Although we already have 'gfx_passthru' in b_info, this doesn' suffice Fixed. ^t after we want to handle IGD specifically. Now

Re: [Qemu-devel] One question to lowlevel/xl/xl.c and lowlevel/xc/xc.c

2015-03-24 Thread Chen, Tiejun
On 2015/3/24 18:40, Ian Campbell wrote: On Tue, 2015-03-24 at 18:31 +0800, Chen, Tiejun wrote: NB, the libxl ones are broken and not even compiled right now, you can ignore them. Looks this is still compiled now. xc is, xl is not, I am sure of that. Indeed, you're right :) I don't

Re: [Qemu-devel] [Xen-devel] [PATCH] SeaBios/vTPM: Enable Xen stubdom vTPM for HVM virtual machine

2015-03-24 Thread Xu, Quan
-Original Message- From: Stefan Berger [mailto:stef...@linux.vnet.ibm.com] Sent: Tuesday, March 24, 2015 11:22 PM To: Xu, Quan; Ian Campbell Cc: ke...@koconnor.net; qemu-devel@nongnu.org; stefano.stabell...@eu.citrix.com; xen-de...@lists.xen.org; Jan Beulich; wei.l...@citrix.com

  1   2   3   >