mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
Merge pull request #2693 from deitch/single-rng
Remove double invocation of virtio-rng-pci
This commit is contained in:
commit
678adbd784
@ -491,7 +491,6 @@ func runQemuContainer(config QemuConfig) error {
|
|||||||
func buildQemuCmdline(config QemuConfig) (QemuConfig, []string) {
|
func buildQemuCmdline(config QemuConfig) (QemuConfig, []string) {
|
||||||
// Iterate through the flags and build arguments
|
// Iterate through the flags and build arguments
|
||||||
var qemuArgs []string
|
var qemuArgs []string
|
||||||
qemuArgs = append(qemuArgs, "-device", "virtio-rng-pci")
|
|
||||||
qemuArgs = append(qemuArgs, "-smp", config.CPUs)
|
qemuArgs = append(qemuArgs, "-smp", config.CPUs)
|
||||||
qemuArgs = append(qemuArgs, "-m", config.Memory)
|
qemuArgs = append(qemuArgs, "-m", config.Memory)
|
||||||
qemuArgs = append(qemuArgs, "-uuid", config.UUID.String())
|
qemuArgs = append(qemuArgs, "-uuid", config.UUID.String())
|
||||||
|
Loading…
Reference in New Issue
Block a user