mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-23 08:31:29 +00:00
fix ethernet device pci slot conflict
This commit is contained in:
parent
467f74f19a
commit
17f17be784
2
xml.go
2
xml.go
|
@ -35,7 +35,7 @@ var qemuParamsDefault = `
|
||||||
var qemuParamsWithNetwork = `
|
var qemuParamsWithNetwork = `
|
||||||
<qemu:commandline>
|
<qemu:commandline>
|
||||||
<qemu:arg value='-device'/>
|
<qemu:arg value='-device'/>
|
||||||
<qemu:arg value='e1000,netdev=net0'/>
|
<qemu:arg value='e1000,netdev=net0,bus=pci.0,addr=0x10'/>
|
||||||
<qemu:arg value='-netdev'/>
|
<qemu:arg value='-netdev'/>
|
||||||
<qemu:arg value='user,id=net0'/>
|
<qemu:arg value='user,id=net0'/>
|
||||||
<qemu:arg value='-snapshot'/>
|
<qemu:arg value='-snapshot'/>
|
||||||
|
|
Loading…
Reference in a new issue