qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] Add support for biosdevname inside VM
@ 2013-11-19 23:21 Ivan Mironov
  2013-11-19 23:21 ` [Qemu-devel] [PATCH v2 1/2] smbios: Add type 41 structure (Onboard Devices Extended Information) Ivan Mironov
  2013-11-19 23:21 ` [Qemu-devel] [PATCH v2 2/2] smbios: Allow device ID instead of PCI address for type 41 Ivan Mironov
  0 siblings, 2 replies; 3+ messages in thread
From: Ivan Mironov @ 2013-11-19 23:21 UTC (permalink / raw)
  To: qemu-devel; +Cc: armbru, aliguori

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 seabios@seabios.org and linux-poweredge@dell.com (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",

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-19 23:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-19 23:21 [Qemu-devel] [PATCH v2 0/2] Add support for biosdevname inside VM Ivan Mironov
2013-11-19 23:21 ` [Qemu-devel] [PATCH v2 1/2] smbios: Add type 41 structure (Onboard Devices Extended Information) Ivan Mironov
2013-11-19 23:21 ` [Qemu-devel] [PATCH v2 2/2] smbios: Allow device ID instead of PCI address for type 41 Ivan Mironov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).