I'm having the exact same problem. Did a clean hardy installed. Did sudo "apt-get install ubuntu-xen-server libvirt-bin python-virtinst"
And when I do "virt-install --connect xen:///" and answer the questions it fails with the same error:
root@xen:~# virt-install --connect xen:///
What is the name of your virtual machine?
ERROR: System name must be a string greater than 0 and no more than 50 characters
What is the name of your virtual machine? as
How much RAM should be allocated (in megabytes)? 256
What would you like to use as the disk (file path)? /media/sdablaat/test.img
How large would you like the disk (/media/sdablaat/test.img) to be (in gigabytes)? 4
Sun, 15 Jun 2008 01:50:21 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'
I'm having the exact same problem. Did a clean hardy installed. Did sudo "apt-get install ubuntu-xen-server libvirt-bin python-virtinst"
And when I do "virt-install --connect xen:///" and answer the questions it fails with the same error:
root@xen:~# virt-install --connect xen:/// sdablaat/ test.img sdablaat/ test.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?
ERROR: System name must be a string greater than 0 and no more than 50 characters
What is the name of your virtual machine? as
How much RAM should be allocated (in megabytes)? 256
What would you like to use as the disk (file path)? /media/
How large would you like the disk (/media/
Sun, 15 Jun 2008 01:50:21 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'