Add support for biosdevname inside VM
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v12 patches 0 repliesSuperseded
Changes since previous version from the cover letter
* Fixed bug in ./hw/i386/smbios.c:
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | smbios: Add type 41 structure (Onboard Devices Extended Information).hw/ include/ qemu-options.hx | +268 | 0 replies | |
| 2/2 | smbios: Allow device ID instead of PCI address for type 41.hw/ hw/ include/ +1 more | +128 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Qemu-devel] [PATCH v2 0/2] Add support for biosdevname inside VM
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 [email protected] and [email protected] (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",