DOC: Snappy kvm line should have specifier for memory size

Bug #1622342 reported by Simos Xenitellis 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Low
Unassigned

Bug Description

The documentation at
https://developer.ubuntu.com/en/snappy/start/

mentions

$ kvm -m 512 -redir :8090::80 -redir :8022::22 ubuntu-15.04-snappy-amd64-generic.img

The part about specifying the memory, "-m 512", is not straightforward as to what it means.
It can simply be changed to

kvm -m size=512M -redir :8090::80 -redir :8022::22 -drive format=raw,file=ubuntu-core-16-amd64.img

(that is, write "-m size=512M" instead of writing "-m 512").

The purpose for such a super-minor change is to make the new-user experience as smooth as possible.

Note: "kvm --help" hints about an intuitive "-memory" option, however the source only has a terse "-m" option. See http://git.qemu-project.org/?p=qemu.git;a=blob;f=qemu-options.hx#l251

Revision history for this message
mase (i-lp-f) wrote :

this page no longer exists.

mase (i-lp-f)
tags: added: obsolete
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

This documentation is now on page https://ubuntu.com/download/iot/kvm

Changed in snappy:
status: New → Triaged
importance: Undecided → Low
tags: removed: obsolete
Revision history for this message
Zygmunt Krynicki (zyga) wrote :
Revision history for this message
Peter Mahnke (peterm-ubuntu) wrote :

the command has changed... it is now

kvm -smp 2 -m 1500 -netdev user,id=mynet0,hostfwd=tcp::8022-:22,hostfwd=tcp::8090-:80 -device virtio-net-pci,netdev=mynet0 -vga qxl -drive file=ubuntu-core-16-amd64.img,format=raw

is that any better?

does ubuntu.com still need an update?

Michael Vogt (mvo)
affects: snappy → snapd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.