|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
||||
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 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 Quote:
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
__________________
My best friends are parrots |
|
||||
Sorry about the confusion, my fault..... while I was writing the post, I also did a search and stumbled onto a example, and yes, it appears I got the syntax correct now, how ever it still would not accept a increase in memory, the -m 600 is what all ways worked, even without the "-drive format=raw,",.....
The host is also OpenBsd6.3 , and I have 2.8GIB ram,(aprox), but maybe still it is not enough,? just now watching this, when I boot the VM using the -m 600, it shows 90% of the ram is being used, (on the host), after the VM boots, and if it is idle, the ram usage drops, also note, it is not only the OpenBsd Vm, any of the others have the same limitation, I can not use more then the -m 600 (mb). Any way, nothing urgent, but I am interested in trying to resolve this, if possible. Usually the 600m is enough ram any way, ..
__________________
My best friends are parrots |
|
||||
Thanks , here is what it shows using the -a option,
Code:
$ start-openbsd63-2 time(cpu-seconds) unlimited file(blocks) unlimited coredump(blocks) unlimited data(kbytes) 1572864 stack(kbytes) 4096 lockedmem(kbytes) 996609 memory(kbytes) 2973384 nofiles(descriptors) 512 processes 256 qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory garry$ Thanks
__________________
My best friends are parrots |
|
|||
Code:
$ ulimit -d 2000000 |
|
||||
Thanks , I will give it a try.
==== edit ======== 2000000 did not work, but 3000000 does, thanks a lot.
__________________
My best friends are parrots |
Thread Tools | |
Display Modes | |
|
|
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 |