Re: [Qemu-devel] [PATCH V5 1/7] monitor: avoid direct use of global *cur_mon in completion functions

2013-07-10 Thread Wenchao Xia
于 2013-7-9 22:14, Luiz Capitulino 写道: On Tue, 09 Jul 2013 22:03:42 +0800 Wenchao Xia xiaw...@linux.vnet.ibm.com wrote: You could pass cur_mon to readline_completion() in readline_handle_byte() to avoid all this, but it would be preferable to clarify the matter. This is also another benefit

Re: [Qemu-devel] [PATCH 18/19] target-ppc: Enhance the CPU node labels for the guest device tree for pseries.

2013-07-10 Thread Prerna Saxena
Hi Andreas, Thanks for the response. On 07/08/2013 10:15 PM, Andreas Färber wrote: Hi, Am 08.07.2013 17:49, schrieb Prerna Saxena: On 07/08/2013 02:32 PM, Andreas Färber wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 08.07.2013 03:09, schrieb David Gibson: On Sat, Jul 06, 2013

Re: [Qemu-devel] [PATCH V5 4/7] monitor: avoid direct use of global *info_cmds in help functions

2013-07-10 Thread Wenchao Xia
于 2013-7-8 23:45, Luiz Capitulino 写道: On Sat, 29 Jun 2013 11:52:58 +0800 Wenchao Xia xiaw...@linux.vnet.ibm.com wrote: In help functions info_cmds is treated as sub command group now, not as a special case any more. Still help can't show message for single command under info, since command

Re: [Qemu-devel] [PATCH V5 6/7] monitor: improve help in auto completion for sub command

2013-07-10 Thread Wenchao Xia
于 2013-7-9 0:09, Luiz Capitulino 写道: On Sat, 29 Jun 2013 11:53:00 +0800 Wenchao Xia xiaw...@linux.vnet.ibm.com wrote: Now special case help * in auto completion can work with sub commands, such as help info a*. The auto-completion works, but the command is still refused: (qemu) help info u

Re: [Qemu-devel] [PATCH V5 7/7] monitor: improve help to allow show details of single command in sub group

2013-07-10 Thread Wenchao Xia
于 2013-7-9 0:17, Luiz Capitulino 写道: On Sat, 29 Jun 2013 11:53:01 +0800 Wenchao Xia xiaw...@linux.vnet.ibm.com wrote: A new parameter type 'S' is introduced to allow user input any string. help info block do not tip extra parameter error now. Signed-off-by: Wenchao Xia

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

2013-07-10 Thread Michael S. Tsirkin
On Thu, Jul 04, 2013 at 09:55:42AM +0200, Kevin Wolf wrote: Am 03.07.2013 um 22:02 hat Alex Williamson geschrieben: On Wed, 2013-06-05 at 15:17 +0200, Kevin Wolf wrote: From: Andreas Färber afaer...@suse.de The implementation of the ATA FLUSH command invokes a flush at the block

Re: [Qemu-devel] [PATCH v1 3/4] target-arm/helper.c: Allow const opaques in arm CP

2013-07-10 Thread Peter Maydell
On 10 July 2013 05:22, peter.crosthwa...@xilinx.com wrote: From: Peter Crosthwaite peter.crosthwa...@xilinx.com Allow for defining const opaque data in ARM CP register definitions by setting .opaque = foo. If non null opaque is passes into define_one_arm_cp_reg_with_opaque then that opaque

Re: [Qemu-devel] [PATCH v1 3/4] target-arm/helper.c: Allow const opaques in arm CP

2013-07-10 Thread Peter Crosthwaite
Hi Peter, On Wed, Jul 10, 2013 at 5:32 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 10 July 2013 05:22, peter.crosthwa...@xilinx.com wrote: From: Peter Crosthwaite peter.crosthwa...@xilinx.com Allow for defining const opaque data in ARM CP register definitions by setting .opaque =

Re: [Qemu-devel] [PATCH v1 4/4] target-arm: Add CP15 VBAR support

2013-07-10 Thread Peter Maydell
On 10 July 2013 05:23, peter.crosthwa...@xilinx.com wrote: From: Nathan Rossi nathan.ro...@xilinx.com Added Vector Base Address remapping on ARM v7. This is only present on CPUs with TrustZone. On the other hand we already implement one or two TZ-only registers for pragmatic get-code-working

Re: [Qemu-devel] [Qeustion] USB passthough doesn't work on Windows.

2013-07-10 Thread Hans de Goede
Hi, On 07/08/2013 05:08 PM, Geunhae Lee wrote: hi thanks for you kind answer, admit about lacking of infos haha.. here's my situations. 1. i currently use QEMU ver 1.2, but plan to upgrade to 1.5 soon. 2. in version 1.2, i found that USB passthrough is not supported on Windows/Mac. In

Re: [Qemu-devel] [PATCH arm-devs v1 1/2] hw/timer: Introduce ARM A9 Global Timer.

2013-07-10 Thread Peter Maydell
On 10 July 2013 06:08, peter.crosthwa...@xilinx.com wrote: From: Peter Crosthwaite peter.crosthwa...@xilinx.com The ARM A9 MPCore has a timer that is global to all CPUs in the mpcore. The timer is shared but each CPU has a private independent comparator and interrupt. Original version

Re: [Qemu-devel] [PATCH] Make -kernel flag optional on ARM.

2013-07-10 Thread Peter Maydell
On 10 July 2013 08:33, Grant Likely grant.lik...@linaro.org wrote: Sometimes we want to boot the system via firmware instead of loading a kernel into ram with the -kernel parameter. This patch makes the -kernel parameter optional so that a bios image provided by the -pflash flag will be

Re: [Qemu-devel] [PATCH 04/17] target-ppc: Convert ppc cpu savevm to VMStateDescription

2013-07-10 Thread David Gibson
On Wed, Jul 10, 2013 at 01:31:24PM +1000, Benjamin Herrenschmidt wrote: On Wed, 2013-07-10 at 01:11 +1000, David Gibson wrote: More precisely, DCRs are only needed on the BookE CPUs which have them. They can be added later without breaking compatibility, and would be best added by

Re: [Qemu-devel] [PATCH 08/17] pseries: savevm support for PAPR TCE tables

2013-07-10 Thread David Gibson
On Tue, Jul 09, 2013 at 10:22:39AM -0500, Anthony Liguori wrote: David Gibson da...@gibson.dropbear.id.au writes: On Mon, Jul 08, 2013 at 01:39:26PM -0500, Anthony Liguori wrote: Alexey Kardashevskiy a...@ozlabs.ru writes: From: David Gibson da...@gibson.dropbear.id.au This

Re: [Qemu-devel] [PATCH 14/17] pseries: Support for in-kernel XICS interrupt controller

2013-07-10 Thread David Gibson
On Wed, Jul 10, 2013 at 01:24:39PM +1000, Benjamin Herrenschmidt wrote: On Tue, 2013-07-09 at 17:21 +1000, David Gibson wrote: Did you mean missing typedef? I think he means the kernel_style_struct_name instead of the QemuStyleStudlyCapsStructName. Looks like we missed the mandatory

Re: [Qemu-devel] [PATCHv2] block: add the optional file entry to query-block

2013-07-10 Thread Kevin Wolf
Am 05.07.2013 um 16:28 hat Federico Simoncelli geschrieben: This patch adds the optional file entry to the query-block output. The value is a json-object representing the information about the underlying file or device (when present). Signed-off-by: Federico Simoncelli fsimo...@redhat.com

Re: [Qemu-devel] [PATCH arm-devs v1 1/2] hw/timer: Introduce ARM A9 Global Timer.

2013-07-10 Thread Andreas Färber
Am 10.07.2013 09:41, schrieb Peter Maydell: On 10 July 2013 06:08, peter.crosthwa...@xilinx.com wrote: From: Peter Crosthwaite peter.crosthwa...@xilinx.com The ARM A9 MPCore has a timer that is global to all CPUs in the mpcore. The timer is shared but each CPU has a private independent

Re: [Qemu-devel] [PATCH v2 0/3] Remove legacy sysfw code

2013-07-10 Thread Markus Armbruster
Paolo Bonzini pbonz...@redhat.com writes: The sysfw code to choose between ROM and flash BIOS was a bad idea, because it triggered different behavior between TCG and KVM. We deleted the behavior in 1.5, but we left the code around because it was close to the release. Now it's time to delete

Re: [Qemu-devel] [RFC PATCH v2 1/2] KVM: s390: virtio-ccw: Handle command rejects.

2013-07-10 Thread Christian Borntraeger
On 09/07/13 13:34, Cornelia Huck wrote: A command reject for a ccw may happen if we run on a host not supporting a certain feature. We want to be able to handle this as special case of command failure, so let's split this off from the generic -EIO error code. Signed-off-by: Cornelia Huck

Re: [Qemu-devel] [PATCH 18/19] target-ppc: Enhance the CPU node labels for the guest device tree for pseries.

2013-07-10 Thread Andreas Färber
Am 10.07.2013 08:38, schrieb Prerna Saxena: On 07/08/2013 10:15 PM, Andreas Färber wrote: Am 08.07.2013 17:49, schrieb Prerna Saxena: On 07/08/2013 02:32 PM, Andreas Färber wrote: Am 08.07.2013 03:09, schrieb David Gibson: On Sat, Jul 06, 2013 at 11:54:15PM +1000, Alexey Kardashevskiy wrote:

Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image

2013-07-10 Thread Julio Guerra
2013/7/4 Julio Guerra gu...@julio.in: No conclusion was finally done about the new option proposal to load roms files. It really would be handy. I should rephrase it as: does a patch creating such an option would be welcomed? -- Julio Guerra

Re: [Qemu-devel] [PATCHv2 01/11] iscsi: add logical block provisioning information to iscsilun

2013-07-10 Thread Kevin Wolf
Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: Signed-off-by: Peter Lieven p...@kamp.de Reviewed-by: Paolo Bonzini pbonz...@redhat.com --- block/iscsi.c | 47 +++ 1 file changed, 47 insertions(+) diff --git a/block/iscsi.c

Re: [Qemu-devel] [PATCHv2 02/11] iscsi: read unmap info from block limits vpd page

2013-07-10 Thread Kevin Wolf
Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 80 - 1 file changed, 56 insertions(+), 24 deletions(-) @@ -1175,6 +1187,26 @@ static int iscsi_open(BlockDriverState

Re: [Qemu-devel] [PATCHv2 02/11] iscsi: read unmap info from block limits vpd page

2013-07-10 Thread Kevin Wolf
Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 80 - 1 file changed, 56 insertions(+), 24 deletions(-) diff --git a/block/iscsi.c b/block/iscsi.c index

Re: [Qemu-devel] [PATCHv2 03/11] iscsi: add bdrv_co_is_allocated

2013-07-10 Thread Kevin Wolf
Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: this patch adds a coroutine for .bdrv_co_is_allocated as well as a generic framework that can be used to build coroutines in block/iscsi. Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 123

Re: [Qemu-devel] [PATCH v2] [Bug 1187529] Update bridge mappings for migration/restore

2013-07-10 Thread Michael S. Tsirkin
On Tue, Jul 09, 2013 at 11:40:02AM -0400, dk...@verizon.com wrote: From: Don Koch dk...@verizon.com Fix for LP#1187529: Devices on PCI bridge stop working when live-migrated. Update bridge mappings for all PCI bridge devices in get_pci_config_device(). Signed-off-by: Don Koch

Re: [Qemu-devel] [PATCH] Fix BRDIGE typo.

2013-07-10 Thread Michael S. Tsirkin
On Tue, Jul 09, 2013 at 01:36:05PM -0400, Don Koch wrote: From: Don Koch dk...@verizon.com Fix typo in PCI_CLASS_BRDIGE_PCI_INF_SUB. Signed-off-by: Don Koch dk...@verizon.com Applied, thanks. --- hw/pci-bridge/i82801b11.c | 2 +- include/hw/pci/pci_ids.h | 2 +- 2 files changed, 2

Re: [Qemu-devel] [PATCHv2 04/11] iscsi: add bdrv_co_write_zeroes

2013-07-10 Thread Kevin Wolf
Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: write zeroes is emulated by unmap if the target supports unmapping an unmapped blocks read as zero. this emulation is only done if the device was opened with BDRV_O_UNMAP and the request can be handled within a single request. a failback to

Re: [Qemu-devel] [PATCHv2 05/11] block: add bdrv_write_zeroes()

2013-07-10 Thread Kevin Wolf
Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: Signed-off-by: Peter Lieven p...@kamp.de --- block.c | 27 +++ include/block/block.h |2 ++ 2 files changed, 21 insertions(+), 8 deletions(-) Reviewed-by: Kevin Wolf kw...@redhat.com

Re: [Qemu-devel] [PATCHv2 06/11] block/raw: add bdrv_co_write_zeroes

2013-07-10 Thread Kevin Wolf
Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: Signed-off-by: Peter Lieven p...@kamp.de --- block/raw.c |8 1 file changed, 8 insertions(+) Reviewed-by: Kevin Wolf kw...@redhat.com

[Qemu-devel] [PATCH] Make -kernel flag optional on ARM.

2013-07-10 Thread Grant Likely
Sometimes we want to boot the system via firmware instead of loading a kernel into ram with the -kernel parameter. This patch makes the -kernel parameter optional so that a bios image provided by the -pflash flag will be executed. For example: qemu-system-arm -M vexpress-a15 -pflash filename

Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] Mac OS X on QEMU

2013-07-10 Thread Tarl Neustaedter
On 2013-Jul-9 23:36 , Programmingkid wrote: I don't think so. The command key is equal to 0x37. The windows key is equal to 0x5B. This is my source:http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx Err, no. USB keyboards generate standard codes for keypresses,

[Qemu-devel] [PATCH v2] Make -kernel flag optional on ARM.

2013-07-10 Thread Grant Likely
Sometimes we want to boot the system via firmware instead of loading a kernel into ram with the -kernel parameter. This patch makes the -kernel parameter optional so that a bios image provided by the -pflash flag will be executed. For example: qemu-system-arm -M vexpress-a15 -pflash filename

Re: [Qemu-devel] [PATCH] Make -kernel flag optional on ARM.

2013-07-10 Thread Grant Likely
On Wed, Jul 10, 2013 at 8:44 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 10 July 2013 08:33, Grant Likely grant.lik...@linaro.org wrote: Sometimes we want to boot the system via firmware instead of loading a kernel into ram with the -kernel parameter. This patch makes the -kernel

Re: [Qemu-devel] [PATCH v5 10/14] pc: Add dimm paravirt SRAT info

2013-07-10 Thread Michael S. Tsirkin
On Wed, Jun 26, 2013 at 05:13:33PM +0800, Hu Tao wrote: The numa_fw_cfg paravirt interface is extended to include SRAT information for all hotplug-able dimms. There are 3 words for each hotplug-able memory slot, denoting start address, size and node proximity. The new info is appended after

Re: [Qemu-devel] [PATCHv2 07/11] iscsi: let bdrv_create conditionally zero out the device

2013-07-10 Thread Kevin Wolf
Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: if the device supports unmapping and unmapped blocks read as zero ensure that the whole device is unmapped and report .has_zero_init = 1 in this case to speed up qemu-img convert. Signed-off-by: Peter Lieven p...@kamp.de ---

[Qemu-devel] [PATCH 5/7] user-exec.c: Set is_write correctly in the ARM cpu_signal_handler()

2013-07-10 Thread riku . voipio
From: Peter Maydell peter.mayd...@linaro.org In the ARM implementation of cpu_signal_handler(), set is_write correctly using the FSR value which the kernel passes us in the error_code field of uc_mcontext. Since the WnR bit of the FSR was only introduced in ARMv6, this means that v5 cores will

[Qemu-devel] [PATCH 2/7] linux-user: add SIOCADDRT/SIOCDELRT support

2013-07-10 Thread riku . voipio
From: Laurent Vivier laur...@vivier.eu This allows to pass the device name. You can test this with the route command. WITHOUT this patch: $ sudo route add -net default gw 10.0.3.1 eth0 SIOCADDRT: Bad address $ netstat -nr Kernel IP routing table Destination Gateway Genmask

[Qemu-devel] [PULL] linux-user fixes

2013-07-10 Thread riku . voipio
From: Riku Voipio riku.voi...@linaro.org The following patchset has been gathered by Peter Maydell, Thanks! The following changes since commit ab8bf29078e0ab8347e2ff8b4e5542f7a0c751cf: Merge remote-tracking branch 'qemu-kvm/uq/master' into staging (2013-07-03 08:37:00 -0500) are available

[Qemu-devel] [PATCH 4/7] linux-user: Fix sys_utimensat (would not compile on old glibc)

2013-07-10 Thread riku . voipio
From: Peter Maydell peter.mayd...@linaro.org Commit c0d472b12e accidentally dropped the definition of __NR_SYS_utimensat even though its use is guarded by CONFIG_UTIMENSAT, not CONFIG_ATFILE. Some older glibc don't have utimensat() (even if they have the other *at() functions). Fix this by

[Qemu-devel] [PATCH 1/7] linux-user: handle /proc/$$ like /proc/self

2013-07-10 Thread riku . voipio
From: Andreas Schwab sch...@suse.de Some applications use /proc/$$/... (where $$ is the own pid) instead of /proc/self/... to refer to their own proc files. Extend the interception for open and readlink to handle this case. Also, do the same interception in readlinkat. Signed-off-by: Andreas

[Qemu-devel] [PATCH 3/7] linux-user: fix signal number range check

2013-07-10 Thread riku . voipio
From: Andreas Schwab sch...@linux-m68k.org When translating between host and target signal numbers keep negative numbers unchanged, avoiding access beyond array bounds. Signed-off-by: Andreas Schwab sch...@linux-m68k.org Reviewed-by: Peter Maydell peter.mayd...@linaro.org Message-id:

Re: [Qemu-devel] VFIO and scheduled SR-IOV cards

2013-07-10 Thread Michael S. Tsirkin
On Tue, Jun 04, 2013 at 05:50:30PM +0200, Benoît Canet wrote: Hello, More informations on how the hardware works. -Each VF will have its own memory and MMR, etc. That means the resources are not shared. -Each VF will have its own bus number, function number and device number. That

[Qemu-devel] [PATCH 7/7] linux-user: Do not ignore mmap failure from host

2013-07-10 Thread riku . voipio
From: Jürg Billeter j...@bitron.ch File mapping may fail with EACCES. Signed-off-by: Jürg Billeter j...@bitron.ch Message-id: 1372498892-23676-1-git-send-emai...@bitron.ch Reviewed-by: Peter Maydell peter.mayd...@linaro.org --- linux-user/mmap.c | 4 1 file changed, 4 insertions(+) diff

[Qemu-devel] [PATCH 6/7] linux-user: improve target_to_host_sock_type conversion

2013-07-10 Thread riku . voipio
From: Petar Jovanovic petar.jovano...@imgtec.com Previous implementation has failed to take into account different value of SOCK_NONBLOCK on target and host, and existence of SOCK_CLOEXEC. The same conversion has to be applied both for do_socket and do_socketpair, so the code has been isolated in

Re: [Qemu-devel] [PATCH V2 1/5] Refine and export infinite loop checking in collect_image_info_list()

2013-07-10 Thread Fam Zheng
On Mon, 07/08 03:26, Xu Wang wrote: Signed-off-by: Xu Wang cngesa...@gmail.com --- block.c | 101 ++ include/block/block.h | 4 ++ qemu-img.c| 30 +-- 3 files changed, 114 insertions(+), 21

Re: [Qemu-devel] [PATCH v4] s390: Implement dump-guest-memory support for target s390x

2013-07-10 Thread Christian Borntraeger
On 05/07/13 14:02, Jens Freimann wrote: With this patch dump-guest-memory on s390 produces an ELF formatted, crash-readable dump. In order to implement this, the arch-specific part of dump-guest-memory was added: target-s390x/arch_dump.c contains the whole set of function for writing Elf

Re: [Qemu-devel] [PATCH v4] s390: Implement dump-guest-memory support for target s390x

2013-07-10 Thread Alexander Graf
On 10.07.2013, at 12:27, Christian Borntraeger wrote: On 05/07/13 14:02, Jens Freimann wrote: With this patch dump-guest-memory on s390 produces an ELF formatted, crash-readable dump. In order to implement this, the arch-specific part of dump-guest-memory was added:

Re: [Qemu-devel] [PATCH V2 2/5] Add WIN32 platform support for backing_file_loop_check()

2013-07-10 Thread Fam Zheng
On Mon, 07/08 03:26, Xu Wang wrote: Signed-off-by: Xu Wang cngesa...@gmail.com --- block.c | 94 + 1 file changed, 94 insertions(+) diff --git a/block.c b/block.c index 53b1a01..8dc6ded 100644 --- a/block.c +++ b/block.c

Re: [Qemu-devel] [PATCH V2 1/5] Refine and export infinite loop checking in collect_image_info_list()

2013-07-10 Thread Fam Zheng
On Wed, 07/10 18:25, Fam Zheng wrote: + +if (backing_file) { +/* Check if file exists. */ +if (access(filename, F_OK)) { +inode = -1; +} else { +if (stat(filename, sbuf) == -1) { +error_report(Get file %s stat

Re: [Qemu-devel] [PATCH V2 3/5] Check infinite loop in bdrv_img_create()

2013-07-10 Thread Fam Zheng
On Mon, 07/08 03:26, Xu Wang wrote: Signed-off-by: Xu Wang cngesa...@gmail.com --- block.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/block.c b/block.c index 8dc6ded..6df25d9 100644 --- a/block.c +++ b/block.c @@ -4688,15 +4688,15 @@ void

Re: [Qemu-devel] [PATCH 0/8] Add virtio-mmio and use it in vexpress

2013-07-10 Thread Alexander Graf
On 08.07.2013, at 23:06, Anthony Liguori wrote: Alexander Graf ag...@suse.de writes: On 08.07.2013, at 22:08, Anthony Liguori wrote: I think we're trying to fit a square peg into a round hole. virtio-mmio is a virtio transport where each device has a dedicated set of system resources.

Re: [Qemu-devel] [PATCH V2 4/5] Add backing file loop check in change_backing_file()

2013-07-10 Thread Fam Zheng
On Mon, 07/08 03:26, Xu Wang wrote: Signed-off-by: Xu Wang cngesa...@gmail.com --- block.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/block.c b/block.c index 6df25d9..379b79b 100644 --- a/block.c +++ b/block.c @@ -1971,6 +1971,12 @@ int

Re: [Qemu-devel] [PATCH V2 5/5] Add infinite loop check in drive_init()

2013-07-10 Thread Fam Zheng
On Mon, 07/08 03:26, Xu Wang wrote: Signed-off-by: Xu Wang cngesa...@gmail.com --- blockdev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/blockdev.c b/blockdev.c index 5975dde..0178764 100644 --- a/blockdev.c +++ b/blockdev.c @@ -695,6 +695,11 @@ DriveInfo

Re: [Qemu-devel] [PATCH V2 0/5] Add infinite loop check for backing file chain

2013-07-10 Thread Fam Zheng
On Mon, 07/08 03:26, Xu Wang wrote: Updates: 1. Changed infinite loop check in collect_image_info_list() from filename checking to inode checking. 2. Absolute or relative path is OK for filename path. 3. Hard and soft link are works well. 4. Added WIN32 platform support

Re: [Qemu-devel] [PATCH 16/17] ppc64: Enable QEMU to run on POWER 8 DD1 chip.

2013-07-10 Thread Alexander Graf
On 04.07.2013, at 08:42, Prerna Saxena wrote: Hi Andreas, Thank you for taking a look. I have incorporated your feedback into a new patch, attached herewith. Regards, Prerna Subject: [PATCH] target-ppc: Add POWER8 v1.0 CPU model This patch adds CPU PVR definition for POWER8, and

Re: [Qemu-devel] [PATCHv2 10/11] iscsi: ignore aio_discard if unsupported

2013-07-10 Thread Kevin Wolf
Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: if the target does not support UNMAP or the request is too big silently ignore the discard request. Signed-off-by: Peter Lieven p...@kamp.de Why not loop for the too big case? You can probably use the same logic for unmapping the whole

Re: [Qemu-devel] [PATCHv2 09/11] iscsi: factor out sector conversions

2013-07-10 Thread Kevin Wolf
Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) A bit confusing that you add only one function (because the other one is already there), but convert

Re: [Qemu-devel] [PATCHv2 11/11] iscsi: assert that sectors are aligned to LUN blocksize

2013-07-10 Thread Kevin Wolf
Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: if the blocksize of an iSCSI LUN is bigger than the BDRV_SECTOR_SIZE it is possible that sector_num or nb_sectors are not correctly alligned. to avoid corruption we fail requests which are misaligned. Signed-off-by: Peter Lieven

Re: [Qemu-devel] [PATCH V2 0/5] Add infinite loop check for backing file chain

2013-07-10 Thread Kevin Wolf
Am 10.07.2013 um 13:13 hat Fam Zheng geschrieben: On Mon, 07/08 03:26, Xu Wang wrote: Updates: 1. Changed infinite loop check in collect_image_info_list() from filename checking to inode checking. 2. Absolute or relative path is OK for filename path. 3. Hard and soft link are

Re: [Qemu-devel] [PATCH 02/17] pseries: rework XICS

2013-07-10 Thread Anthony Liguori
Benjamin Herrenschmidt b...@kernel.crashing.org writes: On Tue, 2013-07-09 at 08:58 -0500, Anthony Liguori wrote: There's nothing gross about making the things that are devices devices. But there is no such thing as the XICS ... The XICS is just the combination of ICP's and ICS... so XICS

Re: [Qemu-devel] [PATCH v4] s390: Implement dump-guest-memory support for target s390x

2013-07-10 Thread Andreas Färber
Am 10.07.2013 12:37, schrieb Alexander Graf: On 10.07.2013, at 12:27, Christian Borntraeger wrote: On 05/07/13 14:02, Jens Freimann wrote: With this patch dump-guest-memory on s390 produces an ELF formatted, crash-readable dump. In order to implement this, the arch-specific part of

Re: [Qemu-devel] [PATCH v2 0/2] block: add drive_backup HMP command

2013-07-10 Thread Kevin Wolf
Am 26.06.2013 um 14:11 hat Stefan Hajnoczi geschrieben: These patches add the sync mode argument to drive-backup (just like drive-mirror) and then introduce the drive_backup HMP command. It's necessary to add the sync mode argument although only the 'full' is supported, since the

Re: [Qemu-devel] [PATCH v4] s390: Implement dump-guest-memory support for target s390x

2013-07-10 Thread Alexander Graf
On 10.07.2013, at 14:15, Andreas Färber wrote: Am 10.07.2013 12:37, schrieb Alexander Graf: On 10.07.2013, at 12:27, Christian Borntraeger wrote: On 05/07/13 14:02, Jens Freimann wrote: With this patch dump-guest-memory on s390 produces an ELF formatted, crash-readable dump. In order to

Re: [Qemu-devel] [PATCH V4 2/9] snapshot: add paired functions for internal snapshot id and name

2013-07-10 Thread Kevin Wolf
Am 08.07.2013 um 10:00 hat Wenchao Xia geschrieben: Internal snapshot's ID and name concept are both visible in general block level, they are observed by user in info snapshots, so it is possible to have conflict. Although we can separate the two concept in programming, but if they can be

[Qemu-devel] Bugs filed in the week for Upstream Qemu and Libvirt

2013-07-10 Thread chandrashekar shastri
Hi, Below are bugs filed in this week for Upstream qemu and libvirt: Qemu in Launchpad: https://bugs.launchpad.net/opensuse/+bug/1199416 Hot-add qcow2 [virtio-scsi] devices doesn't work in SlLES-11-SP2guest Libvirt Bugs: Bug 982224 - Attaching of the Virtio-scsi [qcow2] drives fails with

Re: [Qemu-devel] [libvirt] Bugs filed in the week for Upstream Qemu and Libvirt

2013-07-10 Thread Daniel P. Berrange
On Wed, Jul 10, 2013 at 06:45:08PM +0530, chandrashekar shastri wrote: Hi, Below are bugs filed in this week for Upstream qemu and libvirt: Qemu in Launchpad: https://bugs.launchpad.net/opensuse/+bug/1199416 Hot-add qcow2 [virtio-scsi] devices doesn't work in SlLES-11-SP2guest

[Qemu-devel] [PATCH v5] s390: Implement dump-guest-memory support for target s390x

2013-07-10 Thread Jens Freimann
With this patch dump-guest-memory on s390 produces an ELF formatted, crash-readable dump. In order to implement this, the arch-specific part of dump-guest-memory was added: target-s390x/arch_dump.c contains the whole set of function for writing Elf note sections of all types for s390x.

Re: [Qemu-devel] [PATCH v5] s390: Implement dump-guest-memory support for target s390x

2013-07-10 Thread Andreas Färber
Am 10.07.2013 15:26, schrieb Jens Freimann: With this patch dump-guest-memory on s390 produces an ELF formatted, crash-readable dump. In order to implement this, the arch-specific part of dump-guest-memory was added: target-s390x/arch_dump.c contains the whole set of function for writing Elf

Re: [Qemu-devel] [Qeustion] USB passthough doesn't work on Windows.

2013-07-10 Thread Geunhae Lee
thank you for kind reply i personally tried to test QEMU on Windows with libusb feature (--enable-libusb) but, figured out qemu/hw/usb/host-libusb.c is linux-dependent . - because. it includes poll.h which is not compatible. by the way, libusb has some OS-specific (porting) codes in it . any

Re: [Qemu-devel] [RFC] Undeterministic behaviour with icount.

2013-07-10 Thread Paolo Bonzini
Il 08/07/2013 19:32, Frederic Konrad ha scritto: Hi everybody, We get some issues with reverse execution caused by indeterminism. Something catched our attention: static void icount_warp_rt(void *opaque), cpus.c:276 We have the feeling that icount is synchronized with rt_clock, is that

Re: [Qemu-devel] [PATCH 0/4] alpha-softmmu fixes

2013-07-10 Thread Richard Henderson
On 07/09/2013 10:43 AM, Rob Landley wrote: Do you have a kernel .config that boots on this board? I'd really like to try this out myself... I haven't worked on this in quite some time. But I've located two branches that look like they might be the code corresponding to my image. Try

Re: [Qemu-devel] [PATCHv2 03/11] iscsi: add bdrv_co_is_allocated

2013-07-10 Thread Peter Lieven
Am 10.07.2013 11:41, schrieb Kevin Wolf: Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: this patch adds a coroutine for .bdrv_co_is_allocated as well as a generic framework that can be used to build coroutines in block/iscsi. Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c

[Qemu-devel] [PATCH v2 repost 1/9] hw/i386/pc.c: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/apic.h

2013-07-10 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Laszlo Ersek ler...@redhat.com Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/i386/pc.c | 2 -- include/hw/i386/apic.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/i386/pc.c

[Qemu-devel] [PATCH v2 repost 5/9] i386: add bios linker/loader

2013-07-10 Thread Michael S. Tsirkin
This add a dynamic bios linker/loader. This will be used by acpi table generation code to: - load each table in the appropriate memory egment - link tables to each other - fix up checksums after said linking Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/i386/Makefile.objs

[Qemu-devel] [PATCH v2 repost 0/9] qemu: generate acpi tables for the guest

2013-07-10 Thread Michael S. Tsirkin
This is just a repost to make sure it is actually testable for people - my previous post missed some patches. Sorry about the noise. I am still making changes to address Anthony's comments, reposting now so that people working on patches that depend on this infrastructure can make progress. This

[Qemu-devel] [PATCH v2 repost 7/9] loader: allow adding ROMs in done callbacks

2013-07-10 Thread Michael S. Tsirkin
Don't abort if machine done callbacks add ROMs. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/core/loader.c| 6 +- include/hw/loader.h | 1 + vl.c| 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/hw/core/loader.c b/hw/core/loader.c index

Re: [Qemu-devel] [PATCHv2 07/11] iscsi: let bdrv_create conditionally zero out the device

2013-07-10 Thread Peter Lieven
Am 10.07.2013 12:14, schrieb Kevin Wolf: Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: if the device supports unmapping and unmapped blocks read as zero ensure that the whole device is unmapped and report .has_zero_init = 1 in this case to speed up qemu-img convert. Signed-off-by:

[Qemu-devel] [PATCH v2 repost 3/9] acpi: add rules to compile ASL source

2013-07-10 Thread Michael S. Tsirkin
Detect presence of IASL compiler and use it to process ASL source. If not there, use pre-compiled files in-tree. Add script to update the in-tree files. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- configure | 9 - hw/i386/Makefile.objs | 22 ++

[Qemu-devel] [PATCH v2 repost 9/9] i386: ACPI table generation code from seabios

2013-07-10 Thread Michael S. Tsirkin
This adds C code for generating ACPI tables at runtime, imported from seabios git tree commit 51684b7ced75fb76776e8ee84833fcfb6ecf12dd Although ACPI tables come from a system BIOS on real hw, it makes sense that the ACPI tables are coupled with the virtual machine, since they have to abstract

[Qemu-devel] [PATCH v2 repost 6/9] loader: support for unmapped ROM blobs

2013-07-10 Thread Michael S. Tsirkin
Support ROM blobs not mapped into guest memory: let user pass in MR for memory serving as the backing store. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/core/loader.c | 32 +--- hw/lm32/lm32_hwsetup.h | 2 +- include/hw/loader.h| 4 ++-- 3

[Qemu-devel] [PATCH v2 repost 8/9] i386: generate pc guest info

2013-07-10 Thread Michael S. Tsirkin
This fills in guest info table with misc information of interest to the guest. Will be used by ACPI table generation code. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/acpi/ich9.c | 7 ++- hw/acpi/piix4.c| 44 +++-

[Qemu-devel] [PATCH] block: Don't parse protocol from file.filename

2013-07-10 Thread Kevin Wolf
One of the major reasons for doing something new for -blockdev and blockdev-add was that the old block layer code parses filenames instead of just taking them literally. So we should really leave it untouched when it's passing using the new interfaces (like -drive file.filename=...). This allows

Re: [Qemu-devel] [PATCH V4 2/9] snapshot: add paired functions for internal snapshot id and name

2013-07-10 Thread Wenchao Xia
于 2013-7-10 21:10, Kevin Wolf 写道: Am 08.07.2013 um 10:00 hat Wenchao Xia geschrieben: Internal snapshot's ID and name concept are both visible in general block level, they are observed by user in info snapshots, so it is possible to have conflict. Although we can separate the two concept in

[Qemu-devel] KVM call agenda for 2013-07-16

2013-07-10 Thread Juan Quintela
Hi Please, send any topic that you are interested in covering. Thanks, Juan. PD. If you want to attend and you don't have the call details, contact me.

Re: [Qemu-devel] [PATCHv2 11/11] iscsi: assert that sectors are aligned to LUN blocksize

2013-07-10 Thread Peter Lieven
Am 10.07.2013 13:38, schrieb Kevin Wolf: Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: if the blocksize of an iSCSI LUN is bigger than the BDRV_SECTOR_SIZE it is possible that sector_num or nb_sectors are not correctly alligned. to avoid corruption we fail requests which are

Re: [Qemu-devel] [PATCHv2 10/11] iscsi: ignore aio_discard if unsupported

2013-07-10 Thread Peter Lieven
Am 10.07.2013 13:33, schrieb Kevin Wolf: Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: if the target does not support UNMAP or the request is too big silently ignore the discard request. Signed-off-by: Peter Lieven p...@kamp.de Why not loop for the too big case? You can probably use

Re: [Qemu-devel] [PATCH arm-devs v1 1/2] hw/timer: Introduce ARM A9 Global Timer.

2013-07-10 Thread Peter Crosthwaite
Hi Andreas, On Wed, Jul 10, 2013 at 6:25 PM, Andreas Färber afaer...@suse.de wrote: Am 10.07.2013 09:41, schrieb Peter Maydell: On 10 July 2013 06:08, peter.crosthwa...@xilinx.com wrote: From: Peter Crosthwaite peter.crosthwa...@xilinx.com The ARM A9 MPCore has a timer that is global to all

Re: [Qemu-devel] [PATCHv2 09/11] iscsi: factor out sector conversions

2013-07-10 Thread Peter Lieven
Am 10.07.2013 13:29, schrieb Kevin Wolf: Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: Signed-off-by: Peter Lieven p...@kamp.de --- block/iscsi.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) A bit confusing that you add only one function (because the

Re: [Qemu-devel] PVFS2 Block Driver Support

2013-07-10 Thread Timothy Scott
Stefan, Any pointers on likely culprits here? I pass all 15/15 tests that actually run when I just run './check -pvfs2' When running './check -pvfs2 -qcow2' I fail 39 of 44 tests. These seem to be the most common errors: +IOError: [Errno 2] No such file or directory:

Re: [Qemu-devel] [PULL v4 00/18] pci,misc enhancements

2013-07-10 Thread Stefano Stabellini
On Sun, 7 Jul 2013, Michael S. Tsirkin wrote: From: Michael S. Tsirkin m...@redhat.com Changes from v3: - fix up xen build Changes from v2: - rebased to origin/master - fixed up botched posting The following changes since commit ab8bf29078e0ab8347e2ff8b4e5542f7a0c751cf:

Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] Mac OS X on QEMU

2013-07-10 Thread Programmingkid
On Jul 10, 2013, at 12:10 AM, Tarl Neustaedter wrote: On 2013-Jul-9 23:36 , Programmingkid wrote: I don't think so. The command key is equal to 0x37. The windows key is equal to 0x5B. This is my source:http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx Err,

Re: [Qemu-devel] [PULL v4 00/18] pci,misc enhancements

2013-07-10 Thread Michael S. Tsirkin
On Wed, Jul 10, 2013 at 03:11:27PM +0100, Stefano Stabellini wrote: On Sun, 7 Jul 2013, Michael S. Tsirkin wrote: From: Michael S. Tsirkin m...@redhat.com Changes from v3: - fix up xen build Changes from v2: - rebased to origin/master - fixed up botched posting

Re: [Qemu-devel] [PATCH V4 2/9] snapshot: add paired functions for internal snapshot id and name

2013-07-10 Thread Kevin Wolf
Am 10.07.2013 um 15:54 hat Wenchao Xia geschrieben: 于 2013-7-10 21:10, Kevin Wolf 写道: Am 08.07.2013 um 10:00 hat Wenchao Xia geschrieben: Internal snapshot's ID and name concept are both visible in general block level, they are observed by user in info snapshots, so it is possible to have

Re: [Qemu-devel] [PATCHv2 10/11] iscsi: ignore aio_discard if unsupported

2013-07-10 Thread Kevin Wolf
Am 10.07.2013 um 16:04 hat Peter Lieven geschrieben: Am 10.07.2013 13:33, schrieb Kevin Wolf: Am 27.06.2013 um 15:11 hat Peter Lieven geschrieben: if the target does not support UNMAP or the request is too big silently ignore the discard request. Signed-off-by: Peter Lieven p...@kamp.de

Re: [Qemu-devel] [PULL v4 00/18] pci,misc enhancements

2013-07-10 Thread Stefano Stabellini
On Wed, 10 Jul 2013, Michael S. Tsirkin wrote: On Wed, Jul 10, 2013 at 03:11:27PM +0100, Stefano Stabellini wrote: On Sun, 7 Jul 2013, Michael S. Tsirkin wrote: From: Michael S. Tsirkin m...@redhat.com Changes from v3: - fix up xen build Changes from v2: - rebased

Re: [Qemu-devel] [PATCH] seccomp: add the asynchronous I/O syscalls to the whitelist

2013-07-10 Thread Paul Moore
On Wednesday, May 29, 2013 04:30:01 PM Paul Moore wrote: In order to enable the asynchronous I/O functionality when using the seccomp sandbox we need to add the associated syscalls to the whitelist. Signed-off-by: Paul Moore pmo...@redhat.com --- qemu-seccomp.c |5 - 1 file

Re: [Qemu-devel] [PATCH v2 1/2] blockdev: add sync mode to drive-backup QMP command

2013-07-10 Thread Eric Blake
On 06/26/2013 06:11 AM, Stefan Hajnoczi wrote: The drive-backup command is similar to the drive-mirror command, except no guest data written after the command executes gets copied. Add a sync mode argument which determines whether the entire disk is copied, just allocated clusters, or only

Re: [Qemu-devel] PVFS2 Block Driver Support

2013-07-10 Thread Kevin Wolf
Am 10.07.2013 um 16:08 hat Timothy Scott geschrieben: Stefan,  Any pointers on likely culprits here? I pass all 15/15 tests that actually run when I just run './check -pvfs2' When running './check -pvfs2 -qcow2' I fail 39 of 44 tests.  These seem to be the most common errors: +IOError:

[Qemu-devel] [PULL 01/43] target-openrisc: Fix typename in openrisc_cpu_class_by_name()

2013-07-10 Thread Andreas Färber
From: Dongxue Zhang elta@gmail.com Commit 478032a93d908e59085c1ac56f10979942e7dc4f (target-openrisc: Rename CPU subtypes) suffixed CPU sub-types with -or32-cpu but forgot to update openrisc_cpu_class_by_name(), so that it was still looking for the types without suffix. Make target-openrisc

  1   2   3   >