DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 6th August 2018
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 415
Default More QEMU ram and cpu size

Even with the manual, and also several tutorials, I can not seem to figure this out.

This is what works, to start the VM but I would like to increase the - m (memory, cpu) :
Code:
qemu-system-x86_64 -m 600 -drive if=virtio,file=disk.opnbsd63 -netdev user,id=mynet0,hostfwd=tcp:127.0.0.1:7922-:22 -device e1000,netdev=mynet0
When I try this:
Code:
qemu-system-x86_64 -m 1200 -drive if=virtio,file=disk.opnbsd63 -netdev user,id=mynet0,hostfwd=tcp:127.0.0.1:7922-:22 -device e1000,netdev=mynet0
I get this:
Quote:
WARNING: Image format was not specified for 'disk.opnbsd63' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory
Which seems straightforward enough, how ever I can not seem to get the syntax correct, where or how do I specify the raw format, ?
Code:
 qemu-system-x86_64 -m 1000, -drive format=raw,file=disk.opnbsd63 -netdev user,id=mynet0,hostfwd=tcp:127.0.0.1:7922-:22  -device e1000,netdev=mynet0
Code:
qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory
Any help or advice will be appreciated
__________________
My best friends are parrots
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Font size psypro OpenBSD General 8 3rd March 2017 05:19 AM
CLI font size idefix FreeBSD General 3 7th February 2009 11:19 AM
Negative partition size? giga FreeBSD General 1 2nd January 2009 09:02 PM
Change the Size of a Slice kienjakenobi FreeBSD General 9 27th June 2008 03:01 PM
apache fd size problem oxy FreeBSD Ports and Packages 0 10th May 2008 10:49 AM


All times are GMT. The time now is 09:58 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick