[SeaBIOS] [PATCH] paravirt: Allow both Red Hat and Amazon PCI HB subsystem vendor and device ids
stefanha at gmail.com
Fri Jan 19 17:11:31 CET 2018
On Mon, Jan 8, 2018 at 10:11 AM, Gerd Hoffmann <kraxel at redhat.com> wrote:
>> >> @@ -83,8 +83,8 @@ static void qemu_detect(void)
>> >> - if (sv != 0x1af4 || /* Red Hat, Inc */
>> >> - sd != 0x1100) /* Qemu virtual machine */
>> >> + if (!(sv == 0x1af4 && sd == 0x1100) && /* Red Hat, Inc. QEMU VM */
>> >> + !(sv == 0x1d0f && sd == 0x1237)) /* Amazon.com, Inc. i440fx VM */
>> >> return;
>> > Is the above needed for a generally available VM software or product?
>> > Or is this internal to Amazon?
>> > -Kevin
>> 1d0f:1237 are the subsystem vendor and device ids of the i440fx emulation
>> in the EC2 machine model, which is what we're using for:
>> * https://aws.amazon.com/ec2/instance-types/c5/
>> * https://aws.amazon.com/ec2/instance-types/m5/
>> Today, the EC2 machine model isn't open source.
> So I guess not based on qemu? Otherwise you would have some GPL issues ...
QEMU is GPLv2 so there is no need to provide source if the
hypervisor/emulator software isn't being distributed.
SeaBIOS is LGPLv3 and its available in guest RAM so that may be a
More information about the SeaBIOS