qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ivan Mironov <mironov.ivan@gmail.com>
To: qemu-devel@nongnu.org
Cc: armbru@redhat.com, aliguori@amazon.com
Subject: [Qemu-devel] [PATCH v2 0/2] Add support for biosdevname inside VM
Date: Wed, 20 Nov 2013 03:21:20 +0400	[thread overview]
Message-ID: <1384903282-8211-1-git-send-email-mironov.ivan@gmail.com> (raw)

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",

             reply	other threads:[~2013-11-19 23:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-19 23:21 Ivan Mironov [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1384903282-8211-1-git-send-email-mironov.ivan@gmail.com \
    --to=mironov.ivan@gmail.com \
    --cc=aliguori@amazon.com \
    --cc=armbru@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).