On 09/10/17 06:24, Shi, Steven wrote:
> Hi Laszlo,
> How could we configure the Qemu and test the UDF driver on OVMF?  

I guess you would format e.g. a DVD image with UDF, and attach it to
QEMU like any other CD-ROM.

> BTW, how could we configure the Qemu to create a full feature scope machine 
> to include all possible devices in it, e.g. USB, ISA, SD/MMC, network etc. 

This question is impossible to answer, there are so many device models
in QEMU. Instead, if you have a specific driver in edk2 that you would
like to test, I'd recommend adding a device model to the machine
configuration just for that. If you have several drivers in mind, repeat
until happy.

Either way, I'd certainly not recommend the raw QEMU command line for
this; I recommend libvirtd, and virt-manager + "virsh edit".

http://libvirt.org/formatdomain.html

Thanks
Laszlo


> 
> 
> Steven Shi
> Intel\SSG\STO\UEFI Firmware
> 
> Tel: +86 021-61166522
> iNet: 821-6522
> 
>> -----Original Message-----
>> From: edk2-devel [mailto:[email protected]] On Behalf Of
>> Laszlo Ersek
>> Sent: Sunday, September 10, 2017 8:13 AM
>> To: edk2-devel-01 <[email protected]>
>> Cc: Ni, Ruiyu <[email protected]>; Dong, Eric <[email protected]>; Zeng,
>> Star <[email protected]>; Ard Biesheuvel <[email protected]>
>> Subject: [edk2] [PATCH 0/5] MdeModulePkg: UDF fixes and cleanups
>>
>> Repo:   https://github.com/lersek/edk2.git
>> Branch: udf_fixes_cleanups
>>
>> Patches #2, #3 and #4 are needed (and enough) for me to build OVMF for
>> IA32 and X64 with clang-3.8, after the UDF introduction.
>>
>> Patches #1 and #5 are cleanups that I felt fit before patch #2 and after
>> patch #4, respectively.
>>
>> Cc: Ard Biesheuvel <[email protected]>
>> Cc: Eric Dong <[email protected]>
>> Cc: Paulo Alcantara <[email protected]>
>> Cc: Ruiyu Ni <[email protected]>
>> Cc: Star Zeng <[email protected]>
>>
>> Thanks
>> Laszlo
>>
>> Laszlo Ersek (5):
>>   MdeModulePkg/UdfDxe: ASSERT() valid ReadFileInfo Flags for INLINE_DATA
>>     req
>>   MdeModulePkg/UdfDxe: don't return unset Status if INLINE_DATA req
>>     succeeds
>>   MdeModulePkg/UdfDxe: replace zero-init of local variables with
>>     ZeroMem()
>>   MdeModulePkg/PartitionDxe: don't divide 64-bit values with C operators
>>   MdeModulePkg/PartitionDxe: remove always false comparison
>>
>>  MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c            | 9 +++++++--
>>  MdeModulePkg/Universal/Disk/UdfDxe/File.c                 | 6 ++++--
>>  MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c | 5 +++++
>>  3 files changed, 16 insertions(+), 4 deletions(-)
>>
>> --
>> 2.14.1.3.gb7cf6e02401b
>>
>> _______________________________________________
>> edk2-devel mailing list
>> [email protected]
>> https://lists.01.org/mailman/listinfo/edk2-devel

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to