mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +00:00
qemu: Support for virtio-9p-ccw
Adding the recently in qemu added 9pfs support for virtio-ccw. Signed-off-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com> Reviewed-by: Jason J. Herne <jjherne@us.ibm.com> Reviewed-by: Stefan Zimmermann <stzi@linux.vnet.ibm.com>
This commit is contained in:
parent
54997a4d0a
commit
56f6de93b5
@ -4397,7 +4397,11 @@ qemuBuildFSDevStr(virDomainDefPtr def,
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
virBufferAddLit(&opt, "virtio-9p-pci");
|
if (fs->info.type == VIR_DOMAIN_DEVICE_ADDRESS_TYPE_CCW)
|
||||||
|
virBufferAddLit(&opt, "virtio-9p-ccw");
|
||||||
|
else
|
||||||
|
virBufferAddLit(&opt, "virtio-9p-pci");
|
||||||
|
|
||||||
virBufferAsprintf(&opt, ",id=%s", fs->info.alias);
|
virBufferAsprintf(&opt, ",id=%s", fs->info.alias);
|
||||||
virBufferAsprintf(&opt, ",fsdev=%s%s", QEMU_FSDEV_HOST_PREFIX, fs->info.alias);
|
virBufferAsprintf(&opt, ",fsdev=%s%s", QEMU_FSDEV_HOST_PREFIX, fs->info.alias);
|
||||||
virBufferAsprintf(&opt, ",mount_tag=%s", fs->dst);
|
virBufferAsprintf(&opt, ",mount_tag=%s", fs->dst);
|
||||||
|
Loading…
Reference in New Issue
Block a user