When I use virt-install on the xen host itself, it gives me the same error:
root@xen:~# virt-install
What is the name of your virtual machine? pxe
How much RAM should be allocated (in megabytes)? 256
What would you like to use as the disk (file path)? /media/sdablaat/
ERROR: The disk path must be a file or a device, not a directory
What would you like to use as the disk (file path)? /media/sdablaat/pxe.img
How large would you like the disk (/media/sdablaat/pxe.img) to be (in gigabytes)? 4
Sun, 08 Jun 2008 17:19:25 ERROR 'ParaVirtGuest' object has no attribute 'get_virtio_blk'
Traceback (most recent call last):
File "/usr/bin/virt-install", line 519, in <module>
main()
File "/usr/bin/virt-install", line 438, in main
guest, hvm, conn)
File "/usr/bin/virt-install", line 139, in get_disks
get_disk(disk, size, sparse, guest, hvm, conn)
File "/usr/bin/virt-install", line 108, in get_disk
d.virtio = guest.get_virtio_blk()
AttributeError: 'ParaVirtGuest' object has no attribute 'get_virtio_blk'
When I use virt-install on the xen host itself, it gives me the same error:
root@xen:~# virt-install sdablaat/ pxe.img sdablaat/ pxe.img) to be (in gigabytes)? 4 virt-install" , line 519, in <module> virt-install" , line 438, in main virt-install" , line 139, in get_disks virt-install" , line 108, in get_disk virtio_ blk()
What is the name of your virtual machine? pxe
How much RAM should be allocated (in megabytes)? 256
What would you like to use as the disk (file path)? /media/sdablaat/
ERROR: The disk path must be a file or a device, not a directory
What would you like to use as the disk (file path)? /media/
How large would you like the disk (/media/
Sun, 08 Jun 2008 17:19:25 ERROR 'ParaVirtGuest' object has no attribute 'get_virtio_blk'
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
guest, hvm, conn)
File "/usr/bin/
get_disk(disk, size, sparse, guest, hvm, conn)
File "/usr/bin/
d.virtio = guest.get_
AttributeError: 'ParaVirtGuest' object has no attribute 'get_virtio_blk'
root@xen:~#