qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 00/19] hw/ directory restructuring
Date: Mon, 04 Feb 2013 19:59:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

Il 04/02/2013 19:13, Peter Maydell ha scritto:
>> > This reorganizes the over 600 files in the hw/ directory to multiple
>> > subdirectories: acpi/, audio/, block/, bt/, char/, display/, i2c/, input/,
>> > isa/, misc/, net/, scsi/, sd/, ssi/, timer/, virtio/, watchdog/, xen/.
>> > These are in addition to the existing 9pfs/, ide/, kvm/, pci/, usb/
>> > directories, and to the per-target directories.
> I think this is inconsistent. Either we should organise by category,
> or we should organise per-target, but we shouldn't try to do both.
> Otherwise we're just going to wind up with half the $TARGET-specific
> $FOO device models in hw/$TARGET and the other half in hw/$FOO.

The $FOO device models should all be in hw/$FOO.  But there are some
parts that do not fit in a category or are always target-specific, and
hw/$TARGET has them.

Also, the kernel similarly has arch/$TARGET and drivers/$FOO.

Paolo



reply via email to

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