Bug 1466100 - [virtio-win]Win2016 identify non-ide disk as offline + readonly device
[virtio-win]Win2016 identify non-ide disk as offline + readonly device
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virtio-win (Show other bugs)
7.4
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Vadim Rozenfeld
Virtualization Bugs
:
: 1462700 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-28 23:21 EDT by aihua liang
Modified: 2017-11-16 23:22 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Data disk status checked from guest (98.52 KB, image/png)
2017-06-28 23:21 EDT, aihua liang
no flags Details

  None (edit)
Description aihua liang 2017-06-28 23:21:28 EDT
Created attachment 1292774 [details]
Data disk status checked from guest

Description of problem:
 [virtio-win]Win2016 identify non-ide disk as offline + readonly device

Version-Release number of selected component (if applicable):
  kernel version:3.10.0-680.el7.x86_64
  qemu-kvm-rhev version: qemu-kvm-rhev-2.9.0-10.el7.x86_64

How reproducible:
 100%

Steps to Reproduce:

1.Install a Win2016 guest with drive format "virtio-blk"

2.Start guest with ide, scsi and virtio-blk data disks, qemu cmds as bellow:
    /usr/libexec/qemu-kvm \
    -sandbox off  \
    -machine pc  \
    -nodefaults  \
    -vga cirrus  \
    -chardev socket,id=qmp_id_qmpmonitor1,path=/var/tmp/monitor-qmpmonitor1-20170614-233639-etu9X2zc,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control  \
    -chardev socket,id=qmp_id_catch_monitor,path=/var/tmp/monitor-catch_monitor-20170614-233639-etu9X2zc,server,nowait \
    -mon chardev=qmp_id_catch_monitor,mode=control \
    -device pvpanic,ioport=0x505,id=idhq2DAN  \
    -chardev socket,id=serial_id_serial0,path=/var/tmp/serial-serial0-20170614-233639-etu9X2zc,server,nowait \
    -device isa-serial,chardev=serial_id_serial0  \
    -chardev socket,id=seabioslog_id_20170614-233639-etu9X2zc,path=/var/tmp/seabios-20170614-233639-etu9X2zc,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20170614-233639-etu9X2zc,iobase=0x402 \
    -device ich9-usb-ehci1,id=usb1,addr=0x1d.7,multifunction=on,bus=pci.0 \
    -device ich9-usb-uhci1,id=usb1.0,multifunction=on,masterbus=usb1.0,addr=0x1d.0,firstport=0,bus=pci.0 \
    -device ich9-usb-uhci2,id=usb1.1,multifunction=on,masterbus=usb1.0,addr=0x1d.2,firstport=2,bus=pci.0 \
    -device ich9-usb-uhci3,id=usb1.2,multifunction=on,masterbus=usb1.0,addr=0x1d.4,firstport=4,bus=pci.0 \
    -drive id=drive_image1,if=none,snapshot=off,aio=native,cache=none,format=raw,serial=aliang,file=/home/win2016-virtio.raw \
    -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=1,bus=pci.0,addr=0x3,ioeventfd=off \
    -drive id=ide_data,if=none,snapshot=off,aio=native,cache=none,format=raw,file=/home/ide_data.img \
    -device ide-hd,id=data1,drive=ide_data,bus=ide.0 \
    -device virtio-scsi-pci,id=scsi0,bus=pci.0 \
    -drive id=scsi_data,if=none,snapshot=off,aio=native,cache=none,format=raw,file=/home/scsi_data.img \
    -device scsi-hd,id=data2,drive=scsi_data,bus=scsi0.0 \
    -drive id=data_disk,if=none,snapshot=off,aio=native,cache=none,format=raw,file=/home/data_disk.img \
    -device virtio-blk-pci,id=data3,drive=data_disk,bus=pci.0 \
    -device virtio-net-pci,mac=9a:43:44:45:46:47,id=idvMp6XX,vectors=4,netdev=id9qJxPT,bus=pci.0,addr=0x6  \
    -netdev tap,id=id9qJxPT,vhost=on \
    -m 6144  \
    -smp 6,cores=2,threads=1,sockets=3  \
    -cpu 'Broadwell',+kvm_pv_unhalt \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1  \
    -vnc :0  \
    -rtc base=utc,clock=host,driftfix=slew  \
    -boot order=cdn,once=d,menu=off,strict=off  \
    -no-shutdown \
    -enable-kvm \
    -monitor stdio \
    -spice ipv4,port=5000,disable-ticketing \
    -drive id=drive_cd1,if=none,snapshot=off,aio=native,cache=none,media=cdrom,file=/home/kvm_autotest_root/iso/windows/virtio-win-latest-signed-el7.iso \
    -device ide-cd,id=cd1,drive=drive_cd1,bus=ide.1,unit=0 \
   
3.Check disk status from guest.
   (Server Manager->File and Storage Services->Volumes->Disks)show:
      Ide-data-disk           online
      scsi-data-disk          offline    readonly
      virtio-blk-data-disk    offline    readonly


Actual results:
  virtio-blk and scsi data disk have different online/offline status with ide disk. 
 
Expected results:
  virtio-blk and scsi data disk should have the same online/offline status with ide disk. 

Additional info:
Comment 2 aihua liang 2017-06-28 23:22:45 EDT
*** Bug 1462700 has been marked as a duplicate of this bug. ***
Comment 3 aihua liang 2017-06-28 23:24:24 EDT
Additional info:
  virtio-win version: virtio-win-1.9.1-0.el7.iso

Note You need to log in before you can comment on or make changes to this bug.