qemu启动虚机,driver使用基于spdk的vhost-user-scsi技术, bdev backend为ceph rbd
创建vhost device (上文创建rbd dev名称为Ceph0)
virtio-blk
1 | #scripts/rpc.py vhost_create_blk_controller --cpumask 0x1 vhost.1 Ceph1 |
virtio-scsi
1 | #scripts/rpc.py vhost_create_scsi_controller --cpumask 0x1 vhost.0 |
启动虚拟机
1 | /usr/local/qemu42/bin/qemu-system-x86_64 --enable-kvm \ |
Troubleshooting
1 | libvirt 貌似只支持管理qemu vhost-user-blk方式,不支持vhost-user-scsi方式 |
cinder
1 | cinder type-create sata_high_io |