Score:1

Cockpit -- how to add user options to start VM with QEMU/KVM

cn flag

I used Cockipt (host is the CentOS8) to create a guest VM (CentOS8 also). Now I have a task to configure the VM to use stuff from SPDK's VHOST. According SPDK docs I'm need to add follow lines to QEMU's command line :

**-chardev socket,id=char0,path=/var/tmp/vhost.0
-device vhost-user-scsi-pci,id=scsi0,chardev=char0**

So, the question is : how to add "user" options ? I did not found anything in the Cockpit's web interface, so is there what I can do manually ?

Michael Hampton avatar
cz flag
I don't think you can do it from cockpit but you can [edit qemu command line options](https://libvirt.org/drvqemu.html#pass-through-of-arbitrary-qemu-commands) into the virtual machine XML configuration yourself.
cn flag
Thanks for the answer. I'll look into.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.