Skip to content

Allocate and store host TAP mac address #1177

@sboeuf

Description

@sboeuf

Instead of relying on the kernel to randomly assign a MAC address for the TAP interface on the host, we want to generate it ourselves so that we can store it in the VM config.
This will be particularly useful for snapshot/restore, as we can make sure the new TAP interface gets created with the right MAC address during the VM restore.

This needs to be done for both virtio-net and vhost-user-net.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions