Skip to content

Unable to create virtual machine with more than ~2.8G of RAM on arm64 #6632

@thomasbarrett

Description

@thomasbarrett

Describe the bug
I have been unable to create virtual machine with more than ~2.8G of RAM on arm64. Happy to provide more details / dig into this further, but wanted to see if this was a known limitation first. The virtual machine boots successfully, but /proc/meminfo still only reports 2.8G of RAM`

To Reproduce
Start a virtual machine with --memory size=8G on an arm64 host. Run cat /proc/meminfo

Version
cloud-hypervisor v40.0.0

VM configuration
sudo cloud-hypervisor --serial tty --console pty --memory size=8G --kernel /var/lib/cloud-hypervisor/hypervisor-fw --disk path=/var/lib/cloud-hypervisor/jammy-server-cloudimg-arm64.raw

Guest OS version details:
Ubuntu 22.04

Host OS version details:
Ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions