Skip to content

Guest could not enable pci AtomicOp requests for passthrough device

Host environment

  • Operating system: Ubuntu 22.04
  • OS/kernel version: (5.16.0-custom+)
  • Architecture: (x86 etc.)
  • QEMU flavor: (qemu-system-x86_64)
  • QEMU version: (QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.4) Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers)
  • QEMU command line: sudo /usr/local/lib/xen/bin/qemu-img create -f qcow2 u2004.qcow2 30G

Emulated/Virtualized environment

  • Operating system: (ubuntu-20.04.2)
  • OS/kernel version: (5.16.0-custom+)
  • Architecture: (x86)

Description of problem

Guest could not enable pci AtomicOp requests for passthrough device.

sudo setpci -v -d *:706t 8c.b=40 // enable pci AtomicOp requests bit in the guest os.

Host could not see the bit by command "sudo lspci -vvv -s 03:00.0".

Steps to reproduce

  1. sudo setpci -v -d *:706t 8c.b=40 // in the guest os
  2. sudo lspci -vvv -s 03:00.0 // in the host os

Additional information

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information