Skip to content

Commit

Permalink
Merge pull request #5866 from xpivarc/release-0.41-fix-memory
Browse files Browse the repository at this point in the history
[release-0.41]Increase memory for validation of container disk
  • Loading branch information
kubevirt-bot committed Jun 23, 2021
2 parents b80461f + c5c2cbe commit 7d028c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/virt-handler/isolation/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
func GetImageInfo(imagePath string, context IsolationResult) (*containerdisk.DiskInfo, error) {
// #nosec g204 no risk to use MountNamespace() argument as it returns a fixed string of "/proc/<pid>/ns/mnt"
out, err := virt_chroot.ExecChroot(
"--user", "qemu", "--memory", "1000", "--cpu", "10", "--mount", context.MountNamespace(), "exec", "--",
"--user", "qemu", "--memory", "1200", "--cpu", "10", "--mount", context.MountNamespace(), "exec", "--",
QEMUIMGPath, "info", imagePath, "--output", "json",
).Output()
if err != nil {
Expand Down

0 comments on commit 7d028c8

Please sign in to comment.