Re: kvm/libvirt on CentOS7 w/Windows 10 Pro guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/27/2017 05:28 PM, Benjammin2068 wrote:
> On 11/25/2017 07:25 AM, Sam Varshavchik wrote:
>>
>> I don't use virtio drivers. My Windows 10 guest setup is as plain as it can be.
>>
>> Starting with qemu 2.9, there is some kind of a problem that prevents Windows 10 from rebooting itself properly. I've also read about others reporting this issue as well. It's possible that the problem started before 2.9. Fedora 25, with qemu 2.4, was ok. Fedora 26, with qemu 2.9, was broken.
>>
>> About 90% of the reboots end up in rescue mode, with Windows 10's rescue tool claiming, no what you do, that the system is not recoverable. Without really explaining why. Obviously, since it booted into rescue mode, the virtual disk is working, but the rescue tool does not see it. Note, that I do not use virtio, so this is not a factor.
>>
>> However if you force off the VM, and do a fresh boot, nothing's wrong. It'll boot up like nothing happened. Your updates do not really mess up the boot process. It just looks this way.
>>
>> Use "virsh edit" to edit your domain XML file in /etc/libvirt/qemu. Replace the existing <on_reboot> setting in there with:
>>
>> <on_reboot>destroy</on_reboot>
>>
>> Now, when Windows 10 updates reboot now, the virtual machine will turn off instead. After manually starting it again, it should boot fine.
>>
>> If you're using virt-manager, it goes a bit wonky, when the VM shuts down with this setting in place, and virt-manager will get very confused. You'll just need to close and restart virt-manager, to turn on the VM again.
>>
> 
> Thanks for the reply.
> 
> IIRC, I've even rebooted the system (host as well) with no success... but maybe not. I'll try your suggestions again if I have an issue.
> 
> I really thought it was updates. I also don't use any VirtIO stuff either. As plain and stock a setup as I can get.
> 
> Hopefully this glitch gets fixed soon. What a way to freak admins out. :P
> 
> Thanks,
> 
>   -Ben
> 
> 
Hmm.. could this somehow be related to the fast startup thing in win10? 
I mean, if fast startup is disabled, will that help?

Just a thought.

/tony


Tony Albers
Systems administrator, IT-development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux