All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: Jordan Justen <jljusten@gmail.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	"Justen, Jordan L" <jordan.l.justen@intel.com>
Subject: Re: [Qemu-devel] [BUG]: kvm_set_phys_mem: error unregistering overlapping slot: Invalid argument
Date: Thu, 30 May 2013 13:03:33 -0400	[thread overview]
Message-ID: <20130530130333.30ae2a21@redhat.com> (raw)
In-Reply-To: <CAFe8ug_UzYV3_vvkbDVog6rH9a_g+w8R2OY21Jh0TWDW9Q5rVQ@mail.gmail.com>

On Thu, 30 May 2013 09:50:10 -0700
Jordan Justen <jljusten@gmail.com> wrote:

> On Thu, May 30, 2013 at 9:08 AM, Luiz Capitulino <lcapitulino@redhat.com> wrote:
> > On Thu, 30 May 2013 18:03:04 +0200
> > Paolo Bonzini <pbonzini@redhat.com> wrote:
> >
> >> Il 30/05/2013 17:46, Luiz Capitulino ha scritto:
> >> > The culprit is commit:
> >> >
> >> > commit 235e8982ad393e5611cb892df54881c872eea9e1
> >> > Author: Jordan Justen <jordan.l.justen@intel.com>
> >> > Date:   Wed May 29 01:27:26 2013 -0700
> >> >
> >> >     kvm: support using KVM_MEM_READONLY flag for regions
> >> >
> >> > I'm running 3.9.2-200.fc18, btw. And, error checking is missing on the
> >> > first call to kvm_vm_ioctl().
> 
> As noted in the code, the first call is for KVM commit 75d61fbc.
> 
> I'm not sure we want to fail if an error occurs when making that call.
> (I'm pretty sure we don't want to in fact.)
> 
> Xiao, any thoughts?
> 
> >> Reproducer?
> >
> > I just try to start a VM (HEAD 87d23f7):
> >
> > ~/work/virt/ sudo ./qemu-qmp -drive file=disks/test.img,if=virtio,cache=none,aio=native -enable-kvm -m 1G -monitor stdio -cpu host -snapshot
> > QEMU 1.5.50 monitor - type 'help' for more information
> > (qemu) kvm_set_phys_mem: error unregistering overlapping slot: Invalid argument
> > ~/work/virt/
> 
> Sorry. I am working with Linux 3.8.0, and I don't see this. I'll try
> to update my kernel.
> 
> Does the firmware behave as a ROM for you?

I think so:

(qemu) info roms
fw=genroms/kvmvapic.bin size=0x002400 name="kvmvapic.bin"
addr=00000000fffe0000 size=0x020000 mem=rom name="bios.bin"
(qemu) 

Is this what you're asking?

  reply	other threads:[~2013-05-30 17:04 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30 15:46 [Qemu-devel] [BUG]: kvm_set_phys_mem: error unregistering overlapping slot: Invalid argument Luiz Capitulino
2013-05-30 16:03 ` Paolo Bonzini
2013-05-30 16:08   ` Luiz Capitulino
2013-05-30 16:50     ` Jordan Justen
2013-05-30 17:03       ` Luiz Capitulino [this message]
2013-05-30 17:32         ` Jordan Justen
2013-05-30 17:56           ` Luiz Capitulino
2013-05-30 18:05             ` Paolo Bonzini
2013-05-30 20:32               ` Luiz Capitulino
2013-05-30 21:23                 ` Paolo Bonzini
2013-05-30 23:43                   ` Jordan Justen
2013-05-31  6:51       ` Xiao Guangrong
2013-05-31  7:14         ` Jordan Justen
2013-05-31  8:01           ` Jordan Justen
2013-05-31  8:23         ` Paolo Bonzini
2013-05-31  8:52           ` [PATCH uq/master] fix double free the memslot in kvm_set_phys_mem Xiao Guangrong
2013-05-31  8:52             ` [Qemu-devel] " Xiao Guangrong
2013-05-31 12:27             ` Paolo Bonzini
2013-05-31 12:27               ` [Qemu-devel] " Paolo Bonzini
2013-05-31 12:39             ` Luiz Capitulino
2013-05-31 12:39               ` [Qemu-devel] " Luiz Capitulino
2013-06-02 17:35             ` Richard W.M. Jones
2013-06-02 17:35               ` Richard W.M. Jones
2013-06-02 22:08             ` Jordan Justen
2013-06-02 22:08               ` [Qemu-devel] " Jordan Justen
2013-06-03  6:57             ` Gleb Natapov
2013-06-03  6:57               ` [Qemu-devel] " Gleb Natapov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130530130333.30ae2a21@redhat.com \
    --to=lcapitulino@redhat.com \
    --cc=jljusten@gmail.com \
    --cc=jordan.l.justen@intel.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=xiaoguangrong@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.