Re: [Qemu-devel] [PATCH] dma/rc4030: do multiple calls to address_space_rw when doing DMA transfers

2015-06-17 Thread Hervé Poussineau
Le 17/06/2015 19:09, Paolo Bonzini a écrit : On 17/06/2015 10:33, Paolo Bonzini wrote: On 16/06/2015 19:48, Aurelien Jarno wrote: The code assumes that if you don't have an IOMMU, the address range in the underlying memory region is linear. I think this is exactly what Peter Crosthwaite's

Re: [Qemu-devel] [PATCH 02/11] runstate: migration allows more transitions now

2015-06-17 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: Next commit would allow to move from incoming migration to error happening on source. Should we add more states to this transition? Luiz? Signed-off-by: Juan Quintela quint...@redhat.com Reviewed-by: Dr. David Alan Gilbert dgilb...@redhat.com

Re: [Qemu-devel] [PATCH] dma/rc4030: do multiple calls to address_space_rw when doing DMA transfers

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 20:31, Hervé Poussineau wrote: Sure. It works well for my test case. Thanks Paolo! However, it breaks PC machines. mtree gives: 0cf8-0cfb (prio 0, RW): pci-conf-idx 0cf9-0cf9 (prio 1, RW): piix3-reset-control make

Re: [Qemu-devel] [PATCH 1/2] Constify some variable

2015-06-17 Thread Michael Tokarev
11.06.2015 16:17, Frediano Ziglio wrote: Signed-off-by: Frediano Ziglio fzig...@redhat.com --- hw/display/qxl-logger.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hw/display/qxl-logger.c b/hw/display/qxl-logger.c index c900c2c..d944d3f 100644 ---

Re: [Qemu-devel] [PATCH v6 7/7] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 03:28:44PM -0400, Kevin O'Connor wrote: On Wed, Jun 17, 2015 at 09:15:24PM +0200, Laszlo Ersek wrote: On 06/17/15 20:54, Michael S. Tsirkin wrote: Right. But what I was discussing is a different issue. The point is that it does not make sense to have /pci@i0cf8

[Qemu-devel] [PULL 03/10] virtio: introduce virtio_legacy_is_cross_endian()

2015-06-17 Thread Michael S. Tsirkin
From: Greg Kurz gk...@linux.vnet.ibm.com This helper will be used by vhost and tap to detect cross-endianness in the legacy virtio case. Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com Reviewed-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Michael S. Tsirkin m...@redhat.com ---

[Qemu-devel] [PULL 01/10] vhost-user: part of virtio

2015-06-17 Thread Michael S. Tsirkin
vhost user is related to virtio, add it to the relevant entry. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0463696..7a13d68 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -694,6 +694,7 @@

[Qemu-devel] [PULL 00/10] virtio, pci fixes, enhancements

2015-06-17 Thread Michael S. Tsirkin
OK things seem to be calming down nicely. Here's to an uneventful 2.4! The following changes since commit 4ebc736e9938a7e88ecc785734b17145bf802a56: i386/acpi-build: fix PXB workarounds for unsupported BIOSes (2015-06-11 12:40:30 +0200) are available in the git repository at:

[Qemu-devel] [PULL 10/10] vhost: enable vhost without without MSI-X

2015-06-17 Thread Michael S. Tsirkin
From: Pankaj Gupta pagu...@redhat.com We use vhostforce to enable vhost even if Guests don't have MSI-X support and we fall back to QEMU virtio-net. This gives a very small performance gain, but the disadvantage is that guest now controls which virtio code is running (qemu or vhost) so our

[Qemu-devel] [Bug 1463172] Re: destination arm board hangs after migration from x86 source

2015-06-17 Thread Chang
Sorry, I forgot the include in the ram size parameter. I normally set it to 512m so qemu-system-i386 -hda arch.img -boot d -m 512m. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1463172 Title:

[Qemu-devel] [PATCH] cpu-exec: Do not invalidate original TB in cpu_exec_nocache()

2015-06-17 Thread Sergey Fedorov
Instead of invalidating an original TB in cpu_exec_nocache() prematurely, just save a link to it in the temporary generated TB. If cpu_io_recompile() is raised subsequently from the temporary TB, invalidate the original one as well. That allows reusing the original TB each time cpu_exec_nocache()

Re: [Qemu-devel] [PATCH v2 0/5] More core code ENV_GET_CPU() removals

2015-06-17 Thread Eduardo Habkost
On Tue, Jun 16, 2015 at 12:41:56AM -0700, Peter Crosthwaite wrote: Hi Andreas, Richard and all, I'm moving towards the goal of having no core code usages of ENV_GET_CPU. This has two advantages: 1: It means we are closer to common-obj'ing core code like exec.c, cpus.c and friends. 2:

Re: [Qemu-devel] [PATCH 03/11] migration: create new section to store global state

2015-06-17 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: This includes a new section that for now just stores the current qemu state. Right now, there are only one way to control what is the state of the target after migration. - If you run the target qemu with -S, it would start stopped. - If you

Re: [Qemu-devel] [PATCH v7 0/9] Add limited support of VMware's hyper-call rpc

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 09:15:56PM +0200, Paolo Bonzini wrote: On 17/06/2015 20:43, Michael S. Tsirkin wrote: It seems pretty obvious: +vmport_rpc = isa_try_create(isa_bus, vmport_rpc); +if (vmport_rpc) { +qdev_init_nofail(DEVICE(vmport_rpc)); +

Re: [Qemu-devel] [PATCH v6 7/7] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-17 Thread Laszlo Ersek
On 06/17/15 21:32, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 03:28:44PM -0400, Kevin O'Connor wrote: On Wed, Jun 17, 2015 at 09:15:24PM +0200, Laszlo Ersek wrote: On 06/17/15 20:54, Michael S. Tsirkin wrote: Right. But what I was discussing is a different issue. The point is that it

Re: [Qemu-devel] [PATCH v6 7/7] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-17 Thread Laszlo Ersek
On 06/17/15 21:21, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 02:45:05PM +0200, Laszlo Ersek wrote: SeaBIOS expects OpenFirmware device paths in the bootorder fw_cfg file to follow the pattern /pci-root@N/pci@i0cf8/... for devices that live behind an extra root bus. The extra root

[Qemu-devel] [PATCH] configure: rearrange --help and consolidate enable/disable together

2015-06-17 Thread Michael Tokarev
This is an attempt to rearrange configure --help output a bit and consolidate pairs of --enable/disable into its own section. After this, help text is easier to sort, manage and read. More descriptive text can be added as well, since we now have more space. While at it, mention en/dis-able-vte.

[Qemu-devel] [PULL 05/10] tap: add VNET_LE/VNET_BE operations

2015-06-17 Thread Michael S. Tsirkin
From: Greg Kurz gk...@linux.vnet.ibm.com The linux tap and macvtap backends can be told to parse vnet headers according to little or big endian. This is done through the TUNSETVNETLE and TUNSETVNETBE ioctls. This patch brings all the plumbing for QEMU to use these APIs. Signed-off-by: Greg Kurz

[Qemu-devel] [PULL 06/10] vhost-net: tell tap backend about the vnet endianness

2015-06-17 Thread Michael S. Tsirkin
From: Greg Kurz gk...@linux.vnet.ibm.com The default behaviour for TAP/MACVTAP is to consider vnet as native endian. This patch handles the cases when this is not true: - virtio 1.0: always little-endian - legacy cross-endian Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com Reviewed-by:

[Qemu-devel] [PULL 08/10] hw/core: rebase sysbus_get_fw_dev_path() to g_strdup_printf()

2015-06-17 Thread Michael S. Tsirkin
From: Laszlo Ersek ler...@redhat.com This is done mainly for improving readability, and in preparation for the next patch, but Markus pointed out another bonus for the string being returned: No arbitrary length limit. Before the patch, it's 39 characters, and the code breaks catastrophically

Re: [Qemu-devel] libcacard: use the library?

2015-06-17 Thread Michael Tokarev
27.04.2015 13:37, Paolo Bonzini пишет: On 27/04/2015 11:44, Michael Tokarev wrote: Currently we link individual object files from libcacard to qemu-system binaries, this way (from Makefile.objs): libcacard-y += libcacard/cac.o libcacard/event.o libcacard-y += libcacard/vcard.o

Re: [Qemu-devel] [PATCH v1] pci: Don't register a specialized 'config_write' if default behavior is intended

2015-06-17 Thread Shmulik Ladkani
Hi, On Wed, 17 Jun 2015 12:36:14 +0300, marcel.apfelb...@gmail.com wrote: NOTE: Not sure if my statement regarding ommitting 'config_write' holds for the megasas case: It's parent is TYPE_MEGASAS_BASE whose parent is TYPE_PCI_DEVICE. Can we assume 'config_write' will be set to

Re: [Qemu-devel] libcacard: use the library?

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 20:25, Michael Tokarev wrote: 27.04.2015 13:37, Paolo Bonzini пишет: On 27/04/2015 11:44, Michael Tokarev wrote: Currently we link individual object files from libcacard to qemu-system binaries, this way (from Makefile.objs): libcacard-y += libcacard/cac.o libcacard/event.o

Re: [Qemu-devel] [Qemu-trivial] [PATCH 0/2] qemu-options: Minor doc improvements

2015-06-17 Thread Michael Tokarev
15.06.2015 15:35, Markus Armbruster wrote: Markus Armbruster (2): qemu-options: Improve -global documentation qemu-options: Use @itemx where appropriate Applied to -trivial, thank you! /mjt

[Qemu-devel] [PULL 07/10] vhost_net: re-enable when cross endian

2015-06-17 Thread Michael S. Tsirkin
From: Cédric Le Goater c...@fr.ibm.com Cross-endianness is now checked by the core vhost code. revert 371df9f5e0f1 vhost-net: disable when cross-endian Signed-off-by: Cédric Le Goater c...@fr.ibm.com [ added commit message, Greg Kurz gk...@linux.vnet.ibm.com ] Signed-off-by: Greg Kurz

Re: [Qemu-devel] [PATCH v6 7/7] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-17 Thread Kevin O'Connor
On Wed, Jun 17, 2015 at 09:21:00PM +0200, Michael S. Tsirkin wrote: BTW does this work if we have pci bridges under the default root in addition to PXBs? Does seabios know to skip regular bridges when it's counting roots? Yes - SeaBIOS will skip regular pci-to-pci bridges in its scan for extra

[Qemu-devel] [Bug 1463172] Re: destination arm board hangs after migration from x86 source

2015-06-17 Thread Chang
I am migrating qemu-system-i386 on a x86 to an other qemu-system-i386 on an arm. The exact command line is qemu-system-i386 -hda arch.img -boot d. The arm board is the APM883208 X-C1. The hard drive image is stored in a share nsf system. -- You received this bug notification because you are a

Re: [Qemu-devel] [PATCH 10/11] migration: create migration event

2015-06-17 Thread Eric Blake
On 06/16/2015 07:50 PM, Juan Quintela wrote: We have one argument that tells us what event has happened. Signed-off-by: Juan Quintela quint...@redhat.com X3 Signed-off-by: Juan Quintela quint...@redhat.com Intentional double-S-o-b? --- docs/qmp/qmp-events.txt | 14 ++

[Qemu-devel] [PATCH] libcacard: pkgconfig: tidy dependent libs

2015-06-17 Thread Michael Tokarev
libcacard.pc file lists only one package in Requires field, which is nss, while glib-2.0 is also a requiriment. Furthermore, for libraries used internally by the library (this is the way nss and glib are used by libcacard), Requires.private shold be used instead of Requires. Fix both issues.

Re: [Qemu-devel] RFC Multi-threaded TCG design document

2015-06-17 Thread Mark Burton
On 17 Jun 2015, at 18:57, Dr. David Alan Gilbert dgilb...@redhat.com wrote: * Alex Benn?e (alex.ben...@linaro.org) wrote: Hi, Shared Data Structures == Global TCG State We need to protect the entire code generation cycle including any post

Re: [Qemu-devel] [PATCH v6 7/7] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-17 Thread Kevin O'Connor
On Wed, Jun 17, 2015 at 08:16:30PM +0200, Laszlo Ersek wrote: As discussed earlier, there are two questions to consider about the OFW devpath pattern /pci-root@N/pci@i0cf8/... that SeaBIOS currently recognizes for devices that reside behind extra PCI root buses. Q1: everything in

Re: [Qemu-devel] [PATCH] throttle: Fix typo in the documentation of block_set_io_throttle

2015-06-17 Thread Michael Tokarev
Applied to -trivial, thank you! /mjt

Re: [Qemu-devel] [PATCH 01/11] runstate: Add runstate store

2015-06-17 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: This allows us to store the current state to send it through migration. Signed-off-by: Juan Quintela quint...@redhat.com --- include/sysemu/sysemu.h | 1 + vl.c| 12 2 files changed, 13 insertions(+) diff

Re: [Qemu-devel] [PATCH v7 0/9] Add limited support of VMware's hyper-call rpc

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 21:22, Michael S. Tsirkin wrote: Does it make sense to have an ISA device that has no ports or MMIO regions? It's a bit of hack modeling-wise, but sure it works. I didn't write this code :) Well, you did: :) +vmport_rpc = isa_try_create(isa_bus, vmport_rpc); +

[Qemu-devel] [PULL 04/10] vhost: set vring endianness for legacy virtio

2015-06-17 Thread Michael S. Tsirkin
From: Greg Kurz gk...@linux.vnet.ibm.com Legacy virtio is native endian: if the guest and host endianness differ, we have to tell vhost so it can swap bytes where appropriate. This is done through a vhost ring ioctl. Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com Reviewed-by: Michael S.

[Qemu-devel] [PULL 02/10] linux-headers: sync vhost.h

2015-06-17 Thread Michael S. Tsirkin
From: Greg Kurz gk...@linux.vnet.ibm.com This patch brings the cross-endian vhost API to QEMU. Signed-off-by: Greg Kurz gk...@linux.vnet.ibm.com Reviewed-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Michael S. Tsirkin m...@redhat.com --- linux-headers/linux/vhost.h | 14 ++

[Qemu-devel] Reminder: this cycle has a shorter softfreeze

2015-06-17 Thread Peter Maydell
Hello and welcome to softfreeze :-) Remember that this release cycle we've made softfreeze three weeks, which is a little shorter than usual. If we can make an effort to get changes in earlier rather than later in the period we stand a better chance of rc0 not being a mess... thanks -- PMM

Re: [Qemu-devel] [PATCH v6 4/7] hw/pci-bridge: disable hotplug in PXB

2015-06-17 Thread Marcel Apfelbaum
On 06/17/2015 04:45 PM, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 02:45:02PM +0200, Laszlo Ersek wrote: OVMF downloads the ACPI linker/loader script from QEMU when the edk2 PCI Bus driver globally signals the firmware that PCI enumeration and resource allocation have completed. At this

Re: [Qemu-devel] [PATCH v6 7/7] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 02:45:05PM +0200, Laszlo Ersek wrote: SeaBIOS expects OpenFirmware device paths in the bootorder fw_cfg file to follow the pattern /pci-root@N/pci@i0cf8/... for devices that live behind an extra root bus. The extra root bus in question is the N'th among the extra

Re: [Qemu-devel] [PATCH v6 7/7] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-17 Thread Kevin O'Connor
On Wed, Jun 17, 2015 at 09:15:24PM +0200, Laszlo Ersek wrote: On 06/17/15 20:54, Michael S. Tsirkin wrote: Right. But what I was discussing is a different issue. The point is that it does not make sense to have /pci@i0cf8 under two hierarchies: it's the same register. What happens is that

Re: [Qemu-devel] [PATCH v7 0/9] Add limited support of VMware's hyper-call rpc

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 09:24:44PM +0200, Paolo Bonzini wrote: On 17/06/2015 21:22, Michael S. Tsirkin wrote: Does it make sense to have an ISA device that has no ports or MMIO regions? It's a bit of hack modeling-wise, but sure it works. I didn't write this code :) Well, you

Re: [Qemu-devel] [PATCH] Add .dir-locals.el file to configure emacs coding style

2015-06-17 Thread Michael Tokarev
So, what is the consensus here? Everyone who talked wants the emacs mode, but everyone offers their own mode. I'd pick the stroustrup variant suggested by Marcus since it is shortest, but while being shortest, it is looks a bit magical. On the other hand, variant from Peter Maydell

Re: [Qemu-devel] [PATCH v6 7/7] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-17 Thread Laszlo Ersek
On 06/17/15 17:05, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 04:45:45PM +0200, Laszlo Ersek wrote: On 06/17/15 16:18, Kevin O'Connor wrote: On Wed, Jun 17, 2015 at 03:57:36PM +0200, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 02:45:05PM +0200, Laszlo Ersek wrote: SeaBIOS expects

Re: [Qemu-devel] [PATCH v7 0/9] Add limited support of VMware's hyper-call rpc

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 07:14:24PM +0200, Paolo Bonzini wrote: On 17/06/2015 19:03, Don Slutz wrote: On 06/17/15 12:29, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 06:17:19PM +0200, Paolo Bonzini wrote: On 17/06/2015 16:29, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at

Re: [Qemu-devel] [PATCH v7 0/9] Add limited support of VMware's hyper-call rpc

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 01:03:00PM -0400, Don Slutz wrote: On 06/17/15 12:29, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 06:17:19PM +0200, Paolo Bonzini wrote: On 17/06/2015 16:29, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 04:27:13PM +0200, Paolo Bonzini wrote: On

Re: [Qemu-devel] [PATCH v7 0/9] Add limited support of VMware's hyper-call rpc

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 06:48:40PM +0200, Paolo Bonzini wrote: On 17/06/2015 18:29, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 06:17:19PM +0200, Paolo Bonzini wrote: On 17/06/2015 16:29, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 04:27:13PM +0200, Paolo Bonzini wrote:

Re: [Qemu-devel] [PATCH v6 7/7] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 08:16:30PM +0200, Laszlo Ersek wrote: We do need to agree about the correct paths however, this is host/guest interface which we have to maintain forever, and it's important to get it right. I kept hoping we can come up with something saner than the sequence # but

Re: [Qemu-devel] [PATCH] configure: show --disable-vte and --enable-vte in help message

2015-06-17 Thread Michael Tokarev
17.06.2015 18:14, Lin Ma wrote: Signed-off-by: Lin Ma l...@suse.com --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 222694f..4f895e3 100755 --- a/configure +++ b/configure @@ -1420,6 +1420,8 @@ Advanced options (experts only):

[Qemu-devel] [Bug 1463172] Re: destination arm board hangs after migration from x86 source

2015-06-17 Thread Serge Hallyn
Thanks for the information. I'm suspect that this sort of migration is not expected to work, but I've marked the bug as affecting upstream in case someone there can comment. ** Changed in: qemu (Ubuntu) Status: Incomplete = New -- You received this bug notification because you are a

Re: [Qemu-devel] [PATCH v6 7/7] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-17 Thread Laszlo Ersek
(I'm not trying to answer instead of Kevin, just to comment.) On 06/17/15 20:54, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 08:16:30PM +0200, Laszlo Ersek wrote: We do need to agree about the correct paths however, this is host/guest interface which we have to maintain forever, and it's

Re: [Qemu-devel] [PATCH v7 0/9] Add limited support of VMware's hyper-call rpc

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 20:43, Michael S. Tsirkin wrote: It seems pretty obvious: +vmport_rpc = isa_try_create(isa_bus, vmport_rpc); +if (vmport_rpc) { +qdev_init_nofail(DEVICE(vmport_rpc)); +} Don't do this. Let user specify the device using -device

Re: [Qemu-devel] [Qemu-trivial] [PATCH 2/2] Check value for invalid negative values

2015-06-17 Thread Michael Tokarev
11.06.2015 16:17, Frediano Ziglio wrote: In qxl_v2n check that value is not negative. Why do you think it is necessary? Thanks, /mjt Signed-off-by: Frediano Ziglio fzig...@redhat.com --- hw/display/qxl-logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Qemu-devel] RFC Multi-threaded TCG design document

2015-06-17 Thread Frederic Konrad
On 17/06/2015 20:23, Mark Burton wrote: On 17 Jun 2015, at 18:57, Dr. David Alan Gilbert dgilb...@redhat.com wrote: * Alex Benn?e (alex.ben...@linaro.org) wrote: Hi, Shared Data Structures == Global TCG State We need to protect the entire code generation

Re: [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-18 1:52 GMT+03:00 Andrey Korolyov and...@xdel.ru: Whoosh... technically it is possible but it would be an incompatible fork for the upstreams for both SeaBIOS and Qemu, because the generic way of plugging DIMMs in is available down to at least generic 2.6.32. Except may be Centos where

Re: [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Andrey Korolyov
On Thu, Jun 18, 2015 at 12:21 AM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-06-17 19:26 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru: This is band news =( i have debian wheezy that have old kernel... Does it possible to get proper results with balloon ? For example by patching qemu or

Re: [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-18 1:40 GMT+03:00 Andrey Korolyov and...@xdel.ru: Yes, but I`m afraid that I don`t fully understand why do you need this when pure hotplug mechanism is available, aside may be nice memory stats from balloon and easy-to-use deflation. Just populate a couple of static dimms with small

Re: [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Andrey Korolyov
On Thu, Jun 18, 2015 at 1:44 AM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-06-18 1:40 GMT+03:00 Andrey Korolyov and...@xdel.ru: Yes, but I`m afraid that I don`t fully understand why do you need this when pure hotplug mechanism is available, aside may be nice memory stats from balloon

Re: [Qemu-devel] [PATCH v2 1/6] qapi: qapi for audio backends

2015-06-17 Thread Kővágó Zoltán
2015-06-17 18:06 keltezéssel, Markus Armbruster írta: Kővágó Zoltán dirty.ice...@gmail.com writes: 2015-06-17 15:37 keltezéssel, Markus Armbruster írta: Kővágó Zoltán dirty.ice...@gmail.com writes: 2015-06-17 13:48 keltezéssel, Markus Armbruster írta: Kővágó Zoltán dirty.ice...@gmail.com

Re: [Qemu-devel] linux-user crashes on clone(2) when run on ppc host

2015-06-17 Thread Emilio G. Cota
On Wed, Jun 17, 2015 at 09:58:27 +0100, Peter Maydell wrote: On 17 June 2015 at 01:52, Emilio G. Cota c...@braap.org wrote: I'm having trouble running a simple multithreaded program on a PowerPC host machine. The machine I'm using is a ppc VM--I think it's running under KVM (I'm using

Re: [Qemu-devel] [PATCH v6 7/7] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 09:35:20PM +0200, Laszlo Ersek wrote: On 06/17/15 21:21, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 02:45:05PM +0200, Laszlo Ersek wrote: SeaBIOS expects OpenFirmware device paths in the bootorder fw_cfg file to follow the pattern

Re: [Qemu-devel] [PATCH v6 7/7] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 09:44:07PM +0200, Laszlo Ersek wrote: On 06/17/15 21:32, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 03:28:44PM -0400, Kevin O'Connor wrote: On Wed, Jun 17, 2015 at 09:15:24PM +0200, Laszlo Ersek wrote: On 06/17/15 20:54, Michael S. Tsirkin wrote: Right. But

Re: [Qemu-devel] [PATCH v7 0/9] Add limited support of VMware's hyper-call rpc

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 01:34:33PM -0400, Don Slutz wrote: On 06/17/15 13:25, Paolo Bonzini wrote: On 17/06/2015 19:14, Paolo Bonzini wrote: On 17/06/2015 19:03, Don Slutz wrote: On 06/17/15 12:29, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 06:17:19PM +0200, Paolo Bonzini

Re: [Qemu-devel] [PATCH v1] pci: Don't register a specialized 'config_write' if default behavior is intended

2015-06-17 Thread Shmulik Ladkani
Hi, On Wed, 17 Jun 2015 12:37:18 +0300, marcel.apfelb...@gmail.com wrote: BTW, did you notice a bug here? If yes, can you elaborate? No, not a direct bug. We noticed this while working on related code areas. There's some history behind this. In 95d6580 'msi: Invoke msi/msix_write_config from

[Qemu-devel] [PULL 09/10] pci: Don't register a specialized 'config_write' if default behavior is intended

2015-06-17 Thread Michael S. Tsirkin
From: Shmulik Ladkani shmulik.ladk...@ravellosystems.com Few devices have their specialized 'config_write' methods which simply call 'pci_default_write_config' followed by a 'msix_write_config' or 'msi_write_config' calls, using exact same arguments. This is unnecessary as

Re: [Qemu-devel] [PATCH v2 0/2] Makefile: Generate tag files under $SRC_PATH

2015-06-17 Thread Michael Tokarev
11.06.2015 11:41, Fam Zheng пишет: On Fri, 05/22 13:35, Fam Zheng wrote: Ping :) Applied to -trivial, thanks! /mjt

Re: [Qemu-devel] [PATCH v6 3/7] hw/pci-bridge: introduce hotplug property

2015-06-17 Thread Marcel Apfelbaum
On 06/17/2015 05:15 PM, Laszlo Ersek wrote: On 06/17/15 16:02, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 03:55:32PM +0200, Laszlo Ersek wrote: On 06/17/15 15:42, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 02:45:01PM +0200, Laszlo Ersek wrote: In the PCI expander bridge, we

[Qemu-devel] [RFC] STM32 MCUs support

2015-06-17 Thread Liviu Ionescu
# Goal Create a framework that allows to easily add new STM32 MCUs. Once detailes cleared, the same template will be used for other MCUs, from other vendors. # Implementation All STM32 MCU objects are derived from a common stm32-mcu object, that implements the object construction logic, based

Re: [Qemu-devel] [PATCH v2 0/5] More core code ENV_GET_CPU() removals

2015-06-17 Thread Peter Crosthwaite
On Wed, Jun 17, 2015 at 11:51 AM, Eduardo Habkost ehabk...@redhat.com wrote: On Tue, Jun 16, 2015 at 12:41:56AM -0700, Peter Crosthwaite wrote: Hi Andreas, Richard and all, I'm moving towards the goal of having no core code usages of ENV_GET_CPU. This has two advantages: 1: It means we are

Re: [Qemu-devel] libcacard: use the library?

2015-06-17 Thread Michael Tokarev
17.06.2015 22:26, Paolo Bonzini wrote: On 17/06/2015 20:25, Michael Tokarev wrote: [] Ok. I wrote small configure script (just a simple shell script, no auto*tools, since the configuration of it is stright-forward, we just need to check libglib and libnss versions using pkg-config and check

Re: [Qemu-devel] [PATCH v7 0/9] Add limited support of VMware's hyper-call rpc

2015-06-17 Thread Don Slutz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/17/15 09:44, Paolo Bonzini wrote: On 12/06/2015 16:05, Don Slutz wrote: Changes v6 to v7: ... Looks good, feel free to send out patches 1+2+3+9 in a pull request if you want. If I am reading this correctly, I should add Acked-by: Paolo

Re: [Qemu-devel] [Bug 1239008] Re: qemu fails to scroll screen on ^Vidmem output

2015-06-17 Thread rjasmin
It is hosted on google code, a dying service. FreePascal(coffee) OS.A more basic version is posted there.I assume it works as the version that I last built did not for some reason. Sources should be there via subversion checkout.Thats what I tested with. https://code.google.com/p/coffee-os/

Re: [Qemu-devel] [PATCH v2 0/5] More core code ENV_GET_CPU() removals

2015-06-17 Thread Eduardo Habkost
On Wed, Jun 17, 2015 at 01:16:21PM -0700, Peter Crosthwaite wrote: On Wed, Jun 17, 2015 at 11:51 AM, Eduardo Habkost ehabk...@redhat.com wrote: On Tue, Jun 16, 2015 at 12:41:56AM -0700, Peter Crosthwaite wrote: Hi Andreas, Richard and all, I'm moving towards the goal of having no core

[Qemu-devel] [PULL] Update OpenBIOS images

2015-06-17 Thread Mark Cave-Ayland
Hi Peter, Here are the updated OpenBIOS binaries for 2.4 (apologies the request is a little late because of the git mirror confusion). Please pull. ATB, Mark. The following changes since commit f754c3c9cce3c4789733d9068394be4256dfe6a8: Merge remote-tracking branch

[Qemu-devel] [PATCH v2] macio: remove nonexistent interrupt on pin 1

2015-06-17 Thread Cormac O'Brien
The current macio implementation declares an interrupt that doesn't appear to exist in the hardware or any other emulator implementation. OpenBIOS detects this interrupt and generates an 'interrupts' property in the macio device tree entry. Mac OS 9 halts boot when it detects this interrupt, so it

Re: [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-17 19:26 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru: This is band news =( i have debian wheezy that have old kernel... Does it possible to get proper results with balloon ? For example by patching qemu or something like this? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru

Re: [Qemu-devel] [PATCH v2] macio: remove nonexistent interrupt on pin 1

2015-06-17 Thread Mark Cave-Ayland
On 17/06/15 23:04, Cormac O'Brien wrote: The current macio implementation declares an interrupt that doesn't appear to exist in the hardware or any other emulator implementation. OpenBIOS detects this interrupt and generates an 'interrupts' property in the macio device tree entry. Mac OS 9

Re: [Qemu-devel] [PATCH v2 1/3] softmmu: add helper function to pass through retaddr

2015-06-17 Thread Pavel Dovgaluk
From: Paolo Bonzini [mailto:pbonz...@redhat.com] On 17/06/2015 14:42, Pavel Dovgalyuk wrote: This patch introduces several helpers to pass return address which points to the TB. Correct return address allows correct restoring of the guest PC and icount. These functions should be used when

Re: [Qemu-devel] [PATCH v3 2/3] target-i386: reserve RCRB mmio space in ACPI DSDT table

2015-06-17 Thread Paulo Alcantara
On Wed, 17 Jun 2015 15:33:07 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jun 01, 2015 at 08:48:40PM -0300, Paulo Alcantara wrote: v1 - v2: * s/PDRC/CCR/ for clarity and match ICH9 spec * remove unnecessary OperationRegion for RCRB changelog should come after ---. Ok.

Re: [Qemu-devel] [PATCH v3 3/3] tests: add testcase for TCO watchdog emulation

2015-06-17 Thread Paulo Alcantara
On Wed, 17 Jun 2015 15:37:49 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jun 01, 2015 at 08:48:41PM -0300, Paulo Alcantara wrote: v1 - v2: * some cleanup * add test for TCO_LOCK bit v2 - v3: * add tests for TCO control status bits * fix check of SECOND_TO_STS bit

Re: [Qemu-devel] [PATCH v3 1/3] ich9: add TCO interface emulation

2015-06-17 Thread Paulo Alcantara
On Wed, 17 Jun 2015 15:27:53 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jun 01, 2015 at 08:48:39PM -0300, Paulo Alcantara wrote: This interface provides some registers within a 32-byte range and can be acessed through PCI-to-LPC bridge interface (PMBASE + 0x60). It's

Re: [Qemu-devel] [PATCH v7 0/9] Add limited support of VMware's hyper-call rpc

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 19:03, Don Slutz wrote: On 06/17/15 12:29, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 06:17:19PM +0200, Paolo Bonzini wrote: On 17/06/2015 16:29, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 04:27:13PM +0200, Paolo Bonzini wrote: On 17/06/2015 16:18, Michael S.

Re: [Qemu-devel] Assigning an eth port to a guest VM

2015-06-17 Thread Yehuda Yitschak
Eric, Alex, Thank you very much for all your answers and details. From your answers it sounds like I need to extended vfio's resource query mechanism to enable flagging certain resources as NO_MAP and then make VFIO in QEMU act accordingly. That looks like the easier part. The

[Qemu-devel] [Bug 1239008] Re: qemu fails to scroll screen on ^Vidmem output

2015-06-17 Thread Chris J Arges
Can you test with the latest version to see if this still affects you? If this still is a problem, any information on how to obtain the Guest OS in question that would also be helpful. ** Changed in: qemu (Ubuntu) Status: New = Incomplete -- You received this bug notification because

Re: [Qemu-devel] [PATCH v7 0/9] Add limited support of VMware's hyper-call rpc

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 19:14, Paolo Bonzini wrote: On 17/06/2015 19:03, Don Slutz wrote: On 06/17/15 12:29, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 06:17:19PM +0200, Paolo Bonzini wrote: On 17/06/2015 16:29, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 04:27:13PM +0200, Paolo

Re: [Qemu-devel] [PATCH v7 0/9] Add limited support of VMware's hyper-call rpc

2015-06-17 Thread Don Slutz
On 06/17/15 13:25, Paolo Bonzini wrote: On 17/06/2015 19:14, Paolo Bonzini wrote: On 17/06/2015 19:03, Don Slutz wrote: On 06/17/15 12:29, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 06:17:19PM +0200, Paolo Bonzini wrote: On 17/06/2015 16:29, Michael S. Tsirkin wrote: On Wed,

Re: [Qemu-devel] [PATCH v2 2/6] qapi: support nested structs in OptsVisitor

2015-06-17 Thread Markus Armbruster
Copying Kevin because similar issues exist in the block layer. Gerd Hoffmann kra...@redhat.com writes: On Mi, 2015-06-17 at 09:50 +0200, Markus Armbruster wrote: Copying László because his fingerprints are on OptsVisitor. Kővágó, Zoltán dirty.ice...@gmail.com writes: The current

Re: [Qemu-devel] [PATCH] Migration compatibility for serial

2015-06-17 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: On 17/06/2015 12:13, Michael S. Tsirkin wrote: On Wed, Jun 17, 2015 at 10:11:48AM +0200, Paolo Bonzini wrote: On 17/06/2015 09:52, Michael S. Tsirkin wrote: No, please. Upstream QEMU doesn't want to get into judgement about when

Re: [Qemu-devel] [PULL 0/3] update seabios to 1.8.2, add virtio-vga vgabios

2015-06-17 Thread Peter Maydell
On 17 June 2015 at 12:27, Peter Maydell peter.mayd...@linaro.org wrote: I've applied this, but git submodule update now complains: $ git submodule update fatal: reference is not a tree: 33fbe13a3e2a01e0ba1087a8feed801a0451db21 Unable to checkout '33fbe13a3e2a01e0ba1087a8feed801a0451db21' in

Re: [Qemu-devel] [PATCH v2 1/6] qapi: qapi for audio backends

2015-06-17 Thread Markus Armbruster
Kővágó Zoltán dirty.ice...@gmail.com writes: 2015-06-17 09:46 keltezéssel, Markus Armbruster írta: Copying Eric for additional QAPI schema expertise. My questions inline, pretty sure they show my ignorance. Kővágó, Zoltán dirty.ice...@gmail.com writes: This patch adds structures into qapi

Re: [Qemu-devel] [PATCH v2 2/6] qapi: support nested structs in OptsVisitor

2015-06-17 Thread Markus Armbruster
Kővágó Zoltán dirty.ice...@gmail.com writes: 2015-06-17 10:41 keltezéssel, Gerd Hoffmann írta: On Mi, 2015-06-17 at 09:50 +0200, Markus Armbruster wrote: Copying László because his fingerprints are on OptsVisitor. Kővágó, Zoltán dirty.ice...@gmail.com writes: The current OptsVisitor

Re: [Qemu-devel] [PATCH] Migration compatibility for serial

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 13:45, Michael S. Tsirkin wrote: Where, in the specific case of migration? Just look at hour compat flags. For example (intentionally using serial here): {\ .driver = pci-serial,\ .property = prog_if,\ .value=

Re: [Qemu-devel] [PATCH v2 4/6] qapi: AllocVisitor

2015-06-17 Thread Kővágó Zoltán
2015-06-17 09:56 keltezéssel, Markus Armbruster írta: Kővágó, Zoltán dirty.ice...@gmail.com writes: Simple visitor that recursively allocates structures with only optional variables. Unions are initialized to the first type specified. Other non optional types are not supported. Sounds

Re: [Qemu-devel] [PATCH v2 1/6] qapi: qapi for audio backends

2015-06-17 Thread Kővágó Zoltán
2015-06-17 13:48 keltezéssel, Markus Armbruster írta: Kővágó Zoltán dirty.ice...@gmail.com writes: 2015-06-17 09:46 keltezéssel, Markus Armbruster írta: Copying Eric for additional QAPI schema expertise. My questions inline, pretty sure they show my ignorance. Kővágó, Zoltán

Re: [Qemu-devel] [PATCH] Migration compatibility for serial

2015-06-17 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: On 17/06/2015 13:40, Dr. David Alan Gilbert wrote: Like Juan, I see where you're coming from. But it's a slippery slope, and upstream chose not to go down it. Whatever choice upstream may have made, that was a long time ago and

Re: [Qemu-devel] [PATCH] Migration compatibility for serial

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 14:07, Dr. David Alan Gilbert wrote: Of course for us on RHEL our minor releases don't correspond to QEMU minor releases, so we already support migrating from our downstream 7.1 (QEMU 2.1) derivative to our 7.0 (1.5.3) version. And the reason for this patch series is to

Re: [Qemu-devel] [PATCH v7 05/42] Add qemu_get_buffer_less_copy to avoid copies some of the time

2015-06-17 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: Dr. David Alan Gilbert (git) dgilb...@redhat.com wrote: From: Dr. David Alan Gilbert dgilb...@redhat.com qemu_get_buffer always copies the data it reads to a users buffer, however in many cases the file buffer inside qemu_file could be given

Re: [Qemu-devel] [RFC PATCH] qemu-log: Open file for logging when specified

2015-06-17 Thread Paolo Bonzini
On 10/06/2015 16:20, Pranith Kumar wrote: qemu-log defaults to stderr when there is no '-D' option mentioned on command line. When '-D' option is specified, we also need to specify '-d' option for it to use the specified logfile. When using monitor to enable logging this is troublesome

Re: [Qemu-devel] [PATCH v7 01/42] Start documenting how postcopy works.

2015-06-17 Thread Juan Quintela
Dr. David Alan Gilbert (git) dgilb...@redhat.com wrote: From: Dr. David Alan Gilbert dgilb...@redhat.com Signed-off-by: Dr. David Alan Gilbert dgilb...@redhat.com --- docs/migration.txt | 167 + 1 file changed, 167 insertions(+) diff

Re: [Qemu-devel] [PATCH] Migration compatibility for serial

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 01:53:11PM +0200, Paolo Bonzini wrote: On 17/06/2015 13:45, Michael S. Tsirkin wrote: Where, in the specific case of migration? Just look at hour compat flags. For example (intentionally using serial here): {\ .driver = pci-serial,\

Re: [Qemu-devel] [PATCH v7 04/42] qemu_ram_block_from_host

2015-06-17 Thread Juan Quintela
Dr. David Alan Gilbert (git) dgilb...@redhat.com wrote: From: Dr. David Alan Gilbert dgilb...@redhat.com Postcopy sends RAMBlock names and offsets over the wire (since it can't rely on the order of ramaddr being the same), and it starts out with HVA fault addresses from the kernel.

  1   2   3   4   >