Canceling the KVM settings

Dynamic Link Manager (for Linux®) User Guide

Version
9.0.x
Audience
anonymous
Part Number
MK-92DLM113-64
ft:lastEdition
2025-11-06

To cancel the KVM settings by using the virsh command:

If you are using KVM, you need to delete the HDLM device from the hardware configuration file (/etc/libvirt/qemu/domain-name.xml). For details on the hardware configuration file, see the OS documentation.

  1. Execute the following command to check the domain name and operating status of the guest OS.

    # virsh list --all
     Id Name                 State
    ----------------------------------
     1  domK               running

    The underlined part indicates the domain name.

  2. If the guest OS is running, stop it.

    For details on how to stop the guest OS, see the OS documentation.

  3. If necessary, delete the HDLM device from the hardware configuration file.

    If you want to delete the HDLM device (/dev/sddlmac), delete the following lines:

    <disk type='block' device='disk'> 
      <source dev='/dev/sddlmac'/> 
      <target dev='hdb' bus='ide'/> 
    </disk>
  4. To migrate an environment that uses an HDLM device to an environment that uses a SCSI device, change the HDLM device registered in the hardware configuration file to a SCSI device.

    The following example shows how to edit the hardware configuration file when migrating the HDLM device (/dev/sddlmad) to the SCSI device (/dev/sda):

    Before:

    <source dev='/dev/sddlmad'/>

    After:

    <source dev='/dev/sda'/>

    For details on which HDLM device correspond to which SCSI device, see Displaying corresponding information about an HDLM device, SCSI device, and LDEV.

  5. Execute the following command to enable the settings in the hardware configuration file.

    # virsh define /etc/libvirt/qemu/domK.xml
  6. Start the guest OS.

    For details on how to start the guest OS, see the OS documentation.