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