Skip to content

Commit

Permalink
acrn-driver: ethernet parameter modify
Browse files Browse the repository at this point in the history
Modify ethernet parameter to keep consistent with acrn-dm.

Tracked-On: #24
Signed-off-by: Yuanyuan Zhao <[email protected]>
  • Loading branch information
YuanyuanZhao609 authored and liuhang-bit committed Jun 6, 2022
1 parent 1bc03e4 commit 3cc935e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/acrn/acrn_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ acrnCommandAddDeviceArg(virDomainDefPtr def,
return -1;

virCommandAddArg(cmd, "-s");
virCommandAddArgFormat(cmd, "%u:%u:%u,virtio-net,%s,mac=%s",
virCommandAddArgFormat(cmd, "%u:%u:%u,virtio-net,tap=%s,mac=%s",
info->addr.pci.bus,
info->addr.pci.slot,
info->addr.pci.function,
Expand Down

0 comments on commit 3cc935e

Please sign in to comment.