You are not logged in.
My KVM is not working properly.
```bash
pacman -Qi qemu-full libvirt virt-manager
名字 : qemu-full
版本 : 10.0.0-5
描述 : A full QEMU setup
架构 : x86_64
URL : https://www.qemu.org/
软件许可 : BSD-2-Clause BSD-2-Clause-Patent BSD-3-Clause CC0-1.0 FSFAP GPL-1.0-or-later GPL-2.0-only GPL-2.0-only WITH Linux-syscall-note GPL-2.0-only WITH Linux-syscall-note OR BSD-2-Clause GPL-2.0-only WITH Linux-syscall-note OR BSD-3-Clause GPL-2.0-or-later GPL-2.0-or-later OR BSD-3-Clause GPL-2.0-or-later WITH Linux-syscall-note ISC LGPL-2.1-only OR BSD-3-Clause LGPL-2.0-or-later LGPL-2.1-or-later LicenseRef-Public-Domain MIT
组 : 无
提供 : qemu=10.0.0
依赖于 : qemu-audio-alsa=10.0.0-5 qemu-audio-dbus=10.0.0-5 qemu-audio-jack=10.0.0-5 qemu-audio-oss=10.0.0-5 qemu-audio-pa=10.0.0-5 qemu-audio-sdl=10.0.0-5 qemu-audio-spice=10.0.0-5 qemu-block-gluster=10.0.0-5 qemu-block-iscsi=10.0.0-5 qemu-chardev-baum=10.0.0-5 qemu-desktop=10.0.0-5 qemu-docs=10.0.0-5 qemu-emulators-full=10.0.0-5 qemu-hw-s390x-virtio-gpu-ccw=10.0.0-5 qemu-pr-helper=10.0.0-5 qemu-tests=10.0.0-5 qemu-tools=10.0.0-5 qemu-user=10.0.0-5 qemu-vmsr-helper=10.0.0-5
可选依赖 : qemu-user-static: for static user mode emulation of QEMU targets
samba: for SMB/CIFS server support [已安装]
依赖它 : 无
被可选依赖 : qemu-base qemu-desktop
与它冲突 : 无
取代 : 无
安装后大小 : 49.57 KiB
打包者 : Sven-Hendrik Haase <svenstaro@archlinux.org>
编译日期 : 2025年05月23日 星期五 10时18分39秒
安装日期 : 2025年06月07日 星期六 17时45分09秒
安装原因 : 单独指定安装
安装脚本 : 否
验证者 : 数字签名
名字 : libvirt
版本 : 1:11.4.0-1
描述 : API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)
架构 : x86_64
URL : https://libvirt.org/
软件许可 : LGPL-2.1-or-later GPL-3.0-or-later
组 : 无
提供 : libvirt=11.4.0 libvirt.so=0-64 libvirt-admin.so=0-64 libvirt-lxc.so=0-64 libvirt-qemu.so=0-64
依赖于 : acl audit bash curl device-mapper fuse3 gcc-libs glib2 glibc gnutls json-c libcap-ng libnbd libnl libpcap libpciaccess libsasl libssh libssh2 libtirpc libxml2 numactl parted polkit readline systemd-libs util-linux-libs
可选依赖 : dmidecode: DMI system info support [已安装]
dnsmasq: required for default NAT/DHCP for guests [已安装]
gettext: required for libvirt-guests.service [已安装]
iptables-nft: required for default NAT networking
libvirt-python: for virt-qemu-qmp-proxy and virt-qemu-sev-validate commands [已安装]
libvirt-storage-gluster: Gluster storage backend
libvirt-storage-iscsi-direct: iSCSI-direct storage backend
lvm2: Logical Volume Manager support [已安装]
openbsd-netcat: for remote management over ssh [已安装]
open-iscsi: iSCSI support via iscsiadm
python-cryptography: for virt-qemu-sev-validate command [已安装]
python-lxml: for virt-qemu-sev-validate command
qemu-base: QEMU/KVM support [已安装]
qemu-desktop: QEMU/KVM desktop support [已安装]
qemu-emulators-full: Support of additional QEMU architectures [已安装]
radvd: IPv6 RAD support [已安装]
swtpm: TPM emulator support [已安装]
依赖它 : libvirt-glib libvirt-python
被可选依赖 : 无
与它冲突 : 无
取代 : 无
安装后大小 : 49.87 MiB
打包者 : Frederik Schwan <freswa@archlinux.org>
编译日期 : 2025年06月02日 星期一 16时48分57秒
安装日期 : 2025年06月07日 星期六 17时48分07秒
安装原因 : 单独指定安装
安装脚本 : 否
验证者 : 数字签名
名字 : virt-manager
版本 : 5.0.0-1
描述 : Desktop user interface for managing virtual machines
架构 : any
URL : https://virt-manager.org/
软件许可 : GPL-2.0-only
组 : 无
提供 : 无
依赖于 : virt-install=5.0.0 gtk-update-icon-cache gtk-vnc libvirt-glib spice-gtk vte3 python-cairo gtksourceview4
可选依赖 : x11-ssh-askpass: provide password for remote machines connected via ssh tunnel [已安装]
依赖它 : 无
被可选依赖 : 无
与它冲突 : 无
取代 : 无
安装后大小 : 2.11 MiB
打包者 : Frederik Schwan <freswa@archlinux.org>
编译日期 : 2024年12月01日 星期日 04时53分33秒
安装日期 : 2025年06月07日 星期六 18时06分59秒
安装原因 : 单独指定安装
安装脚本 : 否
验证者 : 数字签名
```
I ran sudo usermod -aG kvm, libvirt username and sudo virsh net-autostart default,but,my KVM is not working properly.
```bash
sudo virsh net-list --all
名称 状态 自动开始 持久
-----------------------------------
default 活动 是 是
```
What do I need to do? I can provide more information.
Last edited by microsoftxiaoice (2025-06-16 02:04:03)
Offline
please use code tags - github markup is not supported here
also: to get english output please repend your commands with
LC_ALL=Cbut,my KVM is not working properly.
what do you mean by that EXACTLY? what's going wrong?
"it does not work" is NOT a helpful issue description
Last edited by cryptearth (2025-06-14 19:53:52)
Offline
I've fixed this issue because packet forwarding isn't enabled packet forwarding.
Sorry, this is the first time I've asked a question here, my English is not good.
Offline
https://www.deepl.com/
so you had an issue with something network related? that would had been a vital information
there's quite a difference between "the kvm does not start at all" and "works fine but I have no network / network related issues"
also: please mark the topic as solved
Last edited by cryptearth (2025-06-15 08:28:09)
Offline