VirTips wind between the clouds

Attaching disk via libvirt using python

In VM load modules acpiphp, pci_hotplug. Read more on KVM site

  • ClaytonKramer

    Thanks for the example. 

  • pyrookie

    Good example. Thanks. One minor correction
    template = DISK_TEMPLATE.format(path=path, dev=dev)

    • http://virtips.virtwind.com/ Łukasz Oleś

      Thanks, fixed

  • sijo jose

    Why doesn’t it create source file automatically while calling ‘libvirt.attachDeviceFlags(xml, flags),..? it seems we should do it manually..

Post Navigation

Follow

Get every new post delivered to your Inbox

Join other followers