Duplicate disks listed in Rhel when hdtype set to AHCI


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

Validation Steps

  1. Install OpenXT (see environment tab for build tested)

  2. Install a Rhel 7.6 guest VM (presumably works on all other linux installs as well)

  3. See if duplicate installation destinations are listed

  4. After installation, check hdtype for guestVM. Confirm ahci

  5. Check disks under guestVM note duplicate disks for each VHD assigned to the guest

  6. Change hdtype from ahci to ide and boot guest

  7. Check disks under guestVM and note duplicate disks are no longer listed


Andrew Jones
May 1, 2019, 3:51 PM

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.

Chris Rogers
June 11, 2019, 4:27 PM

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.

Nicholas Tsirakis
June 26, 2019, 4:45 PM

New RHEL guest defaults to IDE and only shows a single disk at install time.





Andrew Jones


QA Assignee

Nicholas Tsirakis

QA Image URL


Epic Link

Fix versions

Affects versions