Comment 28 for bug 221746

Revision history for this message
Leon (leonbo) wrote :

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'

root@xen:~#