<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 17, 2021 at 1:09 PM Liang Chaojun <<a href="mailto:jesonliang040705@hotmail.com">jesonliang040705@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Thanks Michal and Peter for your response. I‘ m running it on qemu 5.1 build by myself. BTW, follow Peter’s suggestion, where I can get the latest rpms if I want to upgrade to Libvirt 7.1? As I know it seems need more than twenty related rpms not include dependency.<br></blockquote><div>You can get the rpms from centos koji <a href="https://cbs.centos.org/koji/">https://cbs.centos.org/koji/</a> <a href="https://koji.mbox.centos.org/koji/">https://koji.mbox.centos.org/koji/</a> or fedora koji <a href="https://koji.fedoraproject.org/koji/">https://koji.fedoraproject.org/koji/</a></div><div>Since the version of rpm pkgs in RHEL7.4 are too low, I am afraid it will be hard to install libvirt 7.1.</div><div>It better to install it in RHEL8 or Centos8<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> 在 2021年5月14日,21:15,Michal Prívozník <<a href="mailto:mprivozn@redhat.com" target="_blank">mprivozn@redhat.com</a>> 写道:<br>
> <br>
> On 5/14/21 8:33 AM, Liang Chaojun wrote:<br>
>> <br>
>> <br>
>> Thanks,I have tried qemu monitor as below. I used chardev_add to add a chardev and used device_add it to running vm. But i often hit a issue and cause the vm crash. qemu-system-x86_64: ../hw/virtio/vhost.c:1566: vhost_dev_get_config: Assertion `hdev->vhost_ops' failed.<br>
>> <br>
>> virsh qemu-monitor-command spdk1 --hmp --cmd "chardev-add socket,id=spdk_vhost_blk0,path=/var/tmp/vhost.0,reconnect=1"  virsh qemu-monitor-command spdk1 --hmp --cmd "device_add vhost-user-blk-pci,chardev=spdk_vhost_blk0,num-queues=4"<br>
> <br>
> Smells like problem described here:<br>
> <br>
> <a href="https://gitlab.com/qemu-project/qemu/-/commit/bc79c87bcde6587a37347f81332fbb0cd6b14b85" rel="noreferrer" target="_blank">https://gitlab.com/qemu-project/qemu/-/commit/bc79c87bcde6587a37347f81332fbb0cd6b14b85</a><br>
> <br>
> But that's pretty fresh commit (part of qemu 6.0.0 release). And also<br>
> the commit it references is not that old (qemu 5.1.0 release). What<br>
> version of qemu are <br>
> <br>
<br>
<br>
</blockquote></div></div>