[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: |
Gleb Natapov |
Subject: |
Re: [Qemu-devel] QEMU aborts since "kvm: support using KVM_MEM_READONLY flag for regions" |
Date: |
Tue, 4 Jun 2013 09:39:45 +0300 |
On Mon, Jun 03, 2013 at 03:20:48PM -0500, Anthony Liguori wrote:
> Paolo Bonzini <address@hidden> writes:
>
> > 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.
>
> Since I suspect Gleb is done for the day, I will apply directly since
> this is a pretty major breakage.
>
Heh, since patch was on the list for 3 days before I picked it (was traveling
before that) I thought I can spend one day more for testing before
sending pull request :) The patch is already queued on uq/master and I'd
rather do not rebase this branch, so I'll push it to you anyway. git
will know how to handle this.
--
Gleb.