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

Re: [win-pv-devel] PV Drivers Offline Removal



Il 15/09/2015 15:03, Fabio Fantoni ha scritto:
Il 15/09/2015 13:16, Ben Chalmers ha scritto:

There was a problem with driver uninstall, which Paul fixed in

Â

http://xenbits.xen.org/gitweb/?p=pvdrivers/win/xenvbd.git;a=commit;h=59797d160517e47a249e67f030bb5d2943f8177a

Â

Alternatively:

Â

removing xenfilt from UpperFilters of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class subkeys

{4D36E96A-E325-11CE-BFC1-08002BE10318}

{4D36E97D-E325-11CE-BFC1-08002BE10318}


I found the keys but not xenfilt from UpperFilters in them.

Â

And setting

Â

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Xen*\Start to 3

Â

are frequently good (if somewhat severe) ways of avoiding 7B BSODs when things go wrong.

Â

Ben Chalmers


Thanks, this solved the boot problem after drivers uninstall but after new pv build install and reboot disk the emulated one only and also emulated network card is still present (even if disabled).

This was with hdtype="ide", with ahci instead network seems ok with pv only and disks show both emulated and pv devices (see attachment), this is probably related on what Stefano Stabellini told about unplug support missed for ahci disks for xen in upstream qemu.
I can't take qemu's trace because is recently not working for unknow reason.

I should restore start keys of previous status after install of new build for correct pv working?

Why is possible remove all drivers related services, registry keys and files from driver uninstall?

Thanks for any reply and sorry for my bad english.

Â

Â


From: Fabio Fantoni
Sent: 15 September 2015 12:06
To: Paul Durrant;Joel Noyce-Barnham;win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [win-pv-devel] PV Drivers Offline Removal

Â

Â

Il 15/09/2015 10:59, Paul Durrant ha scritto:

Joel,

Â

 Offline removal should be quite possible. The thing that needs to be cleaned up to make sure the image will reboot are the âunplugâ values that are used early on in boot to request unplug of emulated devices in QEMU. Look under HKLM/system/currentcontrolset/services/xen and you should see a key called âUnplugâ. If you delete that key then the next reboot should use emulated devices and so should be fine with no PV drivers.

Â

 Cheers,

Â

 Paul


Hi I'm unable to boot windows 10 after new pv drivers uninstall, I removed them from control panel, I also executed a bat I posted some months ago here for remove other related things, I tried also to remove the registry key above, with both ide and ahci disk, with xen_platform_pci=0 but in all cases gave me always INACCESSIBLE_BOOT_DEVICE blue screen :(
Someone know other things I can try?

First test with uninstall only from control panel game me also a more important problem (here there are also dom0 and domU details): http://lists.xen.org/archives/html/win-pv-devel/2015-09/msg00063.html

Thanks for any reply and sorry for my bad english.


Â

From: win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx [mailto:win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Joel Noyce-Barnham
Sent: 14 September 2015 18:21
To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Subject: [win-pv-devel] PV Drivers Offline Removal

Â

Hi All,

We are currently using the GPLPV drivers but are hoping to move to the new Xen WINPV drivers as they are actively developed and have some new features which we are interested in. We currently have a process where VMs can be moved from our Xen hypervisor into EC2. This process relies on the fact that we are able to remove the drivers from an offline image. Previously we have been removing the drivers successfully by converting the disk images to a VHD file, using Dism to remove the drivers (https://technet.microsoft.com/en-GB/library/dd744355%28v=ws.10%29.aspx) and then importing the resulting VHD into EC2. This works with the GPLPV drivers but with the new WINPV drivers it creates an unbootable image (the import into EC2 fails and the image can also not be booted on the original hypervisor).

I have found some previous posts on this mailing list (http://lists.xenproject.org/archives/html/win-pv-devel/2015-03/msg00076.html) discussing removing the drivers and I am able to successfully remove the drivers from an online image but sadly our process requires that this removal be performed offline.

I am just wondering if anyone else is using Dism in windows to remove the PV drivers from an offline image? Or if anyone else has successfully removed the WINPV drivers from an offline image at all? Any pointers anyone can give would be appreciated. The only way we have so far found to make the image boot after removing the drivers with Dism is by manual modification of a large number of registry keys which seems like a far from ideal solution.

Thanks for any help,
Joel

Zynstra is a private limited company registered in England and Wales (registered number 07864369). Our registered office and Headquarters are at The Innovation Centre, Broad Quay, Bath, BA1 1UD. This email, its contents and any attachments are confidential. If you have received this message in error please delete it from your system and advise the sender immediately.

Â

Â

Â



Attachment: devices.JPG
Description: JPEG image

_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.