I have filed a bug "fdisk still shows the "/dev/sdb" partitions even after the removal of scsi disk" for the upstream kernel.
RHEL guest shows the partittions even after the removal of scsi
Host Details :
Upstream Kernel, Qemu, Libvirt and virt-manager
kernel version : 3.9.0+
Steps to reproduce the issue:
I. Add the SCSI disk through the virt-manager.
This issue is not seen with virt-io disk.
This issue is also reproducible without even creating the partitions.
The output of fdisk /dev/sd* should not show the enties after the removal of scsi disks