Tag Info

New answers tagged

0

kvm requires vt (hardware assisted virtualisation in the CPU), so if your box doesn't have that, then you have to use emulation using qemu. This will be very slow. kqemu is (was) a kernel module which predated vt, and which acted to run all userspace code natively, and only emulate privileged kernel code. This sped things up a lot, but kqemu support was ...


1

First of all, I had to use another kernel, kernel-qemu that I found here. Then, I could make it work using QEMU 1.7.1: With Raspbian: ./qemu-system-arm -kernel /path/to/kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" -hda /path/to/2013-12-20-wheezy-raspbian.img With Arch ...


1

The error is saying that your sd card is not being seen at all, or incorrectly being presented, so this is not a partition issue. Check your QEMU command for the sdcard instance and try again.


1

this article exactly explains what is happening! the problem is that you are emulating not virtualizing and emulating is resource consuming! just use -enable-kvm to virtualize ubuntu! check it out


0

That's the way the cookie crumbles with QEMU. If you read the documentation you'll get to: Tap The tap networking backend makes use of a tap networking device in the host. It offers very good performance and can be configured to create virtually any type of network topology. Unfortunately, it requires configuration of that network topology in the ...


0

Check the output of: ls -l /dev/kvm Look at the user-permissions segment, looks something like user group Make sure your user has access to /dev/kvm chown your_user:your_group /dev/kvm Then you can run VMs from your user!


0

Actually, I just found out that this processor supports VT-x but not VT-d, so I can't do IOMMU.


0

Add -netdev user,id=mynet0,net=192.168.76.0/24,dhcpstart=192.168.76.9 to your qemu command line. Ping will not work, however TCP connections from your system to the VM will. Raspbian machine should be configured to use DHCP. Your machine will need to be assigned a 192.168.76.0/24 address. ifconfig eth0:0 192.168.76.2 You should now be able to ssh from your ...


1

I have the same question, but I'm using Ubuntu Trusty 14.04. It worked doing apt-get install qemu-utils


1

There is a difference between running a backgrounded command from the terminal and from a shell script. In a non-interactive shell (with job control disabled) the stdin of a backgrounded command gets implicitly redirected from /dev/null, which may cause your command not to execute at all. See the POSIX standard on the Shell Command Language: Asynchronous ...



Top 50 recent answers are included