diff --git a/utils/qemu/Makefile b/utils/qemu/Makefile index a14d29c056..22a7a90bba 100644 --- a/utils/qemu/Makefile +++ b/utils/qemu/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=qemu PKG_VERSION:=10.1.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://download.qemu.org/ PKG_HASH:=fbaa7a0d7a9a1deb5695b125916746ec28fe0de6275d4454f3e3bbaf8b339b53 diff --git a/utils/qemu/files/qemu-ga.init b/utils/qemu/files/qemu-ga.init index 86c2b7ea77..a70d84b3ff 100755 --- a/utils/qemu/files/qemu-ga.init +++ b/utils/qemu/files/qemu-ga.init @@ -7,6 +7,10 @@ USE_PROCD=1 BIN=/usr/bin/qemu-ga start_service() { + if [ ! -d /dev/virtio-ports ];then + logger -t qemu-ga -p daemon.notice "/dev/virtio-ports not found. Skipping qemu-ga (this is normal on bare metal device)." + return 0 + fi procd_open_instance procd_set_param command $BIN procd_set_param respawn