On Tue, Nov 09, 2021 at 06:48:59PM +0100, Paolo Bonzini wrote: > On 11/9/21 15:25, Thomas Huth wrote: > >Our device-crash-test script reports that this new device can be > >used to crash QEMU: > > > >$ ./qemu-system-x86_64 -M none -device sgx-epc > >/home/thuth/devel/qemu/include/hw/i386/pc.h:128:PC_MACHINE: Object > >0x55c80d332290 is not an instance of type generic-pc-machine > > > >Should it be marked with: > > > > dc->user_creatable = false > > > >? > > Yes, it should. Thanks for the report! >
Thanks Thomas reported this issue! I did not know we need do this test before. this test is not covered into Qemu Gitlab CI build system? or what's kind of tests we need do before we send the patches to Qemu community? If there is one guide or CI build including this, which is much better. Thanks! Yang > Paolo
