[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: starting qemu: shm problem



Hello.

Mirto Silvio Busico, 24.11.2006 12:05:
> I'm trying to star qemu but I have problems.
> 
> I'm using Etch and qemu 0.8.1-1
> 
> When I try to start I receive an error message stating that I have not
> enough shared memory.

You could start the VM with less memory.

> the mount command says:
>     devshm on /dev/shm type tmpfs (rw)
> 
> If I do what qemu suggest:
>     umount /dev/shm
>     mount -t tmpfs -o size=144m none /dev/shm
> 
> the emulation starts correcty
> 
> Here my questions:
> 
>    1. is this the expected behaviour?

If your shared memory is to little, yes.

>    3. how can I change the shm device?

In your /etc/fstab; here is my entry:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
none            /dev/shm        tmpfs   defaults,size=528M


Regards, Mathias

-- 
debian/rules

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: