qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Joe Clifford <joeclifford@gmail.com>
To: David Hildenbrand <david@redhat.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: Laszlo Ersek <lersek@redhat.com>,
	Auger Eric <eric.auger@redhat.com>,
	Gerd Hoffmann <kraxel@redhat.com>,
	pbonzini@redhat.com
Subject: Re: [Qemu-devel] kvm_set_phys_mem: assertion failed
Date: Mon, 16 Oct 2017 12:54:56 +0100	[thread overview]
Message-ID: <4486e68f-a857-5b54-5c0c-d83437f63f1f@gmail.com> (raw)
In-Reply-To: <6b52b0f6-6e89-461c-8094-35214b67c628@redhat.com>

On 16/10/17 12:23, David Hildenbrand wrote:
> On 04.10.2017 17:48, Laszlo Ersek wrote:
>> Hi,
>>
>> On 09/21/17 16:28, Auger Eric wrote:
>>> Hi David,
>>> On 20/09/2017 16:34, David Hildenbrand wrote:
>>>> On 20.09.2017 16:31, Gerd Hoffmann wrote:
>>>>>    Hi,
>>>>>
>>>>>> Dropping from os section:
>>>>>>
>>>>>> <loader readonly="yes"
>>>>>> type="pflash">/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-
>>>>>> efi.fd</loader>
>>>>>> <nvram
>>>>>> template="/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-
>>>>>> efi.fd">/var/lib/libvirt/qemu/nvram/fedora-org-drm-qxl-
>>>>>> base_VARS.fd</nvram>
>>>>>
>>>>> Bad idea I guess.
>>>>>
>>>>>> 1) Does the assert trigger right at startup? Or how is it triggered?
>>>>>
>>>>> Yes, right at startup, before OVMF is done initializing.
>>>>> So probably something in OVMF triggers it.
>>>>
>>>> I'll try to include ovmf to reproduce it.
>>>>
>>>>>
>>>>>> 2) Does your setup work when dopping the assertion?
>>>>>
>>>>> Can try tomorrow.
>>> I encounter the problem on ARM too. My setup works when dropping the
>>> assertion.
>>>
>>> Thanks
>>>
>>> Eric
>>>>
>>>> I think that assertion might not be stable, because properties (romd
>>>> mode) might not be stable and can change. So if it works without the
>>>> assert, dropping it is the right thing to do.
>>
>> There seems to be a new issue report on LaunchPad about the same
>> (f357f564be0b) commit, stating that the removal of the assertion does
>> not help:
>>
>> https://bugs.launchpad.net/qemu/+bug/1721221
>>
>> (Just trying to connect the dots here; I have no comments on the commit
>> otherwise. CC'ing Joe who has filed the LP report.)
>>
>> Thanks
>> Laszlo
>>
> 
> Hi Joe,
> 
> do you have some time to test with the following branch?
> 
> https://github.com/davidhildenbrand/qemu/tree/kvm_slot
> 
> If it works - very good. If not, can you give me what QEMU prints (I
> added some debug output).
> 
> Looks something like this:
> 
> set_phys_mem(0): start: 0x0, size: 0x8000000, add: 1
> Add(0): start: 0x0, size: 0x8000000, ram: 0x0x7f6697e00000
> set_phys_mem(0): start: 0xfffc0000, size: 0x40000, add: 1
> Add(0): start: 0xfffc0000, size: 0x40000, ram: 0x0x7f66a7200000
> set_phys_mem(0): start: 0x0, size: 0x8000000, add: 0
> ...
> 

...and apologies for top posting! :S

Joe

      parent reply	other threads:[~2017-10-16 11:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-20 13:24 [Qemu-devel] kvm_set_phys_mem: assertion failed Gerd Hoffmann
2017-09-20 13:54 ` David Hildenbrand
2017-09-20 14:25 ` David Hildenbrand
2017-09-20 14:31   ` Gerd Hoffmann
2017-09-20 14:34     ` David Hildenbrand
2017-09-21 14:28       ` Auger Eric
2017-10-04 15:48         ` Laszlo Ersek
2017-10-16 11:23           ` David Hildenbrand
2017-10-16 11:52             ` Joe Clifford
2017-10-16 11:54             ` Joe Clifford [this message]

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=4486e68f-a857-5b54-5c0c-d83437f63f1f@gmail.com \
    --to=joeclifford@gmail.com \
    --cc=david@redhat.com \
    --cc=eric.auger@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=lersek@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).