From 462135d7e617c996944a082a8fa6716f2bb3c7f5 Mon Sep 17 00:00:00 2001 From: Yuanyuan Zhao Date: Mon, 6 Jun 2022 13:51:08 +0800 Subject: [PATCH] acrn-driver: ethernet parameter modify Modify ethernet parameter to keep consistent with acrn-dm. Tracked-On: #24 Signed-off-by: Yuanyuan Zhao --- src/acrn/acrn_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acrn/acrn_driver.c b/src/acrn/acrn_driver.c index cbd99df653..f84eb051e2 100644 --- a/src/acrn/acrn_driver.c +++ b/src/acrn/acrn_driver.c @@ -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,