mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-04 08:26:42 +00:00
Merge pull request #2693 from deitch/single-rng
Remove double invocation of virtio-rng-pci
This commit is contained in:
@@ -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())
|
||||||
|
Reference in New Issue
Block a user