[Bug 1848556] Re: qemu-img check failing on remote image in Eoan

2019-10-27 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/qemu/+git/qemu/+merge/374771 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1848556 Title: qemu-img check failing on

[Bug 1848556] Re: qemu-img check failing on remote image in Eoan

2019-10-27 Thread Christian Ehrhardt 
** Changed in: qemu (Ubuntu Eoan) Assignee: (unassigned) => Christian Ehrhardt  (paelzer) ** Changed in: qemu (Ubuntu Focal) Assignee: (unassigned) => Christian Ehrhardt  (paelzer) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed t

[Bug 1848556] Re: qemu-img check failing on remote image in Eoan

2019-10-27 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/qemu/+git/qemu/+merge/374770 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1848556 Title: qemu-img check failing on

[PULL 4/4] COLO-compare: Fix incorrect `if` logic

2019-10-27 Thread Jason Wang
From: Fan Yang 'colo_mark_tcp_pkt' should return 'true' when packets are the same, and 'false' otherwise. However, it returns 'true' when 'colo_compare_packet_payload' returns non-zero while 'colo_compare_packet_payload' is just a 'memcmp'. The result is that COLO-compare reports inconsistent T

[PULL 3/4] virtio-net: prevent offloads reset on migration

2019-10-27 Thread Jason Wang
From: Mikhail Sennikovsky Currently offloads disabled by guest via the VIRTIO_NET_CTRL_GUEST_OFFLOADS_SET command are not preserved on VM migration. Instead all offloads reported by guest features (via VIRTIO_PCI_GUEST_FEATURES) get enabled. What happens is: first the VirtIONet::curr_guest_offloa

[PULL 1/4] net: add tulip (dec21143) driver

2019-10-27 Thread Jason Wang
From: Sven Schnelle This adds the basic functionality to emulate a Tulip NIC. Implemented are: - RX and TX functionality - Perfect Frame Filtering - Big/Little Endian descriptor support - 93C46 EEPROM support - LXT970 PHY Not implemented, mostly because i had no OS using these functions: - Im

[PULL 2/4] virtio: new post_load hook

2019-10-27 Thread Jason Wang
From: "Michael S. Tsirkin" Post load hook in virtio vmsd is called early while device is processed, and when VirtIODevice core isn't fully initialized. Most device specific code isn't ready to deal with a device in such state, and behaves weirdly. Add a new post_load hook in a device class inst

[PULL 0/4] Net patches

2019-10-27 Thread Jason Wang
The following changes since commit 187f35512106501fe9a11057f4d8705431e0026d: Merge remote-tracking branch 'remotes/stsquad/tags/pull-testing-next-251019-3' into staging (2019-10-26 10:13:48 +0100) are available in the git repository at: https://github.com/jasowang/qemu.git tags/net-pull-re

[PATCH v2] qcow2-bitmap: Fix uint64_t left-shift overflow

2019-10-27 Thread Tuguoyi
In check_constraints_on_bitmap(), the sanity check on the granularity will cause uint64_t integer left-shift overflow when cluster_size is 2M and the granularity is BIGGER than 32K. As a result, for a qcow2 disk with cluster_size set to 2M, we could not even create a dirty bitmap with default granu

Re: [PATCH v2 00/20] nvme: support NVMe v1.3d, SGLs and multiple namespaces

2019-10-27 Thread Klaus Birkelund
On Tue, Oct 15, 2019 at 12:38:40PM +0200, Klaus Jensen wrote: > Hi, > > (Quick note to Fam): most of this series is irrelevant to you as the > maintainer of the nvme block driver, but patch "nvme: add support for > scatter gather lists" touches block/nvme.c due to changes in the shared > NvmeCmd s

Re: [PATCH v13 06/12] numa: Extend CLI to provide memory latency and bandwidth information

2019-10-27 Thread Markus Armbruster
Tao Xu writes: > Got it. I will use bytes per second for bandwidth here. Usually we use > nanosecond for memory latency, so if we use second for latency, it may > lose precision. So can I use nanosecond here, because we now use > nanosecond as smallest time unit. Sounds fair, go ahead.

Re: [PATCH v2] net: add tulip (dec21143) driver

2019-10-27 Thread Jason Wang
On 2019/10/25 下午7:43, Michael S. Tsirkin wrote: On Tue, Oct 22, 2019 at 05:54:13PM +0200, Sven Schnelle wrote: This adds the basic functionality to emulate a Tulip NIC. Jason, do you want to queue this? Overall ok so Acked-by: Michael S. Tsirkin Yes, I've queued V3 of this. Thanks

Re: [PATCH v20 0/5] Add ARMv8 RAS virtualization support in QEMU

2019-10-27 Thread gengdongjiu
Hi Michael/All On 2019/10/27 18:17, Michael S. Tsirkin wrote: > On Sat, Oct 26, 2019 at 11:24:42AM +0800, Xiang Zheng wrote: >> In the ARMv8 platform, the CPU error types are synchronous external >> abort(SEA) >> and SError Interrupt (SEI). If exception happens in guest, sometimes it's >> better

Re: [PATCH v20 0/5] Add ARMv8 RAS virtualization support in QEMU

2019-10-27 Thread Xiang Zheng
On 2019/10/27 18:17, Michael S. Tsirkin wrote: > On Sat, Oct 26, 2019 at 11:24:42AM +0800, Xiang Zheng wrote: >> In the ARMv8 platform, the CPU error types are synchronous external >> abort(SEA) >> and SError Interrupt (SEI). If exception happens in guest, sometimes it's >> better >> for guest

Failure of troublesome vhost-user/flags-mismatch test can't be reproduced

2019-10-27 Thread Coiby Xu
Hi, Can anyone reproduce the failure of one troublesome test vhost-user/flags-mismatch (https://wiki.qemu.org/Testing/CI/TroublesomeTests) which has been disabled since Aug 15 2017 ( https://patchwork.kernel.org/patch/9939431/)? Last month I downloaded QEMU source code (commit ID: 3483534ec3) and

Re: [PATCH v13 06/12] numa: Extend CLI to provide memory latency and bandwidth information

2019-10-27 Thread Tao Xu
On 10/26/2019 4:51 AM, Eduardo Habkost wrote: On Fri, Oct 25, 2019 at 09:44:50PM +0200, Markus Armbruster wrote: Igor Mammedov writes: On Fri, 25 Oct 2019 14:33:53 +0800 Tao Xu wrote: On 10/23/2019 11:28 PM, Igor Mammedov wrote: On Sun, 20 Oct 2019 19:11:19 +0800 Tao Xu wrote: [...] +#

Re: [Qemu-devel] [PATCH] migration: check length directly to make sure the range is aligned

2019-10-27 Thread Wei Yang
On Fri, Jul 19, 2019 at 07:06:51PM +0100, Dr. David Alan Gilbert wrote: >* Paolo Bonzini (pbonz...@redhat.com) wrote: >> On 19/07/19 19:54, Dr. David Alan Gilbert wrote: >> >> -if ((uintptr_t)host_endaddr & (rb->page_size - 1)) { >> >> -error_report("ram_block_discard_range: Una

Fwd: [retrocomputing devroom] FOSDEM 2020 - Retrocomputing DevRoom Call for Participation

2019-10-27 Thread François Revol
Hi, anyone wants to talk about using QEMU for old platform emulation? (like, m68k or older…) François. Message transféré Sujet : [retrocomputing devroom] FOSDEM 2020 - Retrocomputing DevRoom Call for Participation Date : Sun, 27 Oct 2019 23:48:33 +0100 De : Pau Garcia Quiles

Re: [PULL v2 00/73] tcg plugins and testing updates

2019-10-27 Thread Peter Maydell
On Fri, 25 Oct 2019 at 21:24, Markus Armbruster wrote: > Alex Bennée writes: > > I'd rather not unless we can make an exception for late merging of the > > PR. I've worked quite hard to make sure everything is ready for the 4.2 > > window and I'd rather not miss a whole release cycle on a > > mis

Re: [PULL v3 00/15] testing updates

2019-10-27 Thread Peter Maydell
On Fri, 25 Oct 2019 at 20:37, Alex Bennée wrote: > > The following changes since commit 03bf012e523ecdf047ac56b2057950247256064d: > > Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging > (2019-10-25 14:59:53 +0100) > > are available in the Git repository at: > > https

[PULL 3/3] contrib/gitdm: add China Mobile to the domain map

2019-10-27 Thread Alex Bennée
We've had a number of contributions from this domain. Mao has confirmed they are company contributions. Signed-off-by: Alex Bennée Acked-by: Mao Zhongyi Cc: Zhang Shengju diff --git a/contrib/gitdm/domain-map b/contrib/gitdm/domain-map index 9efe066ec9c..dd79147c769 100644 --- a/contrib/gitdm/

[PULL 1/3] contrib/gitdm: add Emanuele as an individual

2019-10-27 Thread Alex Bennée
Again this is guess work based on public websites. Please confirm. Signed-off-by: Alex Bennée Acked-by: Emanuele Giuseppe Esposito diff --git a/contrib/gitdm/group-map-individuals b/contrib/gitdm/group-map-individuals index 1c847174380..bcb50e325cc 100644 --- a/contrib/gitdm/group-map-individu

[PULL 2/3] contrib/gitdm: add Andrey to the individual group

2019-10-27 Thread Alex Bennée
Signed-off-by: Alex Bennée Acked-by: Andrey Smirnov diff --git a/contrib/gitdm/group-map-individuals b/contrib/gitdm/group-map-individuals index bcb50e325cc..cf8a2ce3671 100644 --- a/contrib/gitdm/group-map-individuals +++ b/contrib/gitdm/group-map-individuals @@ -15,3 +15,4 @@ samuel.thiba...@

[PULL 0/3] a few gitdm updates

2019-10-27 Thread Alex Bennée
The following changes since commit 856bd2c28e108ad0eb909bbbf3774f6f8bd7c2d4: Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2019-10-25 21:57:41 +0100) are available in the Git repository at: https://github.com/stsquad/qemu.git tags/pull-gitdm-next-2710

Re: [PATCH 2/5] ipmi: Add support to customize OEM functions

2019-10-27 Thread Corey Minyard
On Sun, Oct 27, 2019 at 06:47:39PM +0100, David Gibson wrote: > On Mon, Oct 21, 2019 at 09:30:17AM -0500, Corey Minyard wrote: > > On Mon, Oct 21, 2019 at 03:12:12PM +0200, Cédric Le Goater wrote: > > > The routine ipmi_register_oem_netfn() lets external modules register > > > command handlers for

Re: [PATCH 2/5] ipmi: Add support to customize OEM functions

2019-10-27 Thread David Gibson
On Mon, Oct 21, 2019 at 09:30:17AM -0500, Corey Minyard wrote: > On Mon, Oct 21, 2019 at 03:12:12PM +0200, Cédric Le Goater wrote: > > The routine ipmi_register_oem_netfn() lets external modules register > > command handlers for OEM functions. Required for the PowerNV machine. > > Comments inline.

Re: [PATCH 1/5] ppc/pnv: Add a PNOR model

2019-10-27 Thread David Gibson
On Mon, Oct 21, 2019 at 03:12:11PM +0200, Cédric Le Goater wrote: > From: Cédric Le Goater > > On a POWERPC PowerNV system, the host firmware is stored in a PNOR > flash chip which contents is mapped on the LPC bus. This model adds a > simple dummy device to map the contents of a block device in

Re: [RFC v2 06/22] hw/pci: modify pci_setup_iommu() to set PCIIOMMUOps

2019-10-27 Thread David Gibson
On Thu, Oct 24, 2019 at 08:34:27AM -0400, Liu Yi L wrote: > This patch modifies pci_setup_iommu() to set PCIIOMMUOps instead of only > setting PCIIOMMUFunc. PCIIOMMUFunc is previously used to get an address > space for a device in vendor specific way. The PCIIOMMUOps still offers > this functionali

Re: [RFC v2 04/22] hw/iommu: introduce IOMMUContext

2019-10-27 Thread David Gibson
On Thu, Oct 24, 2019 at 08:34:25AM -0400, Liu Yi L wrote: > From: Peter Xu > > This patch adds IOMMUContext as an abstract layer of IOMMU related > operations. The current usage of this abstract layer is setup dual- > stage IOMMU translation (vSVA) for vIOMMU. > > To setup dual-stage IOMMU trans

Re: [PATCH 5/6] spapr: Don't use CPU_FOREACH() in 'info pic'

2019-10-27 Thread David Gibson
On Thu, Oct 24, 2019 at 11:28:45AM +0200, Greg Kurz wrote: > On Thu, 24 Oct 2019 14:02:31 +1100 > David Gibson wrote: > > > On Wed, Oct 23, 2019 at 04:52:21PM +0200, Greg Kurz wrote: > > > Now that presenter objects are parented to the interrupt controller, stop > > > relying on CPU_FOREACH() whi

Re: [PATCH 0/3] ppc: Fix 'info pic' crash

2019-10-27 Thread David Gibson
On Thu, Oct 24, 2019 at 04:27:16PM +0200, Greg Kurz wrote: > The interrupt presenters are currently parented to their associated > VCPU, and we rely on CPU_FOREACH() when we need to perform a specific > task with them. Like exposing their state with 'info pic', or finding > the target VCPU for an i

Re: [PATCH v5 4/7] ppc/pnv: Add a PnvChip pointer to PnvCore

2019-10-27 Thread David Gibson
On Thu, Oct 24, 2019 at 07:30:30PM +0200, Greg Kurz wrote: > On Thu, 24 Oct 2019 13:38:12 +1100 > David Gibson wrote: > > > On Tue, Oct 22, 2019 at 06:38:09PM +0200, Cédric Le Goater wrote: > > > We will use it to reset the interrupt presenter from the CPU reset > > > handler. > > > > > > Signed

Re: [PATCH 6/6] xive: Don't use CPU_FOREACH() to perform CAM line matching

2019-10-27 Thread David Gibson
On Thu, Oct 24, 2019 at 02:33:27PM +0200, Greg Kurz wrote: > On Thu, 24 Oct 2019 14:05:36 +1100 > David Gibson wrote: > > > On Wed, Oct 23, 2019 at 04:52:27PM +0200, Greg Kurz wrote: > > > Now that the TCTX objects are children of the XIVE router, stop > > > using CPU_FOREACH() when looking for a

Re: [PATCH v5 4/7] ppc/pnv: Add a PnvChip pointer to PnvCore

2019-10-27 Thread David Gibson
On Thu, Oct 24, 2019 at 11:57:05AM +0200, Cédric Le Goater wrote: > On 24/10/2019 04:38, David Gibson wrote: > > On Tue, Oct 22, 2019 at 06:38:09PM +0200, Cédric Le Goater wrote: > >> We will use it to reset the interrupt presenter from the CPU reset > >> handler. > >> > >> Signed-off-by: Cédric Le

Re: [PATCH v5 4/7] ppc/pnv: Add a PnvChip pointer to PnvCore

2019-10-27 Thread David Gibson
On Thu, Oct 24, 2019 at 06:48:23PM +0200, Greg Kurz wrote: > On Thu, 24 Oct 2019 11:57:05 +0200 > Cédric Le Goater wrote: > > > On 24/10/2019 04:38, David Gibson wrote: > > > On Tue, Oct 22, 2019 at 06:38:09PM +0200, Cédric Le Goater wrote: > > >> We will use it to reset the interrupt presenter f

Re: [PATCH 3/6] ppc: Reparent presenter objects to the interrupt controller object

2019-10-27 Thread David Gibson
On Thu, Oct 24, 2019 at 11:04:53AM +0200, Greg Kurz wrote: > On Thu, 24 Oct 2019 13:58:41 +1100 > David Gibson wrote: > > > On Wed, Oct 23, 2019 at 04:52:10PM +0200, Greg Kurz wrote: > > > Each VCPU is associated to a presenter object within the interrupt > > > controller, ie. TCTX for XIVE and I

Re: [PATCH v15 01/11] esp: move handle_ti_cmd() cleanup code to esp_do_dma().

2019-10-27 Thread Paolo Bonzini
On 26/10/19 18:45, Laurent Vivier wrote: > To prepare following patches move do_cmd and DMA special case > from handle_ti() to esp_do_dma(). > > This part of the code must be only executed with real DMA, not with > pseudo-DMA. And PDMA is detected in esp_do_dma(), so move this part > of the code i

Re: [PATCH v15 03/11] esp: add pseudo-DMA as used by Macintosh

2019-10-27 Thread Paolo Bonzini
On 26/10/19 18:45, Laurent Vivier wrote: > There is no DMA in Quadra 800, so the CPU reads/writes the data from the > PDMA register (offset 0x100, ESP_PDMA in hw/m68k/q800.c) and copies them > to/from the memory. > > There is a nice assembly loop in the kernel to do that, see > linux/drivers/scsi/

Re: [PATCH v15 02/11] esp: move get_cmd() post-DMA code to get_cmd_cb()

2019-10-27 Thread Paolo Bonzini
On 26/10/19 18:45, Laurent Vivier wrote: > This will be needed to implement pseudo-DMA > > Signed-off-by: Laurent Vivier > --- > hw/scsi/esp.c | 46 +- > 1 file changed, 29 insertions(+), 17 deletions(-) > > diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c

Re: [PATCH 0/5] hw/i386/pc: Extract pc_gsi_create() and pc_i8259_create()

2019-10-27 Thread Paolo Bonzini
On 26/10/19 16:55, Philippe Mathieu-Daudé wrote: > In the patch 'hw/i386: Introduce the microvm machine type' > Sergio uses gsi_handler(), so you need to drop 'hw/i386/pc: > Reduce gsi_handler scope' to keep microvm building. Indeed, and I also have patches on top to move those out of pc.c (otherw

[PATCH] iotests: Test nbd client reconnect

2019-10-27 Thread Andrey Shinkevich
The stress test for an NBD client. The NBD server is disconnected after a client write operation. The NBD client should reconnect and retry the operation. Suggested-by: Denis V. Lunev Signed-off-by: Andrey Shinkevich --- tests/qemu-iotests/277 | 91 ++

Re: [RFC 1/3] WIP virtiofsd: import Linux header file

2019-10-27 Thread Stefan Hajnoczi
On Sat, Oct 26, 2019 at 05:49:11PM -0400, Michael S. Tsirkin wrote: > On Fri, Oct 25, 2019 at 12:01:50PM +0200, Stefan Hajnoczi wrote: > > tests/vhost-user-fs-test.c needs fuse.h. The private copy that > > virtiofsd has can be replaced with a properly imported file using > > update-linux-headers.s

Re: [RFC 0/3] block/file-posix: Work around XFS bug

2019-10-27 Thread Stefan Hajnoczi
On Fri, Oct 25, 2019 at 02:36:49PM +, Vladimir Sementsov-Ogievskiy wrote: > 25.10.2019 17:19, Max Reitz wrote: > > On 25.10.19 15:56, Vladimir Sementsov-Ogievskiy wrote: > >> 25.10.2019 16:40, Vladimir Sementsov-Ogievskiy wrote: > >>> 25.10.2019 12:58, Max Reitz wrote: > Hi, > >

Re: [RFC 0/3] block/file-posix: Work around XFS bug

2019-10-27 Thread Stefan Hajnoczi
On Fri, Oct 25, 2019 at 11:58:46AM +0200, Max Reitz wrote: > As for how we can address the issue, I see three ways: > (1) The one presented in this series: On XFS with aio=native, we extend > tracked requests for post-EOF fallocate() calls (i.e., write-zero > operations) to reach until infi

Re: [PATCH v2] qemu-img.texi: Describe data_file and data_file_raw

2019-10-27 Thread Stefan Hajnoczi
On Mon, Oct 21, 2019 at 09:14:21AM +0800, Han Han wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1763105 > > Signed-off-by: Han Han > --- > qemu-img.texi | 10 ++ > 1 file changed, 10 insertions(+) Reviewed-by: Stefan Hajnoczi signature.asc Description: PGP signature

Re: [PATCH v7 0/8] Packed virtqueue for virtio

2019-10-27 Thread Stefan Hajnoczi
On Fri, Oct 25, 2019 at 07:34:03AM -0400, Michael S. Tsirkin wrote: > On Fri, Oct 25, 2019 at 10:35:19AM +0200, Eugenio Pérez wrote: > > Hi: > > > > This is an updated version of packed virtqueue support based on Wei and > > Jason's > > V6, mainly solving the clang leak detector error CI gave. >

[PATCH] qom/type_initialize_interface: inherit .class_data from the template TypeInfo

2019-10-27 Thread Maciej Bielski
The `TypeInfo::class_data` value of an interface is never properly propagated for initializations of all types implementing the interface. Although interfaces are rarely used, IMHO their functionality is currently a bit incomplete. A `TypeInfo fooable_info` of an interface "fooable" may have the `

Re: [PATCH 00/30] virtiofs daemon (base)

2019-10-27 Thread Michael S. Tsirkin
On Mon, Oct 21, 2019 at 11:58:02AM +0100, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Hi, > This is the 1st set for the virtiofsd - a daemon > that implements the user space side of virtiofs. > > The kernel and qemu device parts recently went in, > so the daemon

Re: [PATCH v20 0/5] Add ARMv8 RAS virtualization support in QEMU

2019-10-27 Thread Michael S. Tsirkin
On Sat, Oct 26, 2019 at 11:24:42AM +0800, Xiang Zheng wrote: > In the ARMv8 platform, the CPU error types are synchronous external abort(SEA) > and SError Interrupt (SEI). If exception happens in guest, sometimes it's > better > for guest to perform the recovery, because host does not know the det

Re: [PATCH v20 3/5] ACPI: Add APEI GHES table generation support

2019-10-27 Thread Michael S. Tsirkin
On Sat, Oct 26, 2019 at 11:24:45AM +0800, Xiang Zheng wrote: > From: Dongjiu Geng > > This patch implements APEI GHES Table generation via fw_cfg blobs. Now > it only supports ARMv8 SEA, a type of GHESv2 error source. Afterwards, > we can extend the supported types if needed. For the CPER section

[Bug 1848901] Re: kvm_mem_ioeventfd_add: error adding ioeventfd: No space left on device (28)

2019-10-27 Thread P.O.
As a sidenote, while running the same ASAv in "GNS3 VM.ova" in oracle virtualbox in the same desktop computer, which apparently uses QEMU 3.1.0, it does work correctly. However I would really like it to work without the VM inbetween directly in my OS QEMU 4 :-) -- You received this bug notific

Re: [PATCH v3 00/20] hw/i386/pc: Split PIIX3 southbridge from i440FX northbridge

2019-10-27 Thread Aleksandar Markovic
On Saturday, October 26, 2019, Philippe Mathieu-Daudé wrote: > Changes since v2 [0]: > - Use a #define > - Reword one description > - Added review tags (thanks all for reviewing!) > > Changes since v1 [1]: > - Removed patch reintroducing DO_UPCAST() use (thuth) > - Took various patches out to red