[ovirt-users] Re: Reset NVRAM

2021-03-15 Thread Tomáš Golembiovský
On Mon, Mar 15, 2021 at 04:12:51PM +, Shantur Rathore wrote:
> Thanks Tomáš,
> 
> Actually I hit "Send" too quickly. Are you experiencing the issue after
> > VM reboot or even after shutdown? Because NVRAM is kept between reboots
> > and is removed only after VM shutdown.
> 
> 
> It happens after shutdown and reboot. The VM just goes into a weird state
> with "Guest hasn't initialised the display (yet)" error.
> If I create another VM with the same configuration and use the same boot
> disk it works fine.
> 
> So, if it's not NVRAM, I am not sure what could it be which stays with VM
> but is not a disk.

Maybe something in domain XML. You can compare the domain XML of VM that
does not boot any longer with your newly created VM.

One way or another, you'll have to provide more information regarding
the steps that lead to the unbootable VM before we can provide any
usefull hints.

Tomas


> 
> Thanks,
> shantur
> 
> On Mon, Mar 15, 2021 at 3:47 PM Tomáš Golembiovský 
> wrote:
> 
> > On Mon, Mar 15, 2021 at 04:43:20PM +0100, Tomáš Golembiovský wrote:
> > > On Mon, Mar 15, 2021 at 01:13:10PM +, Shantur Rathore wrote:
> > > > Hi all,
> > > >
> > > > I am doing some testing with GPU passthrough to VMs and in some cases
> > the
> > > > OVMF stops booting after a GPU passthrough.
> > > > I have figured out that it's related to some state stored in NVRAM by
> > OVMF
> > > > and as soon as I create another VM with the same disks it starts
> > booting up.
> > > >
> > > > I believe oVirt saves the NVRAM state.
> > >
> > > No it isn't. Or, better said, it wasn't. Storing of NVRAM is a new
> > > feature in 4.4.5 and it will be enabled only for VMs with Secure Boot.
> > >
> > > So whatever you're experiencing is probably caused by something else.
> >
> > Actually I hit "Send" too quickly. Are you experiencing the issue after
> > VM reboot or even after shutdown? Because NVRAM is kept between reboots
> > and is removed only after VM shutdown.
> >
> > Tomas
> >
> > >
> > > >  Is there a way to clear NVRAM for a VM without deleting it?
> > >
> > > This is not part of the feature introduced in 4.4.5. But it would make
> > > sense to have it if we later extend the NVRAM storing to all VMs with
> > > UEFI. So despite what I wrote above it would be worth opening a feature
> > > request bug.
> > >
> > > Tomas
> > >
> > > >
> > > > Regards,
> > > > Shantur
> > >
> > > > ___
> > > > Users mailing list -- users@ovirt.org
> > > > To unsubscribe send an email to users-le...@ovirt.org
> > > > Privacy Statement: https://www.ovirt.org/privacy-policy.html
> > > > oVirt Code of Conduct:
> > https://www.ovirt.org/community/about/community-guidelines/
> > > > List Archives:
> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/GJ4AQHJ6SIAT7ML526SSO7IKRTY2BHCQ/
> > >
> > >
> > > --
> > > Tomáš Golembiovský 
> >
> > --
> > Tomáš Golembiovský 
> >
> >

-- 
Tomáš Golembiovský 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/47KRWMTCNDHZ3V6SGMHMIQ5NZYN7QHZR/


[ovirt-users] Re: Reset NVRAM

2021-03-15 Thread Shantur Rathore
Thanks Tomáš,

Actually I hit "Send" too quickly. Are you experiencing the issue after
> VM reboot or even after shutdown? Because NVRAM is kept between reboots
> and is removed only after VM shutdown.


It happens after shutdown and reboot. The VM just goes into a weird state
with "Guest hasn't initialised the display (yet)" error.
If I create another VM with the same configuration and use the same boot
disk it works fine.

So, if it's not NVRAM, I am not sure what could it be which stays with VM
but is not a disk.

Thanks,
shantur

On Mon, Mar 15, 2021 at 3:47 PM Tomáš Golembiovský 
wrote:

> On Mon, Mar 15, 2021 at 04:43:20PM +0100, Tomáš Golembiovský wrote:
> > On Mon, Mar 15, 2021 at 01:13:10PM +, Shantur Rathore wrote:
> > > Hi all,
> > >
> > > I am doing some testing with GPU passthrough to VMs and in some cases
> the
> > > OVMF stops booting after a GPU passthrough.
> > > I have figured out that it's related to some state stored in NVRAM by
> OVMF
> > > and as soon as I create another VM with the same disks it starts
> booting up.
> > >
> > > I believe oVirt saves the NVRAM state.
> >
> > No it isn't. Or, better said, it wasn't. Storing of NVRAM is a new
> > feature in 4.4.5 and it will be enabled only for VMs with Secure Boot.
> >
> > So whatever you're experiencing is probably caused by something else.
>
> Actually I hit "Send" too quickly. Are you experiencing the issue after
> VM reboot or even after shutdown? Because NVRAM is kept between reboots
> and is removed only after VM shutdown.
>
> Tomas
>
> >
> > >  Is there a way to clear NVRAM for a VM without deleting it?
> >
> > This is not part of the feature introduced in 4.4.5. But it would make
> > sense to have it if we later extend the NVRAM storing to all VMs with
> > UEFI. So despite what I wrote above it would be worth opening a feature
> > request bug.
> >
> > Tomas
> >
> > >
> > > Regards,
> > > Shantur
> >
> > > ___
> > > Users mailing list -- users@ovirt.org
> > > To unsubscribe send an email to users-le...@ovirt.org
> > > Privacy Statement: https://www.ovirt.org/privacy-policy.html
> > > oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> > > List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/GJ4AQHJ6SIAT7ML526SSO7IKRTY2BHCQ/
> >
> >
> > --
> > Tomáš Golembiovský 
>
> --
> Tomáš Golembiovský 
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ODXSQZ3EUAK75MA2OPHDIMTOMKNJJKGJ/


[ovirt-users] Re: Reset NVRAM

2021-03-15 Thread Tomáš Golembiovský
On Mon, Mar 15, 2021 at 04:43:20PM +0100, Tomáš Golembiovský wrote:
> On Mon, Mar 15, 2021 at 01:13:10PM +, Shantur Rathore wrote:
> > Hi all,
> > 
> > I am doing some testing with GPU passthrough to VMs and in some cases the
> > OVMF stops booting after a GPU passthrough.
> > I have figured out that it's related to some state stored in NVRAM by OVMF
> > and as soon as I create another VM with the same disks it starts booting up.
> > 
> > I believe oVirt saves the NVRAM state.
> 
> No it isn't. Or, better said, it wasn't. Storing of NVRAM is a new
> feature in 4.4.5 and it will be enabled only for VMs with Secure Boot.
> 
> So whatever you're experiencing is probably caused by something else.

Actually I hit "Send" too quickly. Are you experiencing the issue after
VM reboot or even after shutdown? Because NVRAM is kept between reboots
and is removed only after VM shutdown.

Tomas

> 
> >  Is there a way to clear NVRAM for a VM without deleting it?
> 
> This is not part of the feature introduced in 4.4.5. But it would make
> sense to have it if we later extend the NVRAM storing to all VMs with
> UEFI. So despite what I wrote above it would be worth opening a feature
> request bug.
> 
> Tomas
> 
> > 
> > Regards,
> > Shantur
> 
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > Privacy Statement: https://www.ovirt.org/privacy-policy.html
> > oVirt Code of Conduct: 
> > https://www.ovirt.org/community/about/community-guidelines/
> > List Archives: 
> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/GJ4AQHJ6SIAT7ML526SSO7IKRTY2BHCQ/
> 
> 
> -- 
> Tomáš Golembiovský 

-- 
Tomáš Golembiovský 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CM6IJQI5LIVH6OPTWTRPKXITODFYCQUH/


[ovirt-users] Re: Reset NVRAM

2021-03-15 Thread Tomáš Golembiovský
On Mon, Mar 15, 2021 at 01:13:10PM +, Shantur Rathore wrote:
> Hi all,
> 
> I am doing some testing with GPU passthrough to VMs and in some cases the
> OVMF stops booting after a GPU passthrough.
> I have figured out that it's related to some state stored in NVRAM by OVMF
> and as soon as I create another VM with the same disks it starts booting up.
> 
> I believe oVirt saves the NVRAM state.

No it isn't. Or, better said, it wasn't. Storing of NVRAM is a new
feature in 4.4.5 and it will be enabled only for VMs with Secure Boot.

So whatever you're experiencing is probably caused by something else.

>  Is there a way to clear NVRAM for a VM without deleting it?

This is not part of the feature introduced in 4.4.5. But it would make
sense to have it if we later extend the NVRAM storing to all VMs with
UEFI. So despite what I wrote above it would be worth opening a feature
request bug.

Tomas

> 
> Regards,
> Shantur

> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/GJ4AQHJ6SIAT7ML526SSO7IKRTY2BHCQ/


-- 
Tomáš Golembiovský 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZL6MWWUCU3IOCXYLXZI2YGTR26GH66OS/