Linux KVM – Error: ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy

When you try to install virtual machine with virt-install or the Virtual Machine Manager you get the following Error:

 

root@syss:~# 
virt-install --connect qemu:///system
--name syss-test
--ram 1024
--disk syss-test.img,size=8
--network=network:default
--vnc
--noautoconsole
--os-type linux
--accelerate
--cdrom /home/syss/Downloads/debian-7.6.0-amd64-netinst.iso
Starting install...
ERROR internal error: Process exited while reading console log output: char device redirected to /dev/pts/45 (label charserial0)
ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
failed to initialize KVM: Device or resource busy

This is mostly because you have either VirtualBox or VMware running on the same machine. The reason (at least that’s what I think) is that the kernel module of VirtualBox or VMware and KVM can’t take Advantage of Intel VT-x or AMD-V at the same time.

So if you want to run both at the same time you have to deactivate the virtualisation in one of them.

This is a way where you can at least have the machines emulated with QEMU

root@syss:~# 
virt-install --connect qemu:///system
--name syss-test
--ram 1024
--disk syss-test.img,size=8
--network=network:default
--vnc
--noautoconsole
--os-type linux
--accelerate
--cdrom /home/syss/Downloads/debian-7.6.0-amd64-netinst.iso
--virt-type=qemu

Just add –virt-type=qemu at the end. This is not as fast as Intel VT-x or AMD-V but it works in parallell.

13 thoughts on “Linux KVM – Error: ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy”

  1. Can’t turn off VBox and need to start qemu (wanna start OpenIPMI on qemu and connect from VBox instances to this fake IPMI).
    Tried to add “–virt-type=qemu” to “/usr/local/bin/qemu-system-x86_64” command line to no avail (same error message). Any suggestions?

  2. If closing VirtualBox doesn’t fix it, you can stop the driver service with `systemctl stop vboxdrv`

  3. asapmarkets.org
    asap darkweb link
    asap marketplace
    While the darknet market is primarily associated with illegal activities, it is important to acknowledge that it can also have positive implications. Whistleblowers and journalists, for instance, can use the darknet market to communicate securely and expose corruption or other sensitive information. Nevertheless, the negative aspects of the darknet market far outweigh its potential benefits.

  4. asapmarkets.org
    Market Darknet asap
    asap marketplace
    Darknet markets operate as online marketplaces where vendors can sell illegal goods and services to buyers anonymously. Transactions on these markets often involve cryptocurrencies such as Bitcoin, which further enhances the anonymity of the parties involved. Buyers can browse through listings and communicate with vendors to make purchases.

  5. Hydrostatic pressure in the interstitial fluid and the colloid oncotic pressure contributed by the plasma proteins tend to promote movement of fluid into the vasculature cialis 5 mg 13 These actions have been ascribed to various phytoconstituents present in the drugs

  6. The largest marketplace for freelancers in Europe and America, all services from $ 10, more than 1 million offers, discounts and sales are available on the marketplace. Earn money with us by selling your services – visit the store http://kworks.store

  7. If you need a reliable contractor to do building a sales department from scratch it is important
    to follow several steps: including possible cooperation with experienced agencies like Nemkovich Studio:
    Search for professionals: Start by looking for agencies or consultants with experience in creating
    sales departments. Evaluate their reputation and experience, and pay attention to their specialization in your industry.

    Consultation and Analysis: Cooperation begins with consultation and analysis of your
    business and needs. Nemkovich Studio and similar agencies will
    help you determine which sales department and strategy best suits
    your company.
    Strategy and business plan development: Based on the analysis
    of your situation, the agency will help you develop a strategy and business plan for creating a sales department, including an action plan and
    budget.
    Implementation of the plan: After agreeing on the strategy and business plan, the process of
    creating a sales department will begin. This includes hiring and training
    personnel, setting up systems and processes,
    as well as choosing the necessary tools.
    Monitoring and optimization: Monitor the work of your sales department
    and analyze the results. Nemkovich Studio will help you optimize your processes
    and strategy to achieve the best results.
    Cooperation with professionals such as Nemkovich Studio can greatly simplify the process of creating a sales department from scratch and increase the chances of success.

    b5JjiwV5-3

Leave a Reply

Your email address will not be published. Required fields are marked *