Find the answer to your Linux question:
Results 1 to 3 of 3
I've got an existing QEMU Virtual Server running on Fedora 11. Having troubles trying to find out how to change the location of where the Virtual Images are stored. Can ...
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    3

    How to change QEMU virtual image location?

    I've got an existing QEMU Virtual Server running on Fedora 11. Having troubles trying to find out how to change the location of where the Virtual Images are stored.

    Can anybody provide any help please?

    Thanks in advance!

  2. #2
    Just Joined!
    Join Date
    Oct 2009
    Posts
    3
    I know my virtual machines are in /var/lib/libvirt/images, I'm using Virtual Machine Manager that is connected to QEMU on the localhost

    So basically moving these images within the filesystem is a piece of cake, but how do I get the QEMU server to load images from another location?

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    3
    Figured it out looking at the manuals for a fair few commands, the following command has worked

    virt-install --name=WindowsXPIE6 --ram=512 --file=/media/Filestore/virtual_machines/WindowsXPIE6.img --import

    --name is the name (label) of the Virtual Machine
    --ram is the amount of RAM in mb
    --file is the location of the .img file
    --import is to tell QEMU to use an existing disk image

Posting Permissions

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