Bug 1784744

Summary: [virtio-win] guest can not boot up due to virtio-win-installer remove option uninstalls all drivers including OS driver
Product: Red Hat Enterprise Linux 8 Reporter: lijin <lijin>
Component: virtio-winAssignee: Gal Zaidman <gzaidman>
virtio-win sub component: others QA Contact: lijin <lijin>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: ailan, ddepaula, kanderso, knoel
Version: 8.2   
Target Milestone: rc   
Target Release: 8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virtio-win-1.9.10-3.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-04 12:27:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
guest bsod screenshot after reboot none

Description lijin 2019-12-18 08:59:17 UTC
Created attachment 1646050 [details]
guest bsod screenshot after reboot

Description of problem:


Version-Release number of selected component (if applicable):
virtio-win-1.9.10-2.el8/virtio-win-installer-1.9.10-1

How reproducible:
100%

Steps to Reproduce:
1.boot up a windows guest with ide system disk:
    -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x4 \
    -drive id=drive_image1,if=none,snapshot=off,aio=threads,cache=none,format=qcow2,file=/home/kvm_autotest_root/images/win2016-64-virtio-scsi.qcow2 \
    -device ide-drive,id=image1,drive=drive_image1,serial=SYSTEM_DISK0 \

2.run virtio-win-gt-x86.msi in guest and click "install"

3.shutdown the guest, and boot it up with scsi system disk
    -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=0x4 \
    -drive id=drive_image1,if=none,snapshot=off,aio=threads,cache=none,format=qcow2,file=/home/kvm_autotest_root/images/win2016-64-virtio-scsi.qcow2 \
    -device scsi-hd,id=image1,drive=drive_image1,serial=SYSTEM_DISK0 \

4.run virtio-win-gt-x86.msi in guest and click "remove"

5.reboot guest

Actual results:
after step4, all drivers are uninstalled, include the guest os system disk drive
after step5, guest bsod due to inaccessible boot device

Expected results:
during remove, we can select which drivers we want to remove instead of remove all of them

Additional info:

Comment 2 lijin 2019-12-19 10:43:10 UTC
Check with latest virtio-win-installer-1.9.10-3, viostor and vioscsi drivers are remained after remove operation. 
So guest system disk drivers keep in guest, vm does not bsod.

Change status to verified.

Comment 4 errata-xmlrpc 2020-02-04 12:27:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:0351