[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] QEMU aborts since "kvm: support using KVM_MEM_READONLY
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] QEMU aborts since "kvm: support using KVM_MEM_READONLY flag for regions" |
Date: |
Mon, 03 Jun 2013 22:11:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
Il 03/06/2013 19:49, Anthony Liguori ha scritto:
> Peter Wu <address@hidden> 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. Reverting the following commit on top of
>> master makes the bug go away. Removing the `-enable-kvm` option also
>> allows QEMU to operate, but without KVM.
>
> I also noted this on F19 this weekend.
>
> Is anyone else seeing this on more recent kernels?
Yes, it's caused by 3.9. Gleb and I decided to consider this (raising
an error when removing a non-existent slot) a feature since it never
happened as far as we know on released versions of QEMU/nlkt/whatever.
Gleb queued a patch in uq/master, I think he'll be sending a pull
request soon.
Paolo