Bug 1707192

Summary: implement missing reset handler for cfi.pflash01 - slow train
Product: Red Hat Enterprise Linux 8 Reporter: Xueqiang Wei <xuwei>
Component: qemu-kvmAssignee: Philippe Mathieu-Daudé <philmd>
Status: CLOSED ERRATA QA Contact: Xueqiang Wei <xuwei>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.1CC: berrange, chayang, coli, ddepaula, jinzhao, juzhang, kraxel, lersek, pbonzini, philmd, rbalakri, virt-bugs, virt-maint, xfu, xuwei, yfu
Target Milestone: rc   
Target Release: 8.1   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-2.12.0-83.module+el8.1.0+3852+0ba8aef0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1678713 Environment:
Last Closed: 2019-11-05 20:49:21 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:
Bug Depends On: 1678713    
Bug Blocks:    

Comment 1 Xueqiang Wei 2019-05-07 02:31:09 UTC
According to https://bugzilla.redhat.com/show_bug.cgi?id=1704584#c7, clone bug 1678713 to slow train.


Version-Release number of selected component (if applicable):

host: 
kernel-4.18.0-80.19.el8.x86_64
qemu-kvm-2.12.0-67.module+el8.1.0+3088+c3b61d6f
edk2-ovmf-20190308git89910a39dcfd-2.el8.noarch

guest: 
kernel-4.18.0-80.21.el8.x86_64

Comment 5 Xueqiang Wei 2019-08-07 06:01:27 UTC
Hit this issue by automation case "system_reset_during_boot" in avocado, so retested with avocado.

Versions:
Host:
kernel-4.18.0-122.el8.x86_64
qemu-kvm-2.12.0-83.module+el8.1.0+3852+0ba8aef0
edk2-ovmf-20190308git89910a39dcfd-5.el8.noarch

Guest:
rhel8.1.0
windows2019
 

Both guest rhel8.1.0 and guest windows2019 are all work well after 40 times system_reset. So set status to VERIFIED.


cmd lines:
# python3 ConfigTest.py --testcase=system_reset_during_boot --imageformat=qcow2 --guestname=RHEL.8.1.0,Win2019 --driveformat=virtio_scsi --nicmodel=virtio_net --machines=q35 --clone=yes --firmware=ovmf


 (1/7) Host_RHEL.m8.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.8.1.0.x86_64.io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_threads.q35: PASS (1832.82 s)
 (2/7) Host_RHEL.m8.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.8.1.0.x86_64.io-github-autotest-qemu.rh_kernel_update.q35: PASS (424.67 s)
 (3/7) Host_RHEL.m8.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2019.x86_64.io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_threads.q35: PASS (2030.70 s)

 (4/7) repeat1.Host_RHEL.m8.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.8.1.0.x86_64.io-github-autotest-qemu.system_reset_during_boot.q35: PASS (661.35 s)
 (5/7) repeat1.Host_RHEL.m8.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2019.x86_64.io-github-autotest-qemu.system_reset_during_boot.q35: PASS (1836.09 s)
 (6/7) repeat2.Host_RHEL.m8.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.8.1.0.x86_64.io-github-autotest-qemu.system_reset_during_boot.q35: PASS (769.59 s)
 (7/7) repeat2.Host_RHEL.m8.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2019.x86_64.io-github-autotest-qemu.system_reset_during_boot.q35: PASS (1172.72 s)

boot guest after system_reset:
 (1/2) Host_RHEL.m8.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.8.1.0.x86_64.io-github-autotest-qemu.boot.q35: PASS (75.69 s)
 (2/2) Host_RHEL.m8.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2019.x86_64.io-github-autotest-qemu.boot.q35: PASS (120.47 s)

Comment 7 errata-xmlrpc 2019-11-05 20:49:21 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/RHSA-2019:3345