xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Crash w/ bios="ovmf"
@ 2017-02-22 20:50 Jason Dickens
  2017-02-27 11:55 ` Wei Liu
  2017-02-27 16:59 ` Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 4+ messages in thread
From: Jason Dickens @ 2017-02-22 20:50 UTC (permalink / raw)
  To: xen-devel

I'm trying to find a solution to an immediate VM crash which occurs by 
simply adding "bios='ovmf' to my configuration?

I started with a standard Ubuntu install which contained Xen 4.6.0 and 
had the crash. The VM works fine booting w/ SeaBIOS once the 
configuration line is removed. It also works fine with OVMF using just QEMU.

Then I was led to believe that i needed to rebuild Xen with 
--enable-ovmf , using the source from apt-get source, this proved to be 
difficult and ultimately I had to disable stub domains to get it to 
work. (in case, that is relevant)

Still I get the crash almost immediately after the VM is launched. With 
sdl=1 I can see the window flash up and disappear.
I should mention that ultimately I plan to use a non-standard build of 
the OVMF kernel, but for now I'm happy to get it working with any one.

At this point, I have been studying the source to try and determine 
where things diverge. I find very little use of LIBXL_BIOS_TYPE_OVMF and 
can't find  exactly where setting hvm.bios that even matters?

In any case, I would appreciate help on how to avoid the crash and/or 
understanding the Xen modifications for OVMF.

Jason



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Crash w/ bios="ovmf"
  2017-02-22 20:50 Crash w/ bios="ovmf" Jason Dickens
@ 2017-02-27 11:55 ` Wei Liu
  2017-02-27 16:59 ` Konrad Rzeszutek Wilk
  1 sibling, 0 replies; 4+ messages in thread
From: Wei Liu @ 2017-02-27 11:55 UTC (permalink / raw)
  To: Jason Dickens; +Cc: Wei Liu, xen-devel

On Wed, Feb 22, 2017 at 03:50:28PM -0500, Jason Dickens wrote:
> I'm trying to find a solution to an immediate VM crash which occurs by
> simply adding "bios='ovmf' to my configuration?
> 
> I started with a standard Ubuntu install which contained Xen 4.6.0 and had
> the crash. The VM works fine booting w/ SeaBIOS once the configuration line
> is removed. It also works fine with OVMF using just QEMU.
> 
> Then I was led to believe that i needed to rebuild Xen with --enable-ovmf ,
> using the source from apt-get source, this proved to be difficult and
> ultimately I had to disable stub domains to get it to work. (in case, that
> is relevant)
> 
> Still I get the crash almost immediately after the VM is launched. With
> sdl=1 I can see the window flash up and disappear.
> I should mention that ultimately I plan to use a non-standard build of the
> OVMF kernel, but for now I'm happy to get it working with any one.
> 
> At this point, I have been studying the source to try and determine where
> things diverge. I find very little use of LIBXL_BIOS_TYPE_OVMF and can't
> find  exactly where setting hvm.bios that even matters?
> 
> In any case, I would appreciate help on how to avoid the crash and/or
> understanding the Xen modifications for OVMF.
> 

Because OVMF doesn't do regular releases, we ship a commit of it when we
release a new version of Xen.

Are you comfortable with building Xen from the development branch? If
you use 4.8 or our master branch, you should be able to provide an OVMF
blob without rebuilding HVMloader every time.

Wei.


> Jason
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> https://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Crash w/ bios="ovmf"
  2017-02-22 20:50 Crash w/ bios="ovmf" Jason Dickens
  2017-02-27 11:55 ` Wei Liu
@ 2017-02-27 16:59 ` Konrad Rzeszutek Wilk
  2017-02-27 19:15   ` jdickens
  1 sibling, 1 reply; 4+ messages in thread
From: Konrad Rzeszutek Wilk @ 2017-02-27 16:59 UTC (permalink / raw)
  To: Jason Dickens; +Cc: xen-devel

On Wed, Feb 22, 2017 at 03:50:28PM -0500, Jason Dickens wrote:
> I'm trying to find a solution to an immediate VM crash which occurs by
> simply adding "bios='ovmf' to my configuration?
> 
> I started with a standard Ubuntu install which contained Xen 4.6.0 and had
> the crash. The VM works fine booting w/ SeaBIOS once the configuration line
> is removed. It also works fine with OVMF using just QEMU.
> 
> Then I was led to believe that i needed to rebuild Xen with --enable-ovmf ,
> using the source from apt-get source, this proved to be difficult and
> ultimately I had to disable stub domains to get it to work. (in case, that
> is relevant)
> 
> Still I get the crash almost immediately after the VM is launched. With
> sdl=1 I can see the window flash up and disappear.
> I should mention that ultimately I plan to use a non-standard build of the
> OVMF kernel, but for now I'm happy to get it working with any one.

Can you try
pci_platform=0 in your guest config pleae?

> 
> At this point, I have been studying the source to try and determine where
> things diverge. I find very little use of LIBXL_BIOS_TYPE_OVMF and can't
> find  exactly where setting hvm.bios that even matters?
> 
> In any case, I would appreciate help on how to avoid the crash and/or
> understanding the Xen modifications for OVMF.
> 
> Jason
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> https://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Crash w/ bios="ovmf"
  2017-02-27 16:59 ` Konrad Rzeszutek Wilk
@ 2017-02-27 19:15   ` jdickens
  0 siblings, 0 replies; 4+ messages in thread
From: jdickens @ 2017-02-27 19:15 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Jason Dickens, xen-devel

This turned out to be a xen install problem. The default install 
location for the build was /usr/local but my system was using /usr.  The 
root cause was hvmloader created by the new build was not actually the 
one being used.


On 2017-02-27 11:59, Konrad Rzeszutek Wilk wrote:
> On Wed, Feb 22, 2017 at 03:50:28PM -0500, Jason Dickens wrote:
>> I'm trying to find a solution to an immediate VM crash which occurs 
>> by
>> simply adding "bios='ovmf' to my configuration?
>>
>> I started with a standard Ubuntu install which contained Xen 4.6.0 
>> and had
>> the crash. The VM works fine booting w/ SeaBIOS once the 
>> configuration line
>> is removed. It also works fine with OVMF using just QEMU.
>>
>> Then I was led to believe that i needed to rebuild Xen with 
>> --enable-ovmf ,
>> using the source from apt-get source, this proved to be difficult 
>> and
>> ultimately I had to disable stub domains to get it to work. (in 
>> case, that
>> is relevant)
>>
>> Still I get the crash almost immediately after the VM is launched. 
>> With
>> sdl=1 I can see the window flash up and disappear.
>> I should mention that ultimately I plan to use a non-standard build 
>> of the
>> OVMF kernel, but for now I'm happy to get it working with any one.
>
> Can you try
> pci_platform=0 in your guest config pleae?
>
>>
>> At this point, I have been studying the source to try and determine 
>> where
>> things diverge. I find very little use of LIBXL_BIOS_TYPE_OVMF and 
>> can't
>> find  exactly where setting hvm.bios that even matters?
>>
>> In any case, I would appreciate help on how to avoid the crash 
>> and/or
>> understanding the Xen modifications for OVMF.
>>
>> Jason
>>
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xen.org
>> https://lists.xen.org/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-27 19:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-22 20:50 Crash w/ bios="ovmf" Jason Dickens
2017-02-27 11:55 ` Wei Liu
2017-02-27 16:59 ` Konrad Rzeszutek Wilk
2017-02-27 19:15   ` jdickens

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).