qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PULL 05/33] i386: Add 'sgx-epc' device to expose EPC sections to gu


From: Thomas Huth
Subject: Re: [PULL 05/33] i386: Add 'sgx-epc' device to expose EPC sections to guest
Date: Wed, 10 Nov 2021 08:00:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

On 10/11/2021 07.41, Yang Zhong wrote:
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!

No worry, device-crash-test is not mandatory, I just have the habit to run it and report the new problems when QEMU enters the freeze period for the next release.

But you're right, we should ultimatively try to get this included in the CI, too, so that the script does not bit-rot so easily anymore...

 Thomas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]