Getting "Error: No support qemu in command 'virsh attach-disk'" when attaching a disk to KVM guest

Solution Verified - Updated -

Issue

  • 'virsh attach-disk' attach disks with driver "phy" by default which is  not valid for KVM, so need to specify the driver manually. But getting the following error when trying to attach a new disk to KVM guest with "qemu" driver.

    # virsh attach-disk --driver qemu RHEL /dev/mapper/VolGroup_main-kvmguest vdb
    error: No support qemu in command 'attach-disk
    

Environment

  • Red Hat Enterprise Linux 5
  • KVM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.