virsh shutdown does not shutdown a kvm guest
Issue
Executing "virsh sutdown <guestid>" command does not have any effect. The guest system will keep running.
Guest system has below configuration.
<domain type='kvm' id='19'>
<name>vlcst013</name>
<uuid>4e818427-bb0a-f957-77dd-7c1d700ed769</uuid>
<memory>2097152</memory>
<currentMemory>2097152</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<pae/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='disk'>
<source file='/apps/kvm/guestname.img'/>
<target dev='hda' bus='ide'/>
</disk>
<disk type='file' device='cdrom'>
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
<interface type='bridge'>
<mac address='54:52:00:49:64:61'/>
<source bridge='br0'/>
<target dev='vnet0'/>
</interface>
<interface type='bridge'>
<mac address='54:52:00:62:c7:37'/>
<source bridge='br2'/>
<target dev='vnet1'/>
</interface>
<interface type='bridge'>
<mac address='54:52:00:5c:41:60'/>
<source bridge='br1'/>
<target dev='vnet2'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/2'/>
<target port='0'/>
</serial>
<console type='pty' tty='/dev/pts/2'>
<source path='/dev/pts/2'/>
<target port='0'/>
</console>
</devices>
</domain>
Environment
Red Hat Enterprise Linux 5.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.