Re: [Qemu-devel] [PATCH v2 03/37] hw/block/fdc: Implement tray status

2015-03-16 Thread Markus Armbruster
Max Reitz writes: [...] > So do you want to fix the floppy passthrough code? I don't even know > how to fix it. I don't even know what's wrong with it, other than that > something's ought to be wrong. Having a driver to pass-through hardware next to nobody has anymore is one thing. But maintain

Re: [Qemu-devel] [PATCH v2 03/37] hw/block/fdc: Implement tray status

2015-03-16 Thread Max Reitz
On 2015-03-16 at 11:47, Markus Armbruster wrote: Max Reitz writes: [...] So do you want to fix the floppy passthrough code? I don't even know how to fix it. I don't even know what's wrong with it, other than that something's ought to be wrong. Having a driver to pass-through hardware next to

[Qemu-devel] [PULL for-2.3] tcg optimization fix

2015-03-16 Thread Richard Henderson
This is the fix for the recently reported abort while booting a powerpc iso. r~ The following changes since commit dcf848c478dd8765bd4f746fc4e80eaad44cf87d: Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20150316' into staging (2015-03-16 13:56:10 +) are

[Qemu-devel] [PULL] tcg/optimize: Handle or r,a,a with constant a

2015-03-16 Thread Richard Henderson
As seen with ubuntu-5.10-live-powerpc.iso. Reported-by: Mark Cave-Ayland Tested-by: Mark Cave-Ayland Reviewed-by: Bastian Koppelmann Signed-off-by: Richard Henderson --- tcg/optimize.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tcg/optimize.c b/tcg/optimize.c inde

Re: [Qemu-devel] [PATCH v5 for-2.3 23/28] hw/pxb: add map_irq func

2015-03-16 Thread Michael S. Tsirkin
On Mon, Mar 16, 2015 at 02:11:45PM +0200, Marcel Apfelbaum wrote: > On 03/10/2015 06:43 PM, Michael S. Tsirkin wrote: > >On Tue, Mar 10, 2015 at 05:32:09PM +0200, Marcel Apfelbaum wrote: > >>The bios does not index the pxb slot number when > >>it computes the IRQ because it resides on bus 0 > >>and

Re: [Qemu-devel] [RFC v3] monitor: add memory search commands s, sp

2015-03-16 Thread Claudio Fontana
On 16.03.2015 16:01, Paolo Bonzini wrote: > > > On 16/03/2015 15:45, Eric Blake wrote: >> On 03/16/2015 04:31 AM, hw.clau...@gmail.com wrote: >>> From: Claudio Fontana >>> >>> usage is similar to the commands x, xp. >>> >>> Example with string: looking for "ELF" header in memory: >>> >>> (qemu)

Re: [Qemu-devel] [PATCH for-2.3] opengl: fix configure test

2015-03-16 Thread Max Reitz
On 2015-03-16 at 05:10, Gerd Hoffmann wrote: Re-add the glx compile test to configure. We can't use pkg-config to probe for glx, and as long as milkymist-tmu2 privately uses glx (due to opengl infrastructure in qemu not being ready yet) we must continue to test for glx to avoid build failures.

Re: [Qemu-devel] [PULL 00/11] Migration pull request

2015-03-16 Thread Markus Armbruster
Juan Quintela writes: > The following changes since commit 2dfe7d07e2f40adb18a0b0cd286f3d327692d0fc: > > Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20150316' into > staging (2015-03-16 11:44:55 +) > > are available in the git repository at: > &g

Re: [Qemu-devel] [RFC v3] monitor: add memory search commands s, sp

2015-03-16 Thread Eric Blake
On 03/16/2015 09:54 AM, Claudio Fontana wrote: >>> Do you want to provide a QMP counterpart? In general, we are >>> reluctant to add new HMP functionality that cannot also be accessed >>> via QMP. >> >> I think this is okay for a debugging command. x and xp do not have an >> QMP equivalent eithe

[Qemu-devel] lsi53c895a lsi_do_dma assertion failure

2015-03-16 Thread Chris Takemura
Hi everyone, We're using qemu as a device model for xen 4.4. Lately we've been having qemu crashes with this output: lsi_scsi: error: Unhandled writeb 0xff = 0x0 lsi_scsi: error: Unhandled writeb 0x100 = 0x0 lsi_scsi: error: Unhandled writeb 0x101 = 0x0 lsi_scsi: error: Unhandled writeb 0x1

Re: [Qemu-devel] [PATCH] block/throttle: Use host clock type

2015-03-16 Thread Kevin Wolf
Am 13.03.2015 um 07:35 hat Fam Zheng geschrieben: > Throttle timers won't make any progress when VCPU is not running, which > is prone to stall the request queue in cases like utils, qtest, > suspending, and live migration, unless carefully handled. What we do now > is crude. For example in bdrv_dr

Re: [Qemu-devel] [PULL 00/11] Migration pull request

2015-03-16 Thread Juan Quintela
Markus Armbruster wrote: > Juan Quintela writes: > >> The following changes since commit 2dfe7d07e2f40adb18a0b0cd286f3d327692d0fc: >> >> Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20150316' >> into staging (2015-03-16 11:44:55 +) >

Re: [Qemu-devel] [PATCH 1/9] virtio-gpu/2d: add hardware spec include file

2015-03-16 Thread Max Reitz
On 2015-03-13 at 05:47, Gerd Hoffmann wrote: This patch adds the header file with structs and defines for the virtio based gpu device. Covers 2d operations only. Written by Dave Airlie and Gerd Hoffmann. Signed-off-by: Dave Airlie Signed-off-by: Gerd Hoffmann --- include/hw/virtio/virtgpu_

Re: [Qemu-devel] [PATCH v3 0/7] Add support for passthru cards to libcacard

2015-03-16 Thread Marc-André Lureau
Hi Jeremy I have checked no regression for spice, but not the new pcsc backend. Do you have a spice-gtk branch or are you using vscclient only? I would feel better note polluting more the exported symbols from libcacard. For ex, vcard_init() and cac_card_init() are already quite useless, since th

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

2015-03-16 Thread Alberto Garcia
Signed-off-by: Alberto Garcia --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d7e9ba2..1fcf1e0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1176,3 +1176,8 @@ Bootdevice M: Gonglei S: Maintained F: bootdevice.c + +Quorum +M: Alberto Ga

Re: [Qemu-devel] [PATCH 1/6] fw_cfg: add documentation file (docs/specs/fw_cfg.txt)

2015-03-16 Thread Laszlo Ersek
On 03/16/15 15:15, Gabriel L. Somlo wrote: > This document covers the generic portions of fw_cfg as well as > the x86/x86-64 architecture specific components. > > Signed-off-by: Jordan Justen > Signed-off-by: Gabriel Somlo > --- > > This is a resubmission of Jordan's patch from back when: > h

Re: [Qemu-devel] [RFC v3] monitor: add memory search commands s, sp

2015-03-16 Thread Paolo Bonzini
On 16/03/2015 16:58, Eric Blake wrote: > On 03/16/2015 09:54 AM, Claudio Fontana wrote: > Do you want to provide a QMP counterpart? In general, we are reluctant to add new HMP functionality that cannot also be accessed via QMP. >>> >>> I think this is okay for a debugging comman

[Qemu-devel] [PATCH] target-mips: save cpu state before calling MSA load and store helpers

2015-03-16 Thread Leon Alrae
PC needs to be saved if an exception can be generated by an helper. This fixes a problem related to resuming the execution at unexpected address after an exception (caused by MSA load/store instruction) has been serviced. Signed-off-by: Leon Alrae --- target-mips/translate.c | 2 ++ 1 file chang

[Qemu-devel] [PATCH v2 3/3] sPAPR: Reenable EEH functionality on reboot

2015-03-16 Thread Gavin Shan
When rebooting the guest, some PEs might be in frozen state. The contained PCI devices won't work properly if their frozen states aren't cleared in time. One case running into this situation would be maximal EEH error times encountered in the guest. The patch reenables the EEH functinality on PEs

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

2015-03-16 Thread Gavin Shan
The PCI device MSIx table is cleaned out in hardware after EEH PE reset. However, we still hold the stale MSIx entries in QEMU, which should be cleared accordingly. Otherwise, we will run into another (recursive) EEH error and the PCI devices contained in the PE have to be offlined exceptionally.

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

2015-03-16 Thread jacob jacob
I also see the following in dmesg in the VM. [0.095758] ACPI: PCI Root Bridge [PCI0] (domain [bus 00-ff]) [0.096006] acpi PNP0A03:00: ACPI _OSC support notification failed, disabling PCIe ASPM [0.096915] acpi PNP0A03:00: Unable to request _OSC control (_OSC support mask: 0x08) [

[Qemu-devel] [PATCH v2 2/3] VFIO: Disable INTx interrupt on EEH reset

2015-03-16 Thread Gavin Shan
When Linux guest recovers from EEH error on the following Emulex adapter, the MSIx interrupts are disabled and the INTx emulation is enabled. One INTx interrupt is injected to the guest by host because of detected pending INTx interrupts on the adapter. QEMU disables mmap'ed BAR regions and starts

Re: [Qemu-devel] [PATCH qemu] pseries: Update SLOF firmware image to qemu-slof-20150313

2015-03-16 Thread Alexander Graf
On 15.03.15 23:59, Alexey Kardashevskiy wrote: > On 03/13/2015 10:45 PM, Alexey Kardashevskiy wrote: >> The changelog is: >>> virtio: Fix vring allocation >>> helpers: Fix SLOF_alloc_mem_aligned to meet callers expectation >>> Set default palette according to "16-color Text Extension"

Re: [Qemu-devel] [PATCH] spapr: Add missing checks for NULL pointers and report failures

2015-03-16 Thread Alexander Graf
On 14.03.15 11:29, Stefan Weil wrote: > This fixes potential runtime crashes and two warnings from Coverity. > > The new error message does not add a prefix "qemu:" because that is > already done in function hw_error. It also starts with an uppercase > letter because that seems to be the mostly

Re: [Qemu-devel] [PATCH v3 0/7] Add support for passthru cards to libcacard

2015-03-16 Thread Jeremy White
Hey Marc-André, Thanks for the review. On 03/16/2015 11:22 AM, Marc-André Lureau wrote: > Hi Jeremy > > I have checked no regression for spice, but not the new pcsc backend. > Do you have a spice-gtk branch or are you using vscclient only? I'm using spice-gtk with this patch: http://lists.fre

[Qemu-devel] [PATCH v2] target-mips: fix CP0.BadVAddr by stopping translation on Address Error

2015-03-16 Thread Leon Alrae
CP0.BadVAddr is supposed to capture the most recent virtual address that caused the exception. Currently this does not work correctly for unaligned instruction fetch as translation is not stopped and CP0.BadVAddr is updated with subsequent addresses. Signed-off-by: Leon Alrae --- v2: * descriptio

[Qemu-devel] [PULL 00/17] Block patches for 2.3.0-rc0

2015-03-16 Thread Kevin Wolf
The following changes since commit dcf848c478dd8765bd4f746fc4e80eaad44cf87d: Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20150316' into staging (2015-03-16 13:56:10 +) are available in the git repository at: git://repo.or.cz/qemu/kevin.git tags/fo

[Qemu-devel] [PULL 01/17] iotests: Update 051's reference output

2015-03-16 Thread Kevin Wolf
From: Markus Armbruster Commit c4bacaf improved error reporting, but neglected to update 051.out. Commit 2726958 tried to redress, but didn't get it quite right (punctuation difference), and shortly after commit ae071cc..master improved error reporting some more, neglecting 051.out some more. S

[Qemu-devel] [PULL 03/17] block: Deprecate QCOW/QCOW2 encryption

2015-03-16 Thread Kevin Wolf
From: Markus Armbruster We've steered users away from QCOW/QCOW2 encryption for a while, because it's a flawed design (commit 136cd19 Describe flaws in qcow/qcow2 encryption in the docs). In addition to flawed crypto, we have comically bad usability, and plain old bugs. Let me show you. = Exam

[Qemu-devel] [PULL 04/17] block: Fix block-set-write-threshold not to use funky error class

2015-03-16 Thread Kevin Wolf
From: Markus Armbruster Error classes are a leftover from the days of "rich" error objects. New code should always use ERROR_CLASS_GENERIC_ERROR. Commit e246211 added a use of ERROR_CLASS_DEVICE_NOT_FOUND. Replace it. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Signed-off-by: Ke

[Qemu-devel] [PULL 02/17] qemu-img: Fix convert, amend error messages for unknown options

2015-03-16 Thread Kevin Wolf
From: Markus Armbruster Message quality regressed in commit dc523cd. Signed-off-by: Markus Armbruster Signed-off-by: Kevin Wolf --- qemu-img.c | 6 ++ tests/qemu-iotests/061.out | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/qemu-img.c b/qemu-img.c i

[Qemu-devel] [PULL 16/17] block/vpc: rename footer->size -> footer->current_size

2015-03-16 Thread Kevin Wolf
From: Peter Lieven the field is named current size in the spec. Name it accordingly. Signed-off-by: Peter Lieven Reviewed-by: Max Reitz Message-id: 1425379316-19639-5-git-send-email...@kamp.de Signed-off-by: Max Reitz --- block/vpc.c | 9 + 1 file changed, 5 insertions(+), 4 deletion

[Qemu-devel] [PULL 06/17] qcow2: Respect new_block in alloc_refcount_block()

2015-03-16 Thread Kevin Wolf
From: Max Reitz When choosing a new place for the refcount table, alloc_refcount_block() tries to infer the number of clusters used so far from its argument cluster_index (which comes from the idea that if any cluster with an index greater than cluster_index was in use, the refcount table would h

[Qemu-devel] [PULL 07/17] iotests: Add tests for refcount table growth

2015-03-16 Thread Kevin Wolf
From: Max Reitz Signed-off-by: Max Reitz Message-id: 1423598552-24301-3-git-send-email-mre...@redhat.com Reviewed-by: Eric Blake Reviewed-by: Kevin Wolf Signed-off-by: Max Reitz --- tests/qemu-iotests/121 | 102 + tests/qemu-iotests/121.out |

[Qemu-devel] [PULL 05/17] qemu-img: Avoid qerror_report_err() outside QMP handlers, again

2015-03-16 Thread Kevin Wolf
From: Markus Armbruster qerror_report_err() is a transitional interface to help with converting existing monitor commands to QMP. It should not be used elsewhere. Replace by error_report_err(). Commit 6936f29 cleaned that up in qemu-img.c, but two calls have crept in since. Take care of them

[Qemu-devel] [PULL 13/17] block/vpc: optimize vpc_co_get_block_status

2015-03-16 Thread Kevin Wolf
From: Peter Lieven *pnum can't be greater than s->block_size / BDRV_SECTOR_SIZE for allocated sectors since there is always a bitmap in between. Signed-off-by: Peter Lieven Reviewed-by: Max Reitz Message-id: 1425379316-19639-2-git-send-email...@kamp.de Signed-off-by: Max Reitz --- block/vpc.

[Qemu-devel] [PULL 10/17] migration: Convert bdrv_find to blk_by_name

2015-03-16 Thread Kevin Wolf
From: Fam Zheng Signed-off-by: Fam Zheng Message-id: 1425296209-1476-3-git-send-email-f...@redhat.com Reviewed-by: Max Reitz Signed-off-by: Max Reitz --- migration/block.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/migration/block.c b/migration/block.c index 0c

[Qemu-devel] [PULL 12/17] block: Drop bdrv_find

2015-03-16 Thread Kevin Wolf
From: Fam Zheng All callers are converted, so drop it. Signed-off-by: Fam Zheng Message-id: 1425296209-1476-5-git-send-email-f...@redhat.com Reviewed-by: Max Reitz Signed-off-by: Max Reitz --- block.c | 9 - include/block/block.h | 1 - 2 files changed, 10 deletions(-)

[Qemu-devel] [PULL 08/17] iotests: Test non-self-referential qcow2 refblocks

2015-03-16 Thread Kevin Wolf
From: Max Reitz It is easy to create only self-referential refblocks, but there are cases where that is impossible. This adds a test for two of those cases (combined in a single test case). Suggested-by: Eric Blake Signed-off-by: Max Reitz Message-id: 1417798412-15330-1-git-send-email-mre...@r

Re: [Qemu-devel] [PATCH 2/6] fw_cfg: remove support for guest-side data writes

2015-03-16 Thread Laszlo Ersek
On 03/16/15 15:15, Gabriel L. Somlo wrote: > The fw_cfg device allowed guest-side data writes to overwrite the > selected entry in place, without allowing modification to the size > of the entry, and with the ability to invoke a callback each time > the entry was overwritten completely. > > To dat

[Qemu-devel] [PULL 09/17] monitor: Convert bdrv_find to blk_by_name

2015-03-16 Thread Kevin Wolf
From: Fam Zheng Signed-off-by: Fam Zheng Message-id: 1425296209-1476-2-git-send-email-f...@redhat.com Reviewed-by: Max Reitz Signed-off-by: Max Reitz --- monitor.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/monitor.c b/monitor.c index c86a89e..8b703f9 100644

[Qemu-devel] [PULL 11/17] blockdev: Convert bdrv_find to blk_by_name

2015-03-16 Thread Kevin Wolf
From: Fam Zheng Signed-off-by: Fam Zheng Message-id: 1425296209-1476-4-git-send-email-f...@redhat.com Reviewed-by: Max Reitz Signed-off-by: Max Reitz --- blockdev.c | 92 -- 1 file changed, 59 insertions(+), 33 deletions(-) diff --g

[Qemu-devel] [PULL 15/17] block/vpc: make calculate_geometry spec conform

2015-03-16 Thread Kevin Wolf
From: Peter Lieven The VHD spec [1] allows for total_sectors of 65535 x 16 x 255 (~127GB) represented by a CHS geometry. If total_sectors is greater than 65535 x 16 x 255 this geometry is set as a maximum. Qemu, Hyper-V and disk2vhd use this special geometry as an indicator to use the image curr

[Qemu-devel] [PULL 14/17] vpc: Ignore geometry for large images

2015-03-16 Thread Kevin Wolf
The CHS calculation as done per the VHD spec imposes a maximum image size of ~127 GB. Real VHD images exist that are larger than that. Apparently there are two separate non-standard ways to achieve this: You could use more heads than the spec does - this is the option that qemu-img create chooses.

[Qemu-devel] [PULL 17/17] block/vpc: remove disabled code from get_sector_offset

2015-03-16 Thread Kevin Wolf
From: Peter Lieven The code to check the bitmap for the allocation status of each sector has been "disabled by reason" ever since the vpc driver existed. The reason might be that we might end up reading sector by sector in vpc_read if we really used it. This would be a performance desaster. The

Re: [Qemu-devel] [PATCH 8/9] virtio-gpu: add to display-vga test

2015-03-16 Thread Paolo Bonzini
On 13/03/2015 10:47, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann > --- > tests/Makefile | 3 +++ > tests/display-vga-test.c | 18 ++ > 2 files changed, 21 insertions(+) > > diff --git a/tests/Makefile b/tests/Makefile > index 588f438..55ad89f 100644 > --- a/t

Re: [Qemu-devel] [PATCH v3 0/7] Add support for passthru cards to libcacard

2015-03-16 Thread Paolo Bonzini
On 16/03/2015 17:52, Jeremy White wrote: > It seemed as though the convention was that all non static functions > went into the .syms file; I may have misunderstood. I suspect that the .syms file was introduced as a way to hide utility functions from libqemuutil.a. Now that libqemuutil is not u

[Qemu-devel] [RFC 2/5] memory: Add MemTxAttrs argument to io_mem_read and io_mem_write

2015-03-16 Thread Peter Maydell
Add a MemTxAttrs argument to the io_mem_read() and io_mem_write() functions. In this commit this is simply pushing the ability to specify attributes out one level of the callstack, and all the callers currently pass MEMTXATTRS_UNSPECIFIED. Signed-off-by: Peter Maydell --- exec.c

[Qemu-devel] [RFC 4/5] Add MemTxAttrs to the IOTLB

2015-03-16 Thread Peter Maydell
Add a MemTxAttrs field to the IOTLB, and allow target-specific code to set it via a new tlb_set_page_with_attrs() function; pass the attributes through to the device when making IO accesses. Signed-off-by: Peter Maydell --- cputlb.c| 18 +++--- include/exec/cpu-defs.h

[Qemu-devel] [RFC 5/5] target-arm: Honour NS bits in page tables

2015-03-16 Thread Peter Maydell
Honour the NS bit in ARM page tables: * when adding entries to the TLB, include the Secure/NonSecure transaction attribute * set the NS bit in the PAR when doing ATS operations Note that we don't yet correctly use the NSTable bit to cause the page table walk itself to use the right attributes

[Qemu-devel] [RFC 1/5] memory: Define API for MemoryRegionOps to take attrs and return status

2015-03-16 Thread Peter Maydell
Define an API so that devices can register MemoryRegionOps whose read and write callback functions are passed an arbitrary pointer to some transaction attributes and can return a success-or-failure status code. This will allow us to model devices which: * behave differently for ARM Secure/NonSecur

Re: [Qemu-devel] lsi53c895a lsi_do_dma assertion failure

2015-03-16 Thread Paolo Bonzini
On 16/03/2015 16:59, Chris Takemura wrote: > Hi everyone, > > We're using qemu as a device model for xen 4.4. Lately we've been > having qemu crashes with this output: > > lsi_scsi: error: Unhandled writeb 0xff = 0x0 > > lsi_scsi: error: Unhandled writeb 0x100 = 0x0 > > lsi_scsi: error: Unha

[Qemu-devel] [RFC 0/5] Memory transaction attributes API

2015-03-16 Thread Peter Maydell
This is an RFC patchset aimed at getting comment on some memory API changes to support "transaction attributes", ie sideband information that goes along with a memory read or write access to define things like ARM secure/nonsecure, CPU/transaction master ID, privileged/nonprivileged. (See also pre

[Qemu-devel] [RFC 3/5] Make CPU iotlb a structure rather than a plain hwaddr

2015-03-16 Thread Peter Maydell
Make the CPU iotlb a structure rather than a plain hwaddr; this will allow us to add transaction attributes to it. Signed-off-by: Peter Maydell --- cputlb.c| 4 ++-- include/exec/cpu-defs.h | 13 +++-- softmmu_template.h | 32 +--- 3 file

Re: [Qemu-devel] [PULL 00/11] Migration pull request

2015-03-16 Thread Peter Maydell
On 16 March 2015 at 13:41, Juan Quintela wrote: > The following changes since commit 2dfe7d07e2f40adb18a0b0cd286f3d327692d0fc: > > Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20150316' into > staging (2015-03-16 11:44:55 +) > > are available in the

[Qemu-devel] [PATCH] qdev: Make -device FOO, help help again when FOO is not pluggable

2015-03-16 Thread Markus Armbruster
Doesn't work since commit 31bed55 changed qdev_device_help() to reject abstract devices and devices that have cannot_instantiate_with_device_add_yet set. The former makes sense: abstract devices are purely internal, and the implementation of the help feature can't cope with them. The latter makes

Re: [Qemu-devel] [PATCH] qdev: Make -device FOO, help help again when FOO is not pluggable

2015-03-16 Thread Paolo Bonzini
On 16/03/2015 18:33, Markus Armbruster wrote: > Doesn't work since commit 31bed55 changed qdev_device_help() to reject > abstract devices and devices that have > cannot_instantiate_with_device_add_yet set. > > The former makes sense: abstract devices are purely internal, and the > implementation

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

2015-03-16 Thread Bandan Das
jacob jacob writes: > I also see the following in dmesg in the VM. > > [0.095758] ACPI: PCI Root Bridge [PCI0] (domain [bus 00-ff]) > [0.096006] acpi PNP0A03:00: ACPI _OSC support notification failed, > disabling PCIe ASPM > [0.096915] acpi PNP0A03:00: Unable to request _OSC cont

Re: [Qemu-devel] [PATCH] qdev: Make -device FOO, help help again when FOO is not pluggable

2015-03-16 Thread Eduardo Habkost
On Mon, Mar 16, 2015 at 06:33:52PM +0100, Markus Armbruster wrote: > Doesn't work since commit 31bed55 changed qdev_device_help() to reject > abstract devices and devices that have > cannot_instantiate_with_device_add_yet set. > > The former makes sense: abstract devices are purely internal, and t

Re: [Qemu-devel] KVM emulation failure with recent kernel and QEMU Seabios

2015-03-16 Thread Bandan Das
Jan Kiszka writes: > Am 2015-03-12 um 09:11 schrieb Gerd Hoffmann: >> On Do, 2015-03-12 at 09:09 +0100, Jan Kiszka wrote: >>> Hi, >>> >>> apparently since the latest QEMU updates I'm getting this once in a >>> while: >> >> http://www.seabios.org/pipermail/seabios/2015-March/008897.html > > OK...

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

2015-03-16 Thread jacob jacob
On Mon, Mar 16, 2015 at 2:12 PM, Bandan Das wrote: > jacob jacob writes: > >> I also see the following in dmesg in the VM. >> >> [0.095758] ACPI: PCI Root Bridge [PCI0] (domain [bus 00-ff]) >> [0.096006] acpi PNP0A03:00: ACPI _OSC support notification failed, >> disabling PCIe ASPM >

Re: [Qemu-devel] [PATCH 2/9] virtio-gpu/2d: add virtio gpu core code

2015-03-16 Thread Max Reitz
On 2015-03-13 at 05:47, Gerd Hoffmann wrote: This patch adds the core code for virtio gpu emulation, covering 2d support. Written by Dave Airlie and Gerd Hoffmann. Signed-off-by: Dave Airlie Signed-off-by: Gerd Hoffmann --- hw/display/Makefile.objs | 2 + hw/display/virtio-gpu.c

Re: [Qemu-devel] [PULL for-2.3] tcg optimization fix

2015-03-16 Thread Peter Maydell
#x27;remotes/pmaydell/tags/pull-target-arm-20150316' into staging (2015-03-16 > 13:56:10 +) > > are available in the git repository at: > > git://github.com/rth7680/qemu.git tags/tcg-pull-20150316 > > for you to fetch changes up to 2374c4b8375072da1f401c6daccc68ae76c

Re: [Qemu-devel] [PATCH 2/6] fw_cfg: remove support for guest-side data writes

2015-03-16 Thread Gabriel L. Somlo
On Mon, Mar 16, 2015 at 06:02:45PM +0100, Laszlo Ersek wrote: > On 03/16/15 15:15, Gabriel L. Somlo wrote: > > The fw_cfg device allowed guest-side data writes to overwrite the > > selected entry in place, without allowing modification to the size > > of the entry, and with the ability to invoke a

Re: [Qemu-devel] [PATCH 3/9] virtio-gpu-pci: add virtio pci support

2015-03-16 Thread Max Reitz
On 2015-03-13 at 05:47, Gerd Hoffmann wrote: This patch adds virtio-gpu-pci, which is the pci proxy for the virtio gpu device. With this patch in place virtio-gpu is functional. You need a linux guest with a virtio-gpu driver though, and output will appear pretty late in boot, once the kernel i

Re: [Qemu-devel] Fedora Virt preview and qemu 2.2.1 update

2015-03-16 Thread Cole Robinson
On 03/13/2015 08:07 PM, Kashyap Chamarthy wrote: > On Fri, Mar 13, 2015 at 10:18:39PM +0100, Gerhard Wiesinger wrote: >> Hello, >> >> Any updates for the >> http://fedorapeople.org/groups/virt/virt-preview/fedora-virt-preview.repo >> repo to qemu 2.2.1 planned? > > The above is maintained by Fedor

Re: [Qemu-devel] [PATCH 3/6] fw_cfg: assertion to detect memory leak when adding new data blob

2015-03-16 Thread Laszlo Ersek
On 03/16/15 15:15, Gabriel L. Somlo wrote: > Currently, fw_cfg_add_bytes_read_callback() does not deal with > the possibility that the data pointer at the requested key position > has previously been set, and assumes it will be called exactly once > for each key value. > > This patch introduces an

Re: [Qemu-devel] [PATCH 4/9] virtio-vga: add virtio gpu device with vga compatibility

2015-03-16 Thread Max Reitz
On 2015-03-13 at 05:47, Gerd Hoffmann wrote: This patch adds a virtio-vga device. It is simliar to virtio-gpu-pci, but it also adds in vga compatibility, so guests without native virtio-gpu support can drive the device in vga mode. Written by Dave Airlie and Gerd Hoffmann. Signed-off-by: Dave

Re: [Qemu-devel] E5-2620v2 - emulation stop error

2015-03-16 Thread Andrey Korolyov
For now, it looks like bug have a mixed Murphy-Heisenberg nature, as it appearance is very rare (compared to the number of actual launches) and most probably bounded to the physical characteristics of my production nodes. As soon as I reach any reproducible path for a regular workstation environmen

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

2015-03-16 Thread Peter Maydell
t; > https://github.com/bkoppelmann/qemu-tricore-upstream.git > tags/pull-tricore-20150316 > > for you to fetch changes up to b724b012a4ea9877c5ddad254df63735a945618c: > > target-tricore: Add instructions of SYS opcode format (2015-03-16 15:53:08 > +) > > --

Re: [Qemu-devel] E5-2620v2 - emulation stop error

2015-03-16 Thread Dr. David Alan Gilbert
eing it with the new ROM that went in today? ( remotes/kraxel/tags/pull-seabios-1.8.1-20150316-1 ) and it doesn't trigger with my one line script? Dave -- Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK

Re: [Qemu-devel] [PATCH 4/6] fw_cfg: exit with error when dupe fw_cfg file name inserted

2015-03-16 Thread Laszlo Ersek
On 03/16/15 15:15, Gabriel L. Somlo wrote: > Currently, when fw_cfg_add_file_callback() is invoked with a > duplicate file name, it gets to insert the data blob at the > next available selector, but exit (signalling the error via > a call to the trace_fw_cfg_add_file_dupe() function) before > incre

Re: [Qemu-devel] [PATCH 5/9] virtio-vga: add '-vga virtio' support

2015-03-16 Thread Max Reitz
On 2015-03-13 at 05:47, Gerd Hoffmann wrote: Some convinience fluff: Add support for '-vga virtio', also add virtio-vga to the list of vga cards so '-device virtio-vga' will turn off the default vga. Written by Dave Airlie and Gerd Hoffmann. Signed-off-by: Dave Airlie Signed-off-by: Gerd Hoff

Re: [Qemu-devel] [PATCH 7/9] virtio-vga: add vgabios binary

2015-03-16 Thread Max Reitz
On 2015-03-13 at 05:47, Gerd Hoffmann wrote: Add prebuilt vgabios-virtio.bin binary. Signed-off-by: Gerd Hoffmann --- pc-bios/vgabios-virtio.bin | Bin 0 -> 37376 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 pc-bios/vgabios-virtio.bin Well, I can't really revi

Re: [Qemu-devel] [PATCH 6/9] virtio-vga: add vgabios configuration

2015-03-16 Thread Max Reitz
On 2015-03-13 at 05:47, Gerd Hoffmann wrote: Add seavgabios configuration for virtio-vga, hook up the new vgabios in the makefiles. Signed-off-by: Gerd Hoffmann --- Makefile | 2 +- roms/Makefile | 2 +- roms/config.vga-virtio | 6 ++ 3 files changed, 8 insertion

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

2015-03-16 Thread Bandan Das
jacob jacob writes: > On Mon, Mar 16, 2015 at 2:12 PM, Bandan Das wrote: >> jacob jacob writes: >> >>> I also see the following in dmesg in the VM. >>> >>> [0.095758] ACPI: PCI Root Bridge [PCI0] (domain [bus 00-ff]) >>> [0.096006] acpi PNP0A03:00: ACPI _OSC support notification fa

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

2015-03-16 Thread jacob jacob
On Mon, Mar 16, 2015 at 3:49 PM, Bandan Das wrote: > jacob jacob writes: > >> On Mon, Mar 16, 2015 at 2:12 PM, Bandan Das wrote: >>> jacob jacob writes: >>> I also see the following in dmesg in the VM. [0.095758] ACPI: PCI Root Bridge [PCI0] (domain [bus 00-ff]) [

Re: [Qemu-devel] [qemu] How to reliably obtain physaddr from vaddr

2015-03-16 Thread Emilio G. Cota
On Sun, Mar 15, 2015 at 20:42:31 -0400, Emilio G. Cota wrote: > On Sun, Mar 15, 2015 at 16:10:21 -0700, Richard Henderson wrote: > > It goes into softmmu_template.h. Which then tests a victim tlb, and finally > > calls tlb_fill. You'll probably need to do the same. > > I've defined this vaddr->p

Re: [Qemu-devel] [PATCH 2/9] virtio-gpu/2d: add virtio gpu core code

2015-03-16 Thread Max Reitz
On 2015-03-13 at 05:47, Gerd Hoffmann wrote: This patch adds the core code for virtio gpu emulation, covering 2d support. Written by Dave Airlie and Gerd Hoffmann. Signed-off-by: Dave Airlie Signed-off-by: Gerd Hoffmann --- hw/display/Makefile.objs | 2 + hw/display/virtio-gpu.c

Re: [Qemu-devel] [2.4 PATCH v3 01/19] docs: incremental backup documentation

2015-03-16 Thread Max Reitz
On 2015-03-13 at 14:30, John Snow wrote: Signed-off-by: John Snow --- docs/bitmaps.md | 311 1 file changed, 311 insertions(+) create mode 100644 docs/bitmaps.md Reviewed-by: Max Reitz

Re: [Qemu-devel] [2.4 PATCH v3 04/19] qmp: Add block-dirty-bitmap-add and block-dirty-bitmap-remove

2015-03-16 Thread Max Reitz
On 2015-03-13 at 14:30, John Snow wrote: The new command pair is added to manage a user created dirty bitmap. The dirty bitmap's name is mandatory and must be unique for the same device, but different devices can have bitmaps with the same names. The granularity is an optional field. If it is no

Re: [Qemu-devel] [2.4 PATCH v3 04/19] qmp: Add block-dirty-bitmap-add and block-dirty-bitmap-remove

2015-03-16 Thread John Snow
On 03/16/2015 04:44 PM, Max Reitz wrote: On 2015-03-13 at 14:30, John Snow wrote: The new command pair is added to manage a user created dirty bitmap. The dirty bitmap's name is mandatory and must be unique for the same device, but different devices can have bitmaps with the same names. The g

Re: [Qemu-devel] [2.4 PATCH v3 06/19] hbitmap: cache array lengths

2015-03-16 Thread Max Reitz
On 2015-03-13 at 14:30, John Snow wrote: As a convenience: between incremental backups, bitmap migrations and bitmap persistence we seem to need to recalculate these a lot. Because the lengths are a little bit-twiddly, let's just solidly cache them and be done with it. Signed-off-by: John Snow

Re: [Qemu-devel] [2.4 PATCH v3 04/19] qmp: Add block-dirty-bitmap-add and block-dirty-bitmap-remove

2015-03-16 Thread Max Reitz
On 2015-03-16 at 16:53, John Snow wrote: On 03/16/2015 04:44 PM, Max Reitz wrote: On 2015-03-13 at 14:30, John Snow wrote: The new command pair is added to manage a user created dirty bitmap. The dirty bitmap's name is mandatory and must be unique for the same device, but different devices

Re: [Qemu-devel] [2.4 PATCH v3 07/19] hbitmap: add hbitmap_merge

2015-03-16 Thread Max Reitz
On 2015-03-13 at 14:30, John Snow wrote: We add a bitmap merge operation to assist in error cases where we wish to combine two bitmaps together. This is algorithmically O(bits) provided HBITMAP_LEVELS remains constant. For a full bitmap on a 64bit machine: sum(bits/64^k, k, 0, HBITMAP_LEVELS) ~=

Re: [Qemu-devel] [2.4 PATCH v3 11/19] qmp: add block-dirty-bitmap-clear

2015-03-16 Thread Max Reitz
On 2015-03-13 at 14:30, John Snow wrote: Add bdrv_clear_dirty_bitmap and a matching QMP command, qmp_block_dirty_bitmap_clear that enables a user to reset the bitmap attached to a drive. This allows us to reset a bitmap in the event of a full drive backup. Signed-off-by: John Snow --- block.

Re: [Qemu-devel] [2.4 PATCH v3 12/19] qmp: Add dirty bitmap status field in query-block

2015-03-16 Thread Max Reitz
On 2015-03-13 at 14:30, John Snow wrote: Add the "frozen" status booleans, to inform clients when a bitmap is occupied doing a task. Signed-off-by: Fam Zheng Signed-off-by: John Snow --- block.c | 1 + qapi/block-core.json | 5 - 2 files changed, 5 insertions(+), 1 deletio

Re: [Qemu-devel] [2.4 PATCH v3 11/19] qmp: add block-dirty-bitmap-clear

2015-03-16 Thread John Snow
On 03/16/2015 04:57 PM, Max Reitz wrote: On 2015-03-13 at 14:30, John Snow wrote: Add bdrv_clear_dirty_bitmap and a matching QMP command, qmp_block_dirty_bitmap_clear that enables a user to reset the bitmap attached to a drive. This allows us to reset a bitmap in the event of a full drive bac

Re: [Qemu-devel] [PATCH] spapr: Add missing checks for NULL pointers and report failures

2015-03-16 Thread Alexander Graf
On 14.03.15 11:29, Stefan Weil wrote: > This fixes potential runtime crashes and two warnings from Coverity. > > The new error message does not add a prefix "qemu:" because that is > already done in function hw_error. It also starts with an uppercase > letter because that seems to be the mostly

Re: [Qemu-devel] [PATCH] fdc: remove sparc sun4m mutations

2015-03-16 Thread John Snow
On 03/14/2015 12:50 PM, Hervé Poussineau wrote: They were introduced in 6f7e9aec5eb5bdfa57a9e458e391b785c283a007 and 82407d1a4035e5bfefb53ffdcb270872f813b34c and lots of bug fixes were done after that. This fixes (at least) the detection of the floppy controller on Debian 4.0r9/SPARC, and SS

Re: [Qemu-devel] [PATCH] spapr: Add missing checks for NULL pointers and report failures

2015-03-16 Thread Stefan Weil
Am 16.03.2015 um 22:48 schrieb Alexander Graf: On 14.03.15 11:29, Stefan Weil wrote: This fixes potential runtime crashes and two warnings from Coverity. The new error message does not add a prefix "qemu:" because that is already done in function hw_error. It also starts with an uppercase let

Re: [Qemu-devel] Fedora Virt preview and qemu 2.2.1 update

2015-03-16 Thread Gerhard Wiesinger
On 16.03.2015 19:49, Cole Robinson wrote: Since 2.3 rc0 should be out tomorrow, I'll just wait for that to be released and build it for rawhide/f22 and virt-preview Shouldn't we have a 2.2.1 version, too? A reference point between 2.1 and the not yet released version 2.3 version would be fin

[Qemu-devel] [Bug 1432861] [NEW] configure can't find opengl

2015-03-16 Thread Chase Rayfield
Public bug reported: When passing --enable-opengl to ./configure qemu now looks for a glx.pc but this doesn't exist on Gentoo or apparently Fedora 21 according to the mailing list reports. On my amd64 funtoo box these are the *glx.pc files found /usr/lib32/pkgconfig/xcb-glx.pc /usr/lib32/pkgconfi

Re: [Qemu-devel] [qemu] How to reliably obtain physaddr from vaddr

2015-03-16 Thread Peter Maydell
On 16 March 2015 at 20:08, Emilio G. Cota wrote: > Removing the call to tlb_fill() on a TLB miss solves the problem. > But of course this also means the helper doesn't work as intended. > > I fail to see why calling tlb_fill() from the helper causes > trouble. What I thought would happen is that

Re: [Qemu-devel] [RFC PATCH] target-ppc: Register CPU class per family only when needed

2015-03-16 Thread Alexey Kardashevskiy
On 03/16/2015 09:40 PM, Andreas Färber wrote: Am 16.03.2015 um 05:58 schrieb Alexey Kardashevskiy: On 03/06/2015 12:17 AM, Alexander Graf wrote: On 05.03.15 02:56, Alexey Kardashevskiy wrote: At the moment when running in KVM mode, QEMU registers "host" class to match the current CPU PVR value

[Qemu-devel] [PATCH v2 0/7] Add limited support of VMware's hyper-call rpc

2015-03-16 Thread Don Slutz
Changes v1 to v2: Added live migration code. Adjust data structures for migration. Switch to GHashTable. Eric Blake s/spawened/spawned/ Done s/traceing/tracing/ Done Change "error_set(errp, ERROR_CLASS_GENERIC_ERROR, " to "error_setg(errp, " Done W

Re: [Qemu-devel] [PATCH v3 1/1] char: cadence_uart: Convert to realize()

2015-03-16 Thread Alistair Francis
On Sat, Feb 28, 2015 at 6:52 PM, Alistair Francis wrote: > On Sat, Feb 28, 2015 at 3:59 AM, Andreas Färber wrote: >> Am 27.02.2015 um 02:48 schrieb Alistair Francis: >>> Use the DeviceClass realize() and init() instead of >>> the deprecated SysBusDevice init(). >>> >>> Signed-off-by: Alistair Fra

[Qemu-devel] [PATCH v2 2/7] vmport_rpc: Add the object vmport_rpc

2015-03-16 Thread Don Slutz
This is the 1st part of "Add limited support of VMware's hyper-call rpc". This patch uses existing infrastructure used by vmmouse.c (provided by vmport.c) to handle the VMware backdoor command 30. One of the better on-line references is: https://sites.google.com/site/chitchatvmback/backdoor Mor

[Qemu-devel] [PATCH v2 1/7] vmport.c: Fix vmport_cmd_ram_size

2015-03-16 Thread Don Slutz
Based on https://sites.google.com/site/chitchatvmback/backdoor and testing on ESXi, this should be in MB not bytes. Signed-off-by: Don Slutz --- hw/misc/vmport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/misc/vmport.c b/hw/misc/vmport.c index 7fcc00d..6b350ce 10064

[Qemu-devel] [PATCH v2 7/7] MAINTAINERS: add VMware port

2015-03-16 Thread Don Slutz
Signed-off-by: Don Slutz --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d7e9ba2..8672e00 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -754,6 +754,13 @@ S: Maintained F: hw/net/vmxnet* F: hw/scsi/vmw_pvscsi* +VMware port +M: Don Slut

<    1   2   3   4   >