On 08/01/20 11:33, zhenwei pi wrote:
In previous
patch(https://lkml.org/lkml/2019/12/14/265), I defined a
new bit (bit 1)
PVPANIC_CRASH_LOADED for guest crash loaded event. And suggested by KH Greg, I moved
the bit definition to an uapi header file.
Then QEMU could include the header file from linux header and handle the new event.
Sure; QEMU has already got a mechanism to import files from Linux
(scripts/update-linux-headers.sh).
Paolo