<div dir="ltr">I'm an idiot, i created the file with the wrong extension.<div><br><div>Anyway, after a successfull launch it appears drivers were already there and of the last version meaning i did indeed install them with pnputil from windows runned native.</div><div><br></div><div>So why did he failed even after that?</div><div>The failing to launch might be coming from the fact that the drive had a pci adress, since it never failed before i have no idea, if someone know why i would appreciate. thanks.<br><br>[Solved]</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-05 23:09 GMT+02:00 thibaut noah <span dir="ltr"><<a href="mailto:thibaut.noah@gmail.com" target="_blank">thibaut.noah@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">So !<br>Update on this, i tried to install drivers from windows (since i can boot in native) but without any luck, i used pnputil to install the .inf file and all, it is install but that did nothing (what the hell?).<br><br>After a while i decided to try what appears to be THE solution, which is putting my disk as ide target instead of virtio and tadaaaa, getting devices ready and i can boot windows again.<br><br>So the issue is indeed virtio drivers which for some reason are not there anymore...<br>What is truly insane is that if i don't have any virtio drivers i shouldn't have network and all right? well, everything is working right of the box, is it suppose to be?<br><br>Afterwards i tried using this solution<br> <a href="https://wiki.archlinux.org/index.php/QEMU#Change_Existing_Windows_VM_to_use_virtio" target="_blank">https://wiki.archlinux.org/index.php/QEMU#Change_Existing_Windows_VM_to_use_virtio</a><br><br>generating a fake qcwo2 file, adding it to the vm with qemu arg command line (since i use libvirt) and passing drivers with the same method (since apparently libvirt cdrom didn't work).<br>I'm suppose to see my image as a drive but i don't see anything, weird since the iso is there. the syntax i used is this :<br><span style="margin:0px;padding:0px;outline:none;color:rgb(35,42,42);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:18px;white-space:pre-wrap;background-color:rgb(236,240,240)"><qemu:arg value='-drive'/>
    <qemu:arg value='file=/home/zipeldiablo/</span><a href="http://fake.qcwo2/" style="margin:6px 0px;padding:0px;outline:none;color:rgb(35,42,42);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:18px;white-space:pre-wrap;background-color:rgb(236,240,240)" target="_blank">fake.qcwo2</a><span style="margin:0px;padding:0px;outline:none;color:rgb(35,42,42);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:18px;white-space:pre-wrap;background-color:rgb(236,240,240)">'/></span><br><br>I assume that once i figure this out i can install virtio drivers normally and reboot my vm with proper bus.<br>Speaking of target bus, is there a difference in I/O performance between ide and virtio for a ssd?<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-05-05 17:13 GMT+02:00 thibaut noah <span dir="ltr"><<a href="mailto:thibaut.noah@gmail.com" target="_blank">thibaut.noah@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Manage to find a way to access my virtio drivers by selecting the "system image recovery" option.<div>Not doing a thing and i installed all those needed. (they are installed on detected windows drive right?)</div><div><br></div><div>At this point i think windows has an issue with recognizing an emulated device, no idea which but this isn't related to the install itself.</div><div>It's more of a bug due to a switch between native and virtualized, it usually takes about a minute for windows to detect all devices and switch to appropriate config, obviously this time it is failing.<br>Since i can access the windows drive, even if windows does not fully launch it means virtio drivers are there, otherwise i assume i wouldn't see anything at all except the efi shell ? (please someone correct me if i am wrong).</div><div><br></div><div>Still the fact that windows does not detect both cd-rom devices on the repair menu but manage to see them while on the system recovery screen is strange.</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-05 16:52 GMT+02:00 thibaut noah <span dir="ltr"><<a href="mailto:thibaut.noah@gmail.com" target="_blank">thibaut.noah@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I don't understand, i have only one windows installation and like i said it boots perfectly if i don't run it with qemu-kvm.<div><br></div><div><div>Didn't find a way to install virtio drivers on native windows since they are not used by the system.</div><div>So if i have to do a recovery i can only do it from the vm which i am unable to do at the moment.</div><div><br></div><div>Going into efi sheel and running bootx64 in fso: /efi/boot gets me to the same repair screen as simply launching the vm.<br><div><br></div><div>Also i tried to add windows iso and virtio iso in the hope that i would be able to do a "repair" by booting on the iso but it seems both disks are not detected by windows though i added them with virt-manager. (they were detected a while ago but not anymore).</div><div>I'm suppose to seem them on windows repair in the "use a device" screen but i don't, only efi internal shell.</div></div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-05 16:36 GMT+02:00 Torbjorn Jansson <span dir="ltr"><<a href="mailto:torbjorn.jansson@mbox200.swipnet.se" target="_blank">torbjorn.jansson@mbox200.swipnet.se</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 2016-05-05 15:19, thibaut noah wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What do you mean by offline windows copy? This is a native windows 10<br>
install.<br>
I boot it native all the time to do benchmarks and all, never had any issue<br>
before the update.<br>
<br>
I assume what you mean by boot drivers is virtio drivers?<br>
<br>
</blockquote>
<br></span>
"offline copy" as in the windows installation that you are not currently running.<br>
dism cant be used on the currently running windows instance.<br>
booting to recovery is enough, this recovery can be from a usb stick or install dvd or whatever you prefer.<br>
<br>
example:<br>
dism /Image:C:\ /Add-Driver /Driver:X:\drivers\ /Recurse<br>
<br>
assuming C:\ is the drive where the broken offline version is.<br>
check drive letter, it might not be what you expect.<br>
<br>
also, this is not really vfio specific things, so probably a bit offtopic.<br>
<br>
and as i said before, all this will do is to add drivers, like those needed to find your boot device.<br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>