As part of our OpenXT testing, I was also tasked with running some tests against a Rhel install.
During installation, two installation destination options will be given even if only one VHD was assigned to the guest. The disks will be of identical size. One will be named QEMU, the other unnamed. Installing to either disk will succeed. After installation, both disks will be visible under the disks application, and will have partitions of equal size to each other.
Related to a similar issue in Windows 10 systems after tools are installed. Only occurs when hdtype is ahci. When set to ide, duplicate disks do not appear.
Open XT stable 9 Build 6524
Dell Latitude 7490
1.8.0 BIOS, UEFI, TPM2
Rhel 7.6 Guest VM - Legacy - No tools
Install OpenXT (see environment tab for build tested)
Install a Rhel 7.6 guest VM (presumably works on all other linux installs as well)
See if duplicate installation destinations are listed
After installation, check hdtype for guestVM. Confirm ahci
Check disks under guestVM note duplicate disks for each VHD assigned to the guest
Change hdtype from ahci to ide and boot guest
Check disks under guestVM and note duplicate disks are no longer listed
Linking to OXT-1576. Same issue appears to affect both linux and windows. This was tested with Rhel but presumably will affect all linux installs. This bug appears only when hdtype is set to ahci. When changed to ide, duplicate disks do not appear.
PRs up. As indicated by this mailing list post https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg04362.html the QEMU and Xen guys have no intention of implementing a xen AHCI unplug path like the one that exists for IDE. It makes no sense to spend days implementing that when all it will do is turn off the AHCI disk and use the PV blkfront disk that comes compiled/loaded in most modern Linux distros. Better to just force the guest to use IDE and have the existing path to unplug the IDE disk to eliminate user confusion.
In the end, either approach would end up using the PV disk driver.
New RHEL guest defaults to IDE and only shows a single disk at install time.