From 836695ad0e594d25f42541e9dac510f411836296 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Thu, 19 Sep 2024 17:22:45 +0000 Subject: [PATCH] cleanups, drop KVM group permissions step --- .github/workflows/qemu.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/qemu.yml b/.github/workflows/qemu.yml index b8d2cb328c..52a71738ea 100644 --- a/.github/workflows/qemu.yml +++ b/.github/workflows/qemu.yml @@ -46,7 +46,7 @@ jobs: - name: Check out repository uses: actions/checkout@v4 - - name: Create guest image + - name: Create guest VM image uses: ./.github/actions/create-guest-image with: distro: ${{ env.DISTRO }} @@ -56,13 +56,8 @@ jobs: uses: ./.github/actions/build-qemu - name: Create backing file for NVMe device run: truncate -s 1G nvme0.img - - name: Enable KVM group permissions https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/ - run: | - echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules - sudo udevadm control --reload-rules - sudo udevadm trigger --name-match=kvm - - name: Start VM + - name: Start VM and clone/build fio uses: ./.github/actions/start-vm with: image: ${{ env.DISTRO }}.img