Re: [Qemu-devel] [PATCH] iotests: Add test for failing qemu-img commit

2017-06-29 Thread Max Reitz
On 2017-06-27 21:52, Eric Blake wrote: > On 06/16/2017 08:58 AM, Max Reitz wrote: >> Signed-off-by: Max Reitz >> --- >> In order to pass, this depends on "fix: avoid an infinite loop or a >> dangling pointer problem in img_commit" >> (http://lists.nongnu.org/archive/html/qemu-block/2017-06/msg0044

[Qemu-devel] [RFC PATCH 1/1] memory: Support unaligned accesses on aligned-only models

2017-06-29 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery --- Hello, This RFC patch stems from a discussion on a patch for an ADC model[1] where it was pointed out that I should be able to use the .impl member of MemoryRegionOps to constrain how my read() and write() callbacks where invoked. I tried Phil's suggested approa

Re: [Qemu-devel] [PATCH v6 04/10] migration: let MigrationState be a qdev

2017-06-29 Thread Peter Xu
On Fri, Jun 30, 2017 at 04:18:56AM +0200, Max Reitz wrote: > On 2017-06-27 06:10, Peter Xu wrote: > > Let the old man "MigrationState" join the object family. Direct benefit > > is that we can start to use all the property features derived from > > current QDev, like: HW_COMPAT_* bits, command line

Re: [Qemu-devel] [PATCH] intel_iommu: fix migration breakage on mr switch

2017-06-29 Thread Jason Wang
On 2017年06月29日 12:26, Peter Xu wrote: Migration is broken after the vfio integration work: qemu-kvm: AHCI: Failed to start FIS receive engine: bad FIS receive buffer address qemu-kvm: Failed to load ich9_ahci:ahci qemu-kvm: error while loading state for instance 0x0 of device ':00:1f.2/i

Re: [Qemu-devel] [PATCH] target/ppc: Only set PCR in kvm if actually in a compat mode

2017-06-29 Thread David Gibson
On Thu, Jun 29, 2017 at 02:59:39PM +1000, Suraj Jitindar Singh wrote: > The Processor Compatibility Register (PCR) I used to set the > compatibility mode of the processor using the SET_ONE_REG ioctl on > KVM_REG_PPC_ARCH_COMPAT. Previously this was only called when a compat > mode was actually in u

Re: [Qemu-devel] [PATCH v3 2/3] tcg/aarch64: Use ADRP+ADD to compute target address

2017-06-29 Thread Richard Henderson
On 06/29/2017 05:40 PM, Pranith Kumar wrote: void aarch64_tb_set_jmp_target(uintptr_t jmp_addr, uintptr_t addr) { tcg_insn_unit *code_ptr = (tcg_insn_unit *)jmp_addr; -tcg_insn_unit *target = (tcg_insn_unit *)addr; +tcg_insn_unit i1, i2; +uint64_t pair; +ptrdiff_t off

Re: [Qemu-devel] [RFC 5/5] vifo: introduce new VFIO ioctl VFIO_DEVICE_PCI_GET_DIRTY_BITMAP

2017-06-29 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Friday, June 30, 2017 4:57 AM > > On Thu, 29 Jun 2017 00:10:59 + > "Tian, Kevin" wrote: > > > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > > Sent: Thursday, June 29, 2017 12:00 AM > > > Thanks Kevin. So r

Re: [Qemu-devel] [PATCH v6 09/10] migration: merge enforce_config_section somewhat

2017-06-29 Thread Peter Xu
On Thu, Jun 29, 2017 at 04:18:49PM -0300, Eduardo Habkost wrote: > On Thu, Jun 29, 2017 at 11:00:13AM +0800, Peter Xu wrote: > > On Thu, Jun 29, 2017 at 12:42:56AM +0200, Juan Quintela wrote: > > > Eduardo Habkost wrote: > > > > > > > > > > > So, this is a case where a user-provided config option

Re: [Qemu-devel] [RFC 1/7] exec-all: fix typos in TranslationBlock's documentation

2017-06-29 Thread Richard Henderson
On 06/29/2017 01:28 PM, Emilio G. Cota wrote: Signed-off-by: Emilio G. Cota --- include/exec/exec-all.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Richard Henderson r~

Re: [Qemu-devel] [PATCH v6 10/10] migration: hmp: dump globals

2017-06-29 Thread Peter Xu
On Wed, Jun 28, 2017 at 02:12:44PM -0300, Eduardo Habkost wrote: > On Tue, Jun 27, 2017 at 12:10:19PM +0800, Peter Xu wrote: > > Now we have some globals that can be configured for migration. Dump them > > in HMP info migration for better debugging. > > > > (we can also use this to monitor whether

Re: [Qemu-devel] [PATCH] intel_iommu: fix migration breakage on mr switch

2017-06-29 Thread Peter Xu
On Thu, Jun 29, 2017 at 04:35:04PM +0300, Michael S. Tsirkin wrote: > On Thu, Jun 29, 2017 at 12:26:57PM +0800, Peter Xu wrote: > > Migration is broken after the vfio integration work: > > > > qemu-kvm: AHCI: Failed to start FIS receive engine: bad FIS receive buffer > > address > > qemu-kvm: Fai

Re: [Qemu-devel] [RFC 2/7] translate-all: add out_size field to TranslationBlock

2017-06-29 Thread Richard Henderson
On 06/29/2017 01:28 PM, Emilio G. Cota wrote: Note that due to the cacheline padding we are using, for hosts with 64-byte cache lines this will not waste any additional memory. Using a s16 would be ideal, since that would plug an existing hole in the struct, but I see no guarantee that a TB won't

<    1   2   3   4   5