Results 1 to 6 of 6

Thread: KVM shutdown problem

  1. #1
    Join Date
    Feb 2009
    Location
    SA, TX
    Beans
    4
    Distro
    Ubuntu 8.10 Intrepid Ibex

    KVM shutdown problem

    Ok so I have been playing with KVM. I have a running vm and every time I enter (I should say that usTest is the name of my vm)

    virsh shutdown usTest

    It brings back
    connecting to uri: qemu:///system
    Domain usTest is being shutdown

    Now if I run
    virsh list --all

    It returns

    id Name State
    -------------------------
    1 usTest running

    it does not acutally shut down. Am I missing something?
    Please help.

  2. #2
    Join Date
    Feb 2009
    Location
    SA, TX
    Beans
    4
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: KVM shutdown problem

    nvm .... After doing more research if Shutdown doesnt work (which there is no guarantee it will) use the destroy command.. it simulates pulling the powercord!

  3. #3
    Join Date
    Jan 2010
    Beans
    9

    Re: KVM shutdown problem

    I solved this problem today.

    Check that your have the ACPI feature on in the virtual machine specification XML file and installed on the guest.

    For example, if your guest is Ubuntu you should install ACPId.

    $ sudo aptitude install acpid

    After that, the shutdown works as like a charm.

    I hope it helps.

    jimezam.

  4. #4
    Join Date
    Feb 2005
    Beans
    13

    Re: KVM shutdown problem

    Thanks jimezam. I can confirm that I had the same problem and
    Code:
    sudo aptitude install acpid
    worked for me as well.

  5. #5
    Join Date
    Aug 2007
    Beans
    28

    Re: KVM shutdown problem

    1+ thank you!!!

  6. #6
    Join Date
    Nov 2008
    Location
    Netherlands
    Beans
    9
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: KVM shutdown problem

    I have just needed to install the acpi-support package to get a 10.04 guest to finaly shutdown properly. This was needed in addition to the already present acpid package and the <acpi/> tag in the xml configuration of the guest.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •