qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 0/2] Add support for biosdevname inside VM


From: Ivan Mironov
Subject: [Qemu-devel] [PATCH v2 0/2] Add support for biosdevname inside VM
Date: Wed, 20 Nov 2013 03:21:20 +0400

Hello!

These patches adds support for providing SMBIOS "Onboard Devices Extended 
Information" fields to the guest i386/x86_64 system. This could be used in 
conjunction with biosdevname to provide "consistent network device naming" 
inside VM.

I will also send corresponding patches to address@hidden and address@hidden 
(for biosdevname).

Changes since previous version:
 * Fixed bug in ./hw/i386/smbios.c:

    @@ -357,7 +357,7 @@ static void save_opt(const char **dest, QemuOpts *opts, 
const char *name)
     static void smbios_check_onboard_device_instance(int type, int instance)
     {
         static uint8_t instances[ONBOARD_DEV_TYPE_NUM][UINT8_MAX / 8];
    -    uint8_t *type_instances = instances[type];
    +    uint8_t *type_instances = instances[type - ONBOARD_DEV_TYPE_MIN];

         if (type_instances[instance / 8] & (1 << (instance % 8))) {
             error_report("instance %d is not unique within device-type %d",




reply via email to

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