From: "Nicolson Ken (ニコルソン ケン)" <ken.nicolson@jp.panasonic.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: Vhost example application hangs QEMU
Date: Wed, 9 Aug 2023 06:20:59 +0000 [thread overview]
Message-ID: <TYAPR01MB63789127AD5ED8FC5E1BD814BC12A@TYAPR01MB6378.jpnprd01.prod.outlook.com> (raw)
Looking at the page https://doc.dpdk.org/guides-22.11/sample_app_ug/vhost.html I first use the Virtual Machine Manager GUI to initially set up Ubuntu 22.04.
Note: I disabled AppArmor as that caused a separate problem trying to create /tmp/sock0
Next, I add the flags to the config (note I need server**=on**, and net9 to prevent duplicate IDs):
virt-xml ubuntu22.04 --edit --confirm --qemu-commandline="-chardev socket,id=char1,path=/tmp/sock0,server=on \
-netdev type=vhost-user,id=hostnet9,chardev=char1 \
-device virtio-net-pci,netdev=hostnet9,id=net9,mac=52:54:00:00:00:14" --connect qemu:///system
The XML looks OK, so I then do:
virsh start ubuntu22.04
However, this hangs, and Ctrl-C gets me back to the command line, where I can do this:
virsh list --all
Id Name State
------------------------------
10 ubuntu22.04 paused
virsh shutdown ubuntu22.04
error: Failed to shutdown domain 'ubuntu22.04'
error: Timed out during operation: cannot acquire state change lock (held by monitor=remoteDispatchDomainCreate)
Only a reboot can reset the situation. What is missing, or where am I going wrong?
Thanks,
Ken
reply other threads:[~2023-08-09 6:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=TYAPR01MB63789127AD5ED8FC5E1BD814BC12A@TYAPR01MB6378.jpnprd01.prod.outlook.com \
--to=ken.nicolson@jp.panasonic.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).