Re: [Qemu-devel] QEMU aborts since "kvm: support using KVM_MEM_READONLY flag for regions"

2013-06-03 Thread Gleb Natapov
On Mon, Jun 03, 2013 at 03:20:48PM -0500, Anthony Liguori wrote: > Paolo Bonzini writes: > > > Il 03/06/2013 19:49, Anthony Liguori ha scritto: > >> Peter Wu writes: > >> > >>> Hi, > >>> > >>> With the current git source (f10acc8b38d65a66ffa0588a036489d7fa6a593e), > >>> `qemu-system-x86_64 -ena

Re: [Qemu-devel] QEMU aborts since "kvm: support using KVM_MEM_READONLY flag for regions"

2013-06-03 Thread Anthony Liguori
Paolo Bonzini writes: > Il 03/06/2013 19:49, Anthony Liguori ha scritto: >> Peter Wu writes: >> >>> Hi, >>> >>> With the current git source (f10acc8b38d65a66ffa0588a036489d7fa6a593e), >>> `qemu-system-x86_64 -enable-kvm` fails to run with the following error: >>> >>> kvm_set_phys_mem: error

Re: [Qemu-devel] QEMU aborts since "kvm: support using KVM_MEM_READONLY flag for regions"

2013-06-03 Thread Paolo Bonzini
Il 03/06/2013 19:49, Anthony Liguori ha scritto: > Peter Wu writes: > >> Hi, >> >> With the current git source (f10acc8b38d65a66ffa0588a036489d7fa6a593e), >> `qemu-system-x86_64 -enable-kvm` fails to run with the following error: >> >> kvm_set_phys_mem: error unregistering overlapping slot: I

Re: [Qemu-devel] QEMU aborts since "kvm: support using KVM_MEM_READONLY flag for regions"

2013-06-03 Thread Anthony Liguori
Peter Wu writes: > Hi, > > With the current git source (f10acc8b38d65a66ffa0588a036489d7fa6a593e), > `qemu-system-x86_64 -enable-kvm` fails to run with the following error: > > kvm_set_phys_mem: error unregistering overlapping slot: Invalid argument > > After this message, qemu aborts. Revert

Re: [Qemu-devel] QEMU aborts since "kvm: support using KVM_MEM_READONLY flag for regions"

2013-06-03 Thread Peter Wu
On Monday 03 June 2013 10:35:28 Jordan Justen wrote: > This should be fixed by Xiao's "fix double free the memslot in > kvm_set_phys_mem" patch. Confirmed, with this one-liner patch the bug is gone. > On Mon, Jun 3, 2013 at 10:23 AM, Peter Wu wrote: > > Hi, > > > > With the current git source (f

Re: [Qemu-devel] QEMU aborts since "kvm: support using KVM_MEM_READONLY flag for regions"

2013-06-03 Thread Jordan Justen
This should be fixed by Xiao's "fix double free the memslot in kvm_set_phys_mem" patch. On Mon, Jun 3, 2013 at 10:23 AM, Peter Wu wrote: > Hi, > > With the current git source (f10acc8b38d65a66ffa0588a036489d7fa6a593e), > `qemu-system-x86_64 -enable-kvm` fails to run with the following error: > >

[Qemu-devel] QEMU aborts since "kvm: support using KVM_MEM_READONLY flag for regions"

2013-06-03 Thread Peter Wu
Hi, With the current git source (f10acc8b38d65a66ffa0588a036489d7fa6a593e), `qemu-system-x86_64 -enable-kvm` fails to run with the following error: kvm_set_phys_mem: error unregistering overlapping slot: Invalid argument After this message, qemu aborts. Reverting the following commit on top