Re: [Qemu-devel] [SeaBIOS] SeaBIOS v1.7.2.2 stable release

2013-05-29 Thread Wenchao Xia
于 2013-5-29 12:43, Wenchao Xia 写道: 于 2013-5-29 8:08, Kevin O'Connor 写道: On Mon, May 27, 2013 at 05:11:46PM +0400, Michael Tokarev wrote: 27.05.2013 16:59, Kevin O'Connor wrote: A new stable release of SeaBIOS (version 1.7.2.2) has been tagged. This release contains bug fixes. The release is

Re: [Qemu-devel] [PATCH v2] qdev: don't add typename to fw_dev_path when get_fw_dev_path isn't implemented

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 06:41, Amos Kong ha scritto: On Tue, May 28, 2013 at 01:15:57PM +0200, Paolo Bonzini wrote: Il 28/05/2013 13:00, Amos Kong ha scritto: Recent virtio refactoring in QEMU made virtio-bus become the parent bus of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation,

Re: [Qemu-devel] [PATCH v2] Add a stp file for usage from build directory

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 02:28, Alon Levy ha scritto: For systemtap the location of the process being tapped is crucial, as a result the existing stp file requires installation for use. There are now two files: $(TARGET_DIR)/$(QEMU_PROG).stp-installed: copied to $(tapdir)/$(QEMU_PROG).stp

Re: [Qemu-devel] [PATCH 3/4] main: use TARGET_ARCH only for the target-specific #define

2013-05-29 Thread Paolo Bonzini
Il 28/05/2013 20:09, Peter Maydell ha scritto: On 27 May 2013 12:34, Paolo Bonzini pbonz...@redhat.com wrote: Everything else needs to match the executable name, which is TARGET_NAME. Before: $ sh4eb-linux-user/qemu-sh4eb --help usage: qemu-sh4 [options] program [arguments...]

Re: [Qemu-devel] [PATCH trivial] slirp: cleanup leftovers from misc.h

2013-05-29 Thread Jan Kiszka
On 2013-05-28 05:51, Michael Tokarev wrote: There are quite a few leftover declarations in slirp/misc.h. Remove them. Signed-off-by: Michael Tokarev m...@tls.msk.ru --- slirp/misc.h | 14 -- 1 file changed, 14 deletions(-) I'm not entirely sure we should do this, since

Re: [Qemu-devel] [PATCH v1 4/6] mem: concenter the root of each AddressSpaceDispatch

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 04:11, Liu Ping Fan ha scritto: From: Liu Ping Fan pingf...@linux.vnet.ibm.com All of AddressSpaceDispatch's roots are part of dispatch context, along with cur_map_nodes, cur_phys_sections, and we should walk through AddressSpaceDispatchs in the same dispatch context, ie the

Re: [Qemu-devel] anyone willing to review a virtio-net guest driver for OVMF?

2013-05-29 Thread Michael S. Tsirkin
On Wed, May 29, 2013 at 03:30:20AM +0200, Laszlo Ersek wrote: Hi, the driver in question is intended as a fallback driver when the iPXE EFI driver for virtio-net is not present as an oprom. The series starts with technical notes that should help the virtio-net expert catch any errors more

Re: [Qemu-devel] [PATCH v1 5/6] mem: make dispatch path satify rcu style

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 04:11, Liu Ping Fan ha scritto: From: Liu Ping Fan pingf...@linux.vnet.ibm.com Using seqlock to load dispatch context atomic. The dispatch context consist of: cur_map_nodes, cur_sections, cur_roots. Also during the dispatch, we should get the terminal, and dup

Re: [Qemu-devel] [PATCH v1 2/6] mem: make global dispatch table ready for rcu

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 04:11, Liu Ping Fan ha scritto: From: Liu Ping Fan pingf...@linux.vnet.ibm.com Currently, phys_node_map and phys_sections are shared by all of the AddressSpaceDispatch. When updating mem topology, all AddressSpaceDispatch will rebuild dispatch tables sequentially on them. In

Re: [Qemu-devel] [PATCH v1 5/6] mem: make dispatch path satify rcu style

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 04:11, Liu Ping Fan ha scritto: From: Liu Ping Fan pingf...@linux.vnet.ibm.com Using seqlock to load dispatch context atomic. The dispatch context consist of: cur_map_nodes, cur_sections, cur_roots. Also during the dispatch, we should get the terminal, and dup

Re: [Qemu-devel] [PATCH v1 6/6] mem: change tcg code to rcu style

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 04:11, Liu Ping Fan ha scritto: From: Liu Ping Fan pingf...@linux.vnet.ibm.com When adopting rcu style, for tcg code, need to fix two kind of path: -tlb_set_page() will cache translation info. -instruction emualation path Signed-off-by: Liu Ping Fan

Re: [Qemu-devel] [coreboot] [SeaBIOS] SeaBIOS v1.7.2.2 stable release

2013-05-29 Thread Gerd Hoffmann
On 05/29/13 02:08, Kevin O'Connor wrote: On Mon, May 27, 2013 at 05:11:46PM +0400, Michael Tokarev wrote: 27.05.2013 16:59, Kevin O'Connor wrote: A new stable release of SeaBIOS (version 1.7.2.2) has been tagged. This release contains bug fixes. The release is available via git: git clone

Re: [Qemu-devel] [RFC PATCH v3 05/11] qemu-ga: Add Windows VSS provider to quiesce applications on fsfreeze

2013-05-29 Thread Stefan Hajnoczi
On Tue, May 28, 2013 at 05:01:25PM -0400, Jeff Cody wrote: On Thu, May 23, 2013 at 06:36:35PM +, Tomoki Sekiyama wrote: On 5/23/13 8:22 , Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, May 21, 2013 at 11:33:52AM -0400, Tomoki Sekiyama wrote: diff --git

Re: [Qemu-devel] 'qemu-nbd' explicit flush

2013-05-29 Thread Stefan Hajnoczi
On Tue, May 28, 2013 at 06:00:08PM +, Mark Trumpold wrote: -Original Message- From: Stefan Hajnoczi [mailto:stefa...@gmail.com] Sent: Monday, May 27, 2013 05:36 AM To: 'Mark Trumpold' Cc: 'Paolo Bonzini', qemu-devel@nongnu.org, ma...@tachyon.net Subject: Re: 'qemu-nbd' explicit

Re: [Qemu-devel] [PATCH v3 2/3] tcg/aarch64: implement new TCG target for aarch64

2013-05-29 Thread Claudio Fontana
On 28.05.2013 18:18, Richard Henderson wrote: On 05/28/2013 08:28 AM, Claudio Fontana wrote: +static inline void tcg_out_movi_aux(TCGContext *s, +TCGReg rd, uint64_t value) +{ +uint32_t half, base, movk = 0, shift = 0; + +/* construct halfwords of

Re: [Qemu-devel] [PATCH v1 4/6] mem: concenter the root of each AddressSpaceDispatch

2013-05-29 Thread liu ping fan
On Wed, May 29, 2013 at 3:03 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 29/05/2013 04:11, Liu Ping Fan ha scritto: From: Liu Ping Fan pingf...@linux.vnet.ibm.com All of AddressSpaceDispatch's roots are part of dispatch context, along with cur_map_nodes, cur_phys_sections, and we should

Re: [Qemu-devel] snabbswitch integration with QEMU for userspace ethernet I/O

2013-05-29 Thread Stefan Hajnoczi
On Tue, May 28, 2013 at 08:17:42PM +0300, Michael S. Tsirkin wrote: On Tue, May 28, 2013 at 12:00:38PM -0500, Anthony Liguori wrote: Julian Stecklina jstec...@os.inf.tu-dresden.de writes: On 05/28/2013 12:10 PM, Luke Gorrie wrote: On 27 May 2013 11:34, Stefan Hajnoczi

Re: [Qemu-devel] [PATCH 0/4] qemu-iotests: reduce iotests.py code duplication

2013-05-29 Thread Stefan Hajnoczi
On Wed, May 29, 2013 at 01:29:34PM +0800, Fam Zheng wrote: On Tue, 05/28 17:11, Stefan Hajnoczi wrote: Tests 030 and 041 are written in Python and use the iotests.py module. Push common code down into iotests.py. My 'drive-backup' series takes advantage will take advantage of this - kwolf

Re: [Qemu-devel] [PATCH V3 1/4] block: drop bs_snapshots global variable

2013-05-29 Thread Wenchao Xia
于 2013-5-28 15:46, Stefan Hajnoczi 写道: On Mon, May 27, 2013 at 05:25:16PM +0200, Kevin Wolf wrote: Am 25.05.2013 um 05:09 hat Wenchao Xia geschrieben: From: Stefan Hajnoczi stefa...@redhat.com The bs_snapshots global variable points to the BlockDriverState which will be used to save vmstate.

[Qemu-devel] [QEMU PATCH v3] qdev: fix get_fw_dev_path to support to add nothing to fw_dev_path

2013-05-29 Thread Amos Kong
Recent virtio refactoring in QEMU made virtio-bus become the parent bus of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation, typename will be added to fw_dev_path by default, the new fw_dev_path could not be identified by seabios. It causes that bootindex parameter of scsi

Re: [Qemu-devel] [PATCH v2] Add a stp file for usage from build directory

2013-05-29 Thread Stefan Hajnoczi
On Tue, May 28, 2013 at 08:28:08PM -0400, Alon Levy wrote: For systemtap the location of the process being tapped is crucial, as a result the existing stp file requires installation for use. There are now two files: $(TARGET_DIR)/$(QEMU_PROG).stp-installed: copied to

Re: [Qemu-devel] [PATCH 16/16] Make qemu-io commands available in the monitor

2013-05-29 Thread Kevin Wolf
Am 28.05.2013 um 18:07 hat Eric Blake geschrieben: On 05/28/2013 09:27 AM, Kevin Wolf wrote: The QMP version is flagged with a __org.qemu.debug- prefix in order to reinforce the statement that qemu-io is for testing and debugging only, with no API guarantees. Correct use of naming

Re: [Qemu-devel] [QEMU PATCH v3] qdev: fix get_fw_dev_path to support to add nothing to fw_dev_path

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 09:56, Amos Kong ha scritto: Recent virtio refactoring in QEMU made virtio-bus become the parent bus of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation, typename will be added to fw_dev_path by default, the new fw_dev_path could not be identified by seabios.

[Qemu-devel] [PATCH v7 0/4] KVM flash memory support

2013-05-29 Thread Jordan Justen
git://github.com/jljusten/qemu.git kvm-flash-v7 Utilize KVM_CAP_READONLY_MEM to support PC system flash emulation with KVM. v7: * Update for readable = romd_mode rename (5f9a5ea1) v6: * Rebase to master following 9e1c2ec8 * Make sure patch 1 isapc: Fix non-KVM qemu boot can be applied

[Qemu-devel] [PATCH v7 1/4] isapc: Fix non-KVM qemu boot (read/write memory for isapc BIOS)

2013-05-29 Thread Jordan Justen
The isapc machine with seabios currently requires the BIOS region to be read/write memory rather than read-only memory. KVM currently cannot support the BIOS as a ROM region, but qemu in non-KVM mode can. Based on this, isapc machine currently only works with KVM. To work-around this isapc

[Qemu-devel] [PATCH v7 2/4] kvm: add kvm_readonly_mem_enabled

2013-05-29 Thread Jordan Justen
Signed-off-by: Jordan Justen jordan.l.jus...@intel.com Reviewed-by: Paolo Bonzini pbonz...@redhat.com --- include/sysemu/kvm.h | 10 ++ kvm-all.c|6 ++ kvm-stub.c |1 + 3 files changed, 17 insertions(+) diff --git a/include/sysemu/kvm.h

[Qemu-devel] [PATCH v7 4/4] pc_sysfw: allow flash (-pflash) memory to be used with KVM

2013-05-29 Thread Jordan Justen
When pc-sysfw.rom_only == 0, flash memory will be usable with kvm. In order to enable flash memory mode, a pflash device must be created. (For example, by using the -pflash command line parameter.) Usage of a flash memory device with kvm requires KVM_CAP_READONLY_MEM, and kvm will abort if a

[Qemu-devel] [PATCH v7 3/4] kvm: support using KVM_MEM_READONLY flag for regions

2013-05-29 Thread Jordan Justen
For readonly memory regions and rom devices in romd_mode, we make use of the KVM_MEM_READONLY. A slot that uses KVM_MEM_READONLY can be read from and code can execute from the region, but writes will exit to qemu. For rom devices with !romd_mode, we force the slot to be removed so reads or writes

Re: [Qemu-devel] [PATCH v1 4/6] mem: concenter the root of each AddressSpaceDispatch

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 09:48, liu ping fan ha scritto: On Wed, May 29, 2013 at 3:03 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 29/05/2013 04:11, Liu Ping Fan ha scritto: From: Liu Ping Fan pingf...@linux.vnet.ibm.com All of AddressSpaceDispatch's roots are part of dispatch context, along with

[Qemu-devel] [PATCH v2] block: add block driver read only whitelist

2013-05-29 Thread Fam Zheng
We may want to include a driver in the whitelist for read only tasks such as diagnosing or exporting guest data (with libguestfs as a good example). This patch introduces a readonly whitelist option, and for backward compatibility, the old configure option --block-drv-whitelist is now an alias to

Re: [Qemu-devel] [PATCH v2] block: add block driver read only whitelist

2013-05-29 Thread Fam Zheng
On Wed, 05/29 16:41, Fam Zheng wrote: We may want to include a driver in the whitelist for read only tasks such as diagnosing or exporting guest data (with libguestfs as a good example). This patch introduces a readonly whitelist option, and for backward compatibility, the old configure option

Re: [Qemu-devel] KVM call agenda for 2013-05-28

2013-05-29 Thread Michael S. Tsirkin
On Tue, May 28, 2013 at 07:53:09PM -0400, Kevin O'Connor wrote: On Thu, May 23, 2013 at 03:41:32PM +0300, Michael S. Tsirkin wrote: Juan is not available now, and Anthony asked for agenda to be sent early. So here comes: Agenda for the meeting Tue, May 28: - Generating acpi tables

Re: [Qemu-devel] [SeaBIOS] KVM call agenda for 2013-05-28

2013-05-29 Thread Gerd Hoffmann
On 05/29/13 01:53, Kevin O'Connor wrote: On Thu, May 23, 2013 at 03:41:32PM +0300, Michael S. Tsirkin wrote: Juan is not available now, and Anthony asked for agenda to be sent early. So here comes: Agenda for the meeting Tue, May 28: - Generating acpi tables I didn't see any meeting

Re: [Qemu-devel] [PATCH v3 4/5] xilinx_devcfg: Zynq devcfg device model

2013-05-29 Thread Paolo Bonzini
Il 24/05/2013 07:49, peter.crosthwa...@xilinx.com ha scritto: +static const MemoryRegionOps devcfg_reg_ops = { +.read = register_read_memory_le, +.write = register_write_memory_le, +.endianness = DEVICE_LITTLE_ENDIAN, +.valid = { +.min_access_size = 4, +

Re: [Qemu-devel] [PATCH v1 6/6] mem: change tcg code to rcu style

2013-05-29 Thread liu ping fan
On Wed, May 29, 2013 at 3:22 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 29/05/2013 04:11, Liu Ping Fan ha scritto: From: Liu Ping Fan pingf...@linux.vnet.ibm.com When adopting rcu style, for tcg code, need to fix two kind of path: -tlb_set_page() will cache translation info.

Re: [Qemu-devel] [PATCH v2] block: add block driver read only whitelist

2013-05-29 Thread Kevin Wolf
Am 29.05.2013 um 10:41 hat Fam Zheng geschrieben: We may want to include a driver in the whitelist for read only tasks such as diagnosing or exporting guest data (with libguestfs as a good example). This patch introduces a readonly whitelist option, and for backward compatibility, the old

Re: [Qemu-devel] [PATCH v1 6/6] mem: change tcg code to rcu style

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 11:00, liu ping fan ha scritto: Remember that this code is running under the BQL, so there is no need to protect the TLB flushes otherwise. There is also no need to do anything Do you mean that cpu_exec() can not be out of BQL like kvm path? If it is true, then there is no

Re: [Qemu-devel] [PATCH v2 1/1] configure: dtc: Probe for libfdt_env.h

2013-05-29 Thread David Gibson
On Mon, May 27, 2013 at 02:20:57PM +1000, peter.crosthwa...@xilinx.com wrote: From: Peter Crosthwaite peter.crosthwa...@xilinx.com Currently QEMU provides a local clone of the file libfdt_env.h in /include. This file is supposed to come with the libfdt package and is So, this patch might be

[Qemu-devel] [PATCH v4 0/3] ARM aarch64 TCG target

2013-05-29 Thread Claudio Fontana
This series implements preliminary support for the ARM aarch64 TCG target. Limitations of this initial implementation (TODOs) include: * missing TLB lookup in qemu_ld/st [C helpers always called]. An incremental patch, which requires this series, is coming up from colleague Jani Kokkonen

Re: [Qemu-devel] [PATCH 6/9] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-05-29 Thread Wenchao Xia
于 2013-5-28 17:00, Wenchao Xia 写道: 于 2013-5-28 16:33, Asias He 写道: On Tue, May 28, 2013 at 10:01:14AM +0200, Paolo Bonzini wrote: Il 28/05/2013 09:13, Wenchao Xia ha scritto: From: Nicholas Bellinger n...@linux-iscsi.org The WWPN specified in configfs is passed to -device vhost-scsi-pci. The

Re: [Qemu-devel] [PATCH v1 1/6] mem: change variable to macro

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 04:11, Liu Ping Fan ha scritto: From: Liu Ping Fan pingf...@linux.vnet.ibm.com The secions like phys_section_unassigned always has fixed address in phys_sections, make them declared as macro, so we can use them when having more than one phys_sections, ie, more than one dispatch

[Qemu-devel] [PATCH v4 1/3] include/elf.h: add aarch64 ELF machine and relocs

2013-05-29 Thread Claudio Fontana
we will use the 26bit relative relocs in the aarch64 tcg target. Reviewed-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Claudio Fontana claudio.font...@huawei.com --- include/elf.h | 129 ++ 1 file changed, 129 insertions(+)

Re: [Qemu-devel] snabbswitch integration with QEMU for userspace ethernet I/O

2013-05-29 Thread Michael S. Tsirkin
On Wed, May 29, 2013 at 09:49:29AM +0200, Stefan Hajnoczi wrote: On Tue, May 28, 2013 at 08:17:42PM +0300, Michael S. Tsirkin wrote: On Tue, May 28, 2013 at 12:00:38PM -0500, Anthony Liguori wrote: Julian Stecklina jstec...@os.inf.tu-dresden.de writes: On 05/28/2013 12:10 PM, Luke

[Qemu-devel] [PATCH v4 2/3] tcg/aarch64: implement new TCG target for aarch64

2013-05-29 Thread Claudio Fontana
add preliminary support for TCG target aarch64. Signed-off-by: Claudio Fontana claudio.font...@huawei.com --- include/exec/exec-all.h |5 +- tcg/aarch64/tcg-target.c | 1161 ++ tcg/aarch64/tcg-target.h | 99 translate-all.c |2

Re: [Qemu-devel] [PATCH V3 1/4] block: drop bs_snapshots global variable

2013-05-29 Thread Stefan Hajnoczi
On Wed, May 29, 2013 at 03:54:46PM +0800, Wenchao Xia wrote: 于 2013-5-28 15:46, Stefan Hajnoczi 写道: On Mon, May 27, 2013 at 05:25:16PM +0200, Kevin Wolf wrote: Am 25.05.2013 um 05:09 hat Wenchao Xia geschrieben: From: Stefan Hajnoczi stefa...@redhat.com The bs_snapshots global variable

[Qemu-devel] [PATCH v4 3/3] configure: permit compilation on arm aarch64

2013-05-29 Thread Claudio Fontana
support compiling on aarch64. Reviewed-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Claudio Fontana claudio.font...@huawei.com --- configure | 8 1 file changed, 8 insertions(+) diff --git a/configure b/configure index eb74510..f021bdd 100755 --- a/configure +++

Re: [Qemu-devel] [PATCH v2 1/1] configure: dtc: Probe for libfdt_env.h

2013-05-29 Thread Peter Maydell
On 29 May 2013 09:18, David Gibson da...@gibson.dropbear.id.au wrote: On Mon, May 27, 2013 at 02:20:57PM +1000, peter.crosthwa...@xilinx.com wrote: From: Peter Crosthwaite peter.crosthwa...@xilinx.com Currently QEMU provides a local clone of the file libfdt_env.h in /include. This file is

Re: [Qemu-devel] [SeaBIOS] KVM call agenda for 2013-05-28

2013-05-29 Thread Michael S. Tsirkin
On Wed, May 29, 2013 at 10:49:27AM +0200, Gerd Hoffmann wrote: On 05/29/13 01:53, Kevin O'Connor wrote: On Thu, May 23, 2013 at 03:41:32PM +0300, Michael S. Tsirkin wrote: Juan is not available now, and Anthony asked for agenda to be sent early. So here comes: Agenda for the meeting

Re: [Qemu-devel] [PATCH v1 4/6] mem: concenter the root of each AddressSpaceDispatch

2013-05-29 Thread liu ping fan
On Wed, May 29, 2013 at 4:31 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 29/05/2013 09:48, liu ping fan ha scritto: On Wed, May 29, 2013 at 3:03 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 29/05/2013 04:11, Liu Ping Fan ha scritto: From: Liu Ping Fan pingf...@linux.vnet.ibm.com All

Re: [Qemu-devel] [PATCH v6 00/12] curl: fix curl read

2013-05-29 Thread Richard W.M. Jones
On Wed, May 29, 2013 at 09:07:25AM +0800, Fam Zheng wrote: On Tue, 05/28 12:32, Richard W.M. Jones wrote: This fixes the obvious bug. Thanks for figuring out this. Mainline had this 5s timeout so I kept it, but you don't experience this bug, right? Since master doesn't setup a timer to

Re: [Qemu-devel] [PATCH 6/9] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-05-29 Thread Asias He
On Wed, May 29, 2013 at 05:05:31PM +0800, Wenchao Xia wrote: 于 2013-5-28 17:00, Wenchao Xia 写道: 于 2013-5-28 16:33, Asias He 写道: On Tue, May 28, 2013 at 10:01:14AM +0200, Paolo Bonzini wrote: Il 28/05/2013 09:13, Wenchao Xia ha scritto: From: Nicholas Bellinger n...@linux-iscsi.org The WWPN

Re: [Qemu-devel] [PATCH v2 1/1] configure: dtc: Probe for libfdt_env.h

2013-05-29 Thread David Gibson
On Wed, May 29, 2013 at 10:14:19AM +0100, Peter Maydell wrote: On 29 May 2013 09:18, David Gibson da...@gibson.dropbear.id.au wrote: On Mon, May 27, 2013 at 02:20:57PM +1000, peter.crosthwa...@xilinx.com wrote: From: Peter Crosthwaite peter.crosthwa...@xilinx.com Currently QEMU provides

Re: [Qemu-devel] [SeaBIOS] KVM call agenda for 2013-05-28

2013-05-29 Thread Gerd Hoffmann
Hi, possible complexity of having to regenerate tables on a vm reboot, Why tables should be regenerated at reboot? I remember hotplug being mentioned in the call. Hmm? Which hotplugged component needs acpi table updates to work properly? And what is the point of hotplugging if you

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread David Gibson
On Thu, May 23, 2013 at 10:16:27PM +1000, David Gibson wrote: On Thu, May 23, 2013 at 02:22:30PM +0300, Michael S. Tsirkin wrote: On Thu, May 09, 2013 at 10:31:10AM +1000, David Gibson wrote: Currently pci_get_primary_bus() searches the list of root buses for one with domain 0. But since

Re: [Qemu-devel] [PATCH V3 1/4] block: drop bs_snapshots global variable

2013-05-29 Thread Wenchao Xia
于 2013-5-29 17:09, Stefan Hajnoczi 写道: On Wed, May 29, 2013 at 03:54:46PM +0800, Wenchao Xia wrote: 于 2013-5-28 15:46, Stefan Hajnoczi 写道: On Mon, May 27, 2013 at 05:25:16PM +0200, Kevin Wolf wrote: Am 25.05.2013 um 05:09 hat Wenchao Xia geschrieben: From: Stefan Hajnoczi stefa...@redhat.com

Re: [Qemu-devel] [SeaBIOS] KVM call agenda for 2013-05-28

2013-05-29 Thread Michael S. Tsirkin
On Wed, May 29, 2013 at 11:42:34AM +0200, Gerd Hoffmann wrote: Hi, possible complexity of having to regenerate tables on a vm reboot, Why tables should be regenerated at reboot? I remember hotplug being mentioned in the call. Hmm? Which hotplugged component needs acpi table

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread David Gibson
On Wed, May 29, 2013 at 07:43:41PM +1000, David Gibson wrote: On Thu, May 23, 2013 at 10:16:27PM +1000, David Gibson wrote: On Thu, May 23, 2013 at 02:22:30PM +0300, Michael S. Tsirkin wrote: On Thu, May 09, 2013 at 10:31:10AM +1000, David Gibson wrote: Currently pci_get_primary_bus()

Re: [Qemu-devel] KVM call agenda for 2013-05-28

2013-05-29 Thread Michael S. Tsirkin
On Tue, May 28, 2013 at 07:53:09PM -0400, Kevin O'Connor wrote: On Thu, May 23, 2013 at 03:41:32PM +0300, Michael S. Tsirkin wrote: Juan is not available now, and Anthony asked for agenda to be sent early. So here comes: Agenda for the meeting Tue, May 28: - Generating acpi tables

Re: [Qemu-devel] [PATCH 2/4] qemu-iotests: make cancel_and_wait() common

2013-05-29 Thread Kevin Wolf
Am 28.05.2013 um 17:11 hat Stefan Hajnoczi geschrieben: The cancel_and_wait() function has been duplicated in 030 and 041. Move it into iotests.py and let it return the event so tests can perform additional asserts. Note that 041's cancel_and_wait(wait_ready=True) is replaced by

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread Michael S. Tsirkin
On Wed, May 29, 2013 at 07:43:41PM +1000, David Gibson wrote: On Thu, May 23, 2013 at 10:16:27PM +1000, David Gibson wrote: On Thu, May 23, 2013 at 02:22:30PM +0300, Michael S. Tsirkin wrote: On Thu, May 09, 2013 at 10:31:10AM +1000, David Gibson wrote: Currently pci_get_primary_bus()

Re: [Qemu-devel] [PATCH 0/4] qemu-iotests: reduce iotests.py code duplication

2013-05-29 Thread Kevin Wolf
Am 28.05.2013 um 17:11 hat Stefan Hajnoczi geschrieben: Tests 030 and 041 are written in Python and use the iotests.py module. Push common code down into iotests.py. My 'drive-backup' series takes advantage will take advantage of this - kwolf pointed out that earlier revisions were

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread David Gibson
On Wed, May 29, 2013 at 12:55:53PM +0300, Michael S. Tsirkin wrote: On Wed, May 29, 2013 at 07:43:41PM +1000, David Gibson wrote: On Thu, May 23, 2013 at 10:16:27PM +1000, David Gibson wrote: On Thu, May 23, 2013 at 02:22:30PM +0300, Michael S. Tsirkin wrote: On Thu, May 09, 2013 at

Re: [Qemu-devel] [PATCH v2] block: add block driver read only whitelist

2013-05-29 Thread Kevin Wolf
Am 29.05.2013 um 10:41 hat Fam Zheng geschrieben: We may want to include a driver in the whitelist for read only tasks such as diagnosing or exporting guest data (with libguestfs as a good example). This patch introduces a readonly whitelist option, and for backward compatibility, the old

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread Michael S. Tsirkin
On Wed, May 29, 2013 at 08:06:42PM +1000, David Gibson wrote: On Wed, May 29, 2013 at 12:55:53PM +0300, Michael S. Tsirkin wrote: On Wed, May 29, 2013 at 07:43:41PM +1000, David Gibson wrote: On Thu, May 23, 2013 at 10:16:27PM +1000, David Gibson wrote: On Thu, May 23, 2013 at 02:22:30PM

Re: [Qemu-devel] snabbswitch integration with QEMU for userspace ethernet I/O

2013-05-29 Thread Stefano Stabellini
On Tue, 28 May 2013, Anthony Liguori wrote: Michael S. Tsirkin m...@redhat.com writes: On Tue, May 28, 2013 at 12:00:38PM -0500, Anthony Liguori wrote: Julian Stecklina jstec...@os.inf.tu-dresden.de writes: I don't see any compelling reason to do something like this. It's jumping

Re: [Qemu-devel] [PATCH 2/4] qemu-iotests: make cancel_and_wait() common

2013-05-29 Thread Stefan Hajnoczi
On Wed, May 29, 2013 at 11:54:56AM +0200, Kevin Wolf wrote: Am 28.05.2013 um 17:11 hat Stefan Hajnoczi geschrieben: -def cancel_and_wait(self, drive='drive0', wait_ready=True): -'''Cancel a block job and wait for it to finish''' -if wait_ready: -ready =

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread David Gibson
On Wed, May 29, 2013 at 01:17:13PM +0300, Michael S. Tsirkin wrote: On Wed, May 29, 2013 at 08:06:42PM +1000, David Gibson wrote: On Wed, May 29, 2013 at 12:55:53PM +0300, Michael S. Tsirkin wrote: On Wed, May 29, 2013 at 07:43:41PM +1000, David Gibson wrote: On Thu, May 23, 2013 at

Re: [Qemu-devel] [QEMU PATCH v3] qdev: fix get_fw_dev_path to support to add nothing to fw_dev_path

2013-05-29 Thread Laszlo Ersek
On 05/29/13 09:56, Amos Kong wrote: Recent virtio refactoring in QEMU made virtio-bus become the parent bus of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation, typename will be added to fw_dev_path by default, the new fw_dev_path could not be identified by seabios. It

Re: [Qemu-devel] [PATCH v1 4/6] mem: concenter the root of each AddressSpaceDispatch

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 11:24, liu ping fan ha scritto: Implement based on separate AddressSpaceDispatch is broken. We should walk through the ASD chain under the same mem topology. Take the following scenario: (ASD-x is followed by ASD-y) walk through ASD-x under topology-A before walk

[Qemu-devel] [PATCH v2 0/3] Xen related fixes

2013-05-29 Thread Stefano Stabellini
Hi all, I have few simple fixes for Xen for the development tree as well as QEMU 1.5 and older releases: - the first patch is just a cleanup (that is needed to simplify preprocessor dependencies); - the second patch avoids setting nonblocking on Xen (as is already done for KVM); These two

[Qemu-devel] [PULL] VirtFS update

2013-05-29 Thread Aneesh Kumar K.V
The following changes since commit 371386fb60961e0afc02f03c817dff79633e323e: Update version for 1.5.0 release. (2013-05-20 08:20:08 -0500) are available in the git repository at: git://github.com/kvaneesh/qemu.git for-upstream for you to fetch changes up to

[Qemu-devel] [PATCH v2 2/3] main_loop: do not set nonblocking if xen_enabled()

2013-05-29 Thread Stefano Stabellini
Please backport this patch to stable branches. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: qemu-sta...@nongnu.org --- vl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vl.c b/vl.c index 510d2c2..47ab45d 100644 --- a/vl.c +++ b/vl.c @@

[Qemu-devel] [PATCH v3] block: add block driver read only whitelist

2013-05-29 Thread Fam Zheng
We may want to include a driver in the whitelist for read only tasks such as diagnosing or exporting guest data (with libguestfs as a good example). This patch introduces a readonly whitelist option, and for backward compatibility, the old configure option --block-drv-whitelist is now an alias to

[Qemu-devel] [PATCH v2 1/3] xen: simplify xen_enabled

2013-05-29 Thread Stefano Stabellini
No need for preprocessor conditionals in xen_enabled: xen_allowed is always defined. Please backport this patch to stable branches (it is needed by the following patch to remove the dependency on a preprocessor identifier defined by config-target.h). Signed-off-by: Stefano Stabellini

[Qemu-devel] [PATCH v2 3/3] xen_machine_pv: do not create a dummy CPU in machine-init

2013-05-29 Thread Stefano Stabellini
This fixes a regression introduced by: commit 62fc403f11523169eb4264de31279745f48e3ecc Author: Igor Mammedov imamm...@redhat.com Date: Mon Apr 29 18:54:13 2013 +0200 target-i386: Attach ICC bus to CPU on its creation X86CPU should have parent bus so it could provide bus for child

[Qemu-devel] [PATCH 3/3] ide-test: Add FLUSH CACHE test case

2013-05-29 Thread Kevin Wolf
This checks in particular that BSY is set while the flush request is in flight. Signed-off-by: Kevin Wolf kw...@redhat.com --- tests/ide-test.c | 40 1 file changed, 40 insertions(+) diff --git a/tests/ide-test.c b/tests/ide-test.c index 365e995..5744462

Re: [Qemu-devel] [PATCH 2/3] ide: Set BSY bit during FLUSH

2013-05-29 Thread Andreas Färber
Am 29.05.2013 13:34, schrieb Kevin Wolf: From: Andreas Färber afaer...@suse.de The implementation of the ATA FLUSH command invokes a flush at the block layer, which may on raw files on POSIX entail a synchronous fdatasync(). This may in some cases take so long that the SLES 11 SP1 guest

[Qemu-devel] [PATCH 0/3] ide: Set BSY bit during FLUSH

2013-05-29 Thread Kevin Wolf
The test case depends on the qemu-io series I sent yesterday. ([PATCH 00/16] Make qemu-io commands available in the monitor) Andreas Färber (1): ide: Set BSY bit during FLUSH Kevin Wolf (2): blkdebug: Add BLKDBG_FLUSH_TO_OS/DISK events ide-test: Add FLUSH CACHE test case block.c

[Qemu-devel] [PATCH 2/3] ide: Set BSY bit during FLUSH

2013-05-29 Thread Kevin Wolf
From: Andreas Färber afaer...@suse.de The implementation of the ATA FLUSH command invokes a flush at the block layer, which may on raw files on POSIX entail a synchronous fdatasync(). This may in some cases take so long that the SLES 11 SP1 guest driver reports I/O errors and filesystems get

Re: [Qemu-devel] [PATCH v3] block: add block driver read only whitelist

2013-05-29 Thread Kevin Wolf
Am 29.05.2013 um 13:35 hat Fam Zheng geschrieben: We may want to include a driver in the whitelist for read only tasks such as diagnosing or exporting guest data (with libguestfs as a good example). This patch introduces a readonly whitelist option, and for backward compatibility, the old

Re: [Qemu-devel] qemu-1.5.0 savevm error -95 while writing vm with ceph-rbd as storage-backend

2013-05-29 Thread Oliver Francke
Hi, is anybody willing to help me dig into this one? Filed a bug-report, too: https://bugs.launchpad.net/qemu/+bug/1185395 King regards, Oliver. On 05/24/2013 09:46 AM, Oliver Francke wrote: Hi, with a running VM I encounter this strange behaviour, former qemu-versions don't show up such

Re: [Qemu-devel] [PATCH 0/4] qemu-iotests: reduce iotests.py code duplication

2013-05-29 Thread Kevin Wolf
Am 28.05.2013 um 17:11 hat Stefan Hajnoczi geschrieben: Tests 030 and 041 are written in Python and use the iotests.py module. Push common code down into iotests.py. My 'drive-backup' series takes advantage will take advantage of this - kwolf pointed out that earlier revisions were

[Qemu-devel] [PATCH 1/3] blkdebug: Add BLKDBG_FLUSH_TO_OS/DISK events

2013-05-29 Thread Kevin Wolf
Signed-off-by: Kevin Wolf kw...@redhat.com --- block.c | 8 block/blkdebug.c | 3 +++ include/block/block.h | 3 +++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/block.c b/block.c index 3f87489..52a2101 100644 --- a/block.c +++ b/block.c @@ -3307,13

Re: [Qemu-devel] [PATCH v2 3/3] xen_machine_pv: do not create a dummy CPU in machine-init

2013-05-29 Thread Andreas Färber
Am 29.05.2013 13:34, schrieb Stefano Stabellini: This fixes a regression introduced by: commit 62fc403f11523169eb4264de31279745f48e3ecc Author: Igor Mammedov imamm...@redhat.com Date: Mon Apr 29 18:54:13 2013 +0200 target-i386: Attach ICC bus to CPU on its creation X86CPU

[Qemu-devel] [PATCH 1/2] scsi-generic: check the return value of bdrv_aio_ioctl in execute_command

2013-05-29 Thread Pavel Hrdina
This fixes the bug introduced by this commit ad54ae80c73f. The bdrv_aio_ioctl() still could return null and we should return an error in that case. Signed-off-by: Pavel Hrdina phrd...@redhat.com --- hw/scsi/scsi-generic.c | 4 1 file changed, 4 insertions(+) diff --git

Re: [Qemu-devel] [PATCH v3] block: add block driver read only whitelist

2013-05-29 Thread Fam Zheng
On Wed, 05/29 13:56, Kevin Wolf wrote: Am 29.05.2013 um 13:35 hat Fam Zheng geschrieben: We may want to include a driver in the whitelist for read only tasks such as diagnosing or exporting guest data (with libguestfs as a good example). This patch introduces a readonly whitelist option,

[Qemu-devel] [PATCH 0/2] disable the scsi pass-through eject from monitor

2013-05-29 Thread Pavel Hrdina
This series do two things, at first it fixes the bug introduced by Paolo's patch series. The bug is that he accidentally removes the check after the bdrv_aio_ioctl() function which still could return NULL. The second patch fixes the issue that you could eject the scsi pass-through device from the

[Qemu-devel] [PATCH 2/2] scsi-disk: scsi-block device for scsi pass-through should not be removable

2013-05-29 Thread Pavel Hrdina
This patch adds a new SCSI_DISK_F_MONITOR_NOT_REMOVABLE feature. By this feature we can set that the scsi-block (scsi pass-through) device will still be removable from the guest side, but from monitor it cannot be removed. Signed-off-by: Pavel Hrdina phrd...@redhat.com --- hw/scsi/scsi-disk.c |

[Qemu-devel] [Bug 1185395] [NEW] qemu-1.5.0 savevm error -95 while writing vm with ceph-rbd as storage-backend

2013-05-29 Thread Oliver Francke
Public bug reported: With a running VM I encounter this strange behaviour, former qemu-versions don't show up such an error. Perhaps this comes from the rbd-backend in qemu-1.5.0 in combination with ceph-0.56.6? ( -95 might be a general Operation not supported error? ) Up to 1.4.2 everything

Re: [Qemu-devel] [PATCH 16/16] Make qemu-io commands available in the monitor

2013-05-29 Thread Eric Blake
On 05/29/2013 02:13 AM, Kevin Wolf wrote: Am 28.05.2013 um 18:07 hat Eric Blake geschrieben: On 05/28/2013 09:27 AM, Kevin Wolf wrote: The QMP version is flagged with a __org.qemu.debug- prefix in order to reinforce the statement that qemu-io is for testing and debugging only, with no API

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread Michael S. Tsirkin
On Wed, May 29, 2013 at 09:04:00PM +1000, David Gibson wrote: On Wed, May 29, 2013 at 01:17:13PM +0300, Michael S. Tsirkin wrote: On Wed, May 29, 2013 at 08:06:42PM +1000, David Gibson wrote: On Wed, May 29, 2013 at 12:55:53PM +0300, Michael S. Tsirkin wrote: On Wed, May 29, 2013 at

Re: [Qemu-devel] [PATCH 1/2] scsi-generic: check the return value of bdrv_aio_ioctl in execute_command

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 14:12, Pavel Hrdina ha scritto: This fixes the bug introduced by this commit ad54ae80c73f. The bdrv_aio_ioctl() still could return null and we should return an error in that case. Signed-off-by: Pavel Hrdina phrd...@redhat.com --- hw/scsi/scsi-generic.c | 4 1 file

Re: [Qemu-devel] [PATCH 2/2] scsi-disk: scsi-block device for scsi pass-through should not be removable

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 14:12, Pavel Hrdina ha scritto: This patch adds a new SCSI_DISK_F_MONITOR_NOT_REMOVABLE feature. By this feature we can set that the scsi-block (scsi pass-through) device will still be removable from the guest side, but from monitor it cannot be removed. Signed-off-by: Pavel

Re: [Qemu-devel] snabbswitch integration with QEMU for userspace ethernet I/O

2013-05-29 Thread Michael S. Tsirkin
On Wed, May 29, 2013 at 11:31:50AM +0100, Stefano Stabellini wrote: On Tue, 28 May 2013, Anthony Liguori wrote: Michael S. Tsirkin m...@redhat.com writes: On Tue, May 28, 2013 at 12:00:38PM -0500, Anthony Liguori wrote: Julian Stecklina jstec...@os.inf.tu-dresden.de writes:

Re: [Qemu-devel] [PATCH v2 3/3] xen_machine_pv: do not create a dummy CPU in machine-init

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 14:11, Andreas Färber ha scritto: xen_machine_pv uses cpu_x86_init, therefore it has been broken. This patch fixes the problem by removing the dummy CPU creation altogether from xen_init_pv, relying on the fact that QEMU can now cope with a machine without an emulated CPU.

Re: [Qemu-devel] [PATCH 2/2] scsi-disk: scsi-block device for scsi pass-through should not be removable

2013-05-29 Thread Pavel Hrdina
On 29.5.2013 14:24, Paolo Bonzini wrote: Il 29/05/2013 14:12, Pavel Hrdina ha scritto: This patch adds a new SCSI_DISK_F_MONITOR_NOT_REMOVABLE feature. By this feature we can set that the scsi-block (scsi pass-through) device will still be removable from the guest side, but from monitor it

Re: [Qemu-devel] [RFC] reverse execution.

2013-05-29 Thread Pavel Dovgaluk
Hello. Spot on Peter, The (simplistic) plan is simply to take a snapshot at regular intervals, when you want to step backwards, you return to a snapshot, and then re-run forwards to 'just before you started'. To answer Blauwirbel, we can't approximate this - or 'binary search' for the

[Qemu-devel] [Bug 1185311] [NEW] could not hot-remove disabled NIC from Win2012 guest by 'devel_del id1'

2013-05-29 Thread Amos Kong
Public bug reported: # qemu-latest-upstream -mon chardev=qmp,mode=control,pretty=on \ -chardev socket,id=qmp,host=localhost,port=1234,server,nowait -vnc :0 \ -monitor stdio /images/win2012-64-virtio.qcow2 \ -device virtio-net-pci,netdev=ndev1,id=id1 -netdev tap,id=ndev1 \ -device

Re: [Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code

2013-05-29 Thread Bryan Venteicher
On Mon, May 27, 2013 at 6:15 AM, Rusty Russell ru...@rustcorp.com.auwrote: Anthony Liguori anth...@codemonkey.ws writes: Paolo Bonzini pbonz...@redhat.com writes: Il 26/05/2013 22:02, Michael S. Tsirkin ha scritto: My fault. I should have looked at linux/types.h (actually

Re: [Qemu-devel] [PATCH 2/2] scsi-disk: scsi-block device for scsi pass-through should not be removable

2013-05-29 Thread Paolo Bonzini
Il 29/05/2013 14:33, Pavel Hrdina ha scritto: On 29.5.2013 14:24, Paolo Bonzini wrote: Il 29/05/2013 14:12, Pavel Hrdina ha scritto: This patch adds a new SCSI_DISK_F_MONITOR_NOT_REMOVABLE feature. By this feature we can set that the scsi-block (scsi pass-through) device will still be

  1   2   3   >