Results 1 to 2 of 2

Thread: (KVM) Adding HDDs etc for direct access from VM?

  1. #1
    Join Date
    Jul 2009
    Beans
    36

    (KVM) Adding HDDs etc for direct access from VM?

    I finally got an XP install running on KVM under 10.04. I've seen info on booting from physical partitions, but what about just adding them to the XML file so the guest OS has direct access? I'd rather transfer files back and forth that way than mess with networking. I'd also like to know the right way to add my DVD drive so the guest OS can get direct access to it for reading and burning discs.

  2. #2
    Join Date
    Jul 2009
    Beans
    36

    Re: (KVM) Adding HDDs etc for direct access from VM?

    Ok, this is starting to **** me off. I figured out how to get the VM OS to see a physical partition on the host, but it can't see new files added to the partition after the VM boots. Not only that, but it deleted them on shutdown! What the **** is that? Am I missing something here?

    Code:
      <devices>
        <emulator>/usr/bin/kvm</emulator>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw'/>
          <source file='/home/viper/vpc/windows.qcow2'/>
          <target dev='hda' bus='ide'/>
        </disk>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw'/>
          <source file='/dev/sdc1'/>
          <target dev='hdb' bus='ide'/>
        </disk>

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
  •