Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [virtual-machine]

A virtual machine (VM) is a guest Operating System running in a completely isolated environment within a normal host operating system. Modern virtual machines are implemented with either software emulation or hardware virtualization or (in most cases) both together.

2
votes
1answer
78 views

How to convert root filesystem to virtual disk format (img, vmdk or vdi)?

I unpacked the contents of a Mageia 6 ISO image, including a Linux root file system in it, and I've updated the root file system by chrooting into it and running dnf update. I also installed a few ...
1
vote
0answers
70 views

Do not access linux host to windows kvm guest [closed]

I installed manjaro linux.Now in manjaro i want run windows 10 guest so in order by using QEMU/KVM and according this site i installed windows 10 on my linux. My linux host ip is: 2:enp5s0: <...
2
votes
1answer
350 views

High cpu steal on Core 0 of KVM

In one of my KVM setups I am seeing high CPU stealing for Core 0 of both the guests. I have gone through saveral web results related to cpu steal but no were core steal is explained. If I take ...
1
vote
2answers
145 views

When using cloud-init, what order are the users created in?

I am using cloud-init to initialize a RHEL Atomic Host VM. I have the following as my user-data file: #cloud-config groups: - ourgroup users: - name: muser primary_group: ourgroup ...
1
vote
1answer
78 views

Will starting a virtual machine created by virtualbox immediately reserve physical RAM assigned to it?

When creating a virtual machine and then installing Android or Windows or other OS on top of it, if I assign 4GB to the virtual machine, will starting the virtual machine immediately reserve 4GB ...
0
votes
0answers
104 views

QEMU: How to set up SSH File Exchange (SFTP) between Linux Host and Windows Guest?

Assumed I run a isolated virtual network bridge without public internet access (based on this solution): How can I set up a SFTP file exchange (e.g. via WinSCP) between guest machine and host machine ...
0
votes
2answers
669 views

apk tool gives permission denied

I get this error message running alpine linux in a docker container hosted by Ubuntu 18.04 in Vagrant with its host in turn being Windows 10 behind a proxy. I have set the proxy variables but still ...
1
vote
0answers
162 views

Unable to boot a compiled kernel [closed]

I am working on a project where I have start of by adding some system calls to a kernel (Linux 3.13.11 to be particular), after adding the calls and writing their prototype in the correct locations ...
0
votes
1answer
78 views

why hostnamectl shows virtualization regardless no guest additions installed?

I'm running a very basic debian 9 OS inside Virtualbox, I haven't installed any paravirtualization | guest additions, regardless that I get Virtualization: oracle. Why? isn't it supposed the OS should ...
1
vote
2answers
70 views

Virtual machine software [closed]

I am looking for a recommendation for virtualization software for IBM P5 series (ppc 64). I have Fedora 23 installed and just want to run 2-3 virtual machines but as I understood, given specific ...
2
votes
1answer
752 views

Performance of Linux Apps on Chrome OS [closed]

The support for linux applications makes Chrome OS very interesting to me. But I would like to know more about their actual performance. Apparently, the applications are executed in KVM. The google ...
1
vote
3answers
263 views

QEMU: Enable SFTP file exchange (guest ⇆ host) but prohibit guests access to public internet?

Assumed I run a Windows guest in a QEMU virtual machine on a Debian host. Hereby the Debian host is a common desktop computer with internet access. How can I set up a SFTP file exchange between guest ...
0
votes
1answer
40 views

Remote SSH connection with autostart virtual environment

I need to make such possibility for remote users. Remote user connects via SSH to my server. Then after connecting server runs some script that open virtual machine environment for this user. It is ...
0
votes
1answer
603 views

How to install latest virt-manager in Debian?

I'm using Debian stable and in debian stable virt-manager version is 1.4.0, but I need to use version 1.5.1 because 1.4.0 has one bug. I went to https://virt-manager.org/download/ and downloaded ...
0
votes
0answers
22 views

How to show dir sizes for a shared dir on a VM

I'm using an Ubuntu VM using Parallels for Mac. When I run du -d1 in /media/psf/share (which is the shared dir from the Mac host), everything shows as 0. Is there a way to have du return the actual ...
1
vote
0answers
86 views

KVM : Add extra memory from the host's swap

I am running a KVM virtual machine on a host that has 6 Gb of memory and around 15 Gb of swap, so the max of the memory that i can add to the guest is < 6 Gb. I am wondering, is there a way to add ...
5
votes
1answer
1k views

Building and running a ARM system image with QEMU?

I am trying to set-up a full system image for ARM (armhf, armel or even aarch64) based on Debian that can be run with QEMU. Unfortunately, all the examples that I found on the Web start the image by ...
3
votes
0answers
142 views

FreeBSD/OVS equivalent of ESXi vSwitch VLAN config

I'm trying out FreeBSD with bhyve hypervisor and trying to replicate VMware ESXi vSwitch config in FreeBSD so that pfSense VM gets network traffic properly. VLANs: 111 = LAN, 192.168.101.0/24 333 = ...
3
votes
0answers
254 views

KVM passthrough in virtual machine more than 3 usb devices

I have a question, how can i passthrough in virtual machine more than 3 usb devices? I have a usb hub and i cannot passthrough in virtual machine more than 3 usb device. My usb device connect to usb ...
0
votes
1answer
260 views

openstack modify libvirt xml configuration

I am experimenting some options and trying to ad following option in openstack running instance. <driver name='vhost' queues='5' rx_queue_size='512' tx_queue_size='512'/> I did following steps ...
1
vote
1answer
58 views

How to make dhcpd recognize a new interface without restart

I'm working on automatizated virtualization but currently i'm stuck with setting up the DHCP server. The problem is, every time i create a virtual machine, i have to restart the daemon to register the ...
0
votes
1answer
91 views

Looking for OpenVZ replacement in Debian 9 - I need to test software with 1000+ virtual hosts

I came from the past, where OpenVZ could be used to create 1024 virtual hosts with diffrent IP addresses by using with pretty simple script written in 10 minutes. I just realized, that OpenVZ is ...
0
votes
2answers
541 views

Virtual Machine Manager can't be launched after upgrade to Ubuntu 18.04

After upgrading from Ubuntu 16.04 LTS to Ubuntu 18.04 LTS, I can no more start Virtual Machine Manager. It was running okay when I was using Ubuntu 16.04 and I didn't face any problems but after the ...
0
votes
2answers
208 views

How can the output of `uname` change in a VM after a physical server was patched?

My Zabbix monitoring system told me that the uname output has changed on a virtual server (Host information was changed on ...). The ISP has shut down the entire server in order to perform some ...
0
votes
0answers
27 views

Resizing OpenNebula images?

I have a working OpenNebula installation on Debian Stretch, and I'm using the Sunstone web interface. I have a persistent base image that I typically clone to create new VMs. However, the image's size ...
0
votes
1answer
2k views

Ubuntu VirtualBox stuck before login screen

Alright so I've had this happen in the past, and I just ended up giving up and installing a new virtual machine. I'm new to this, so I'm hoping I've just made a simple mistake. I have a Ubuntu ...
1
vote
1answer
35 views

Setting up VM login instead of Local login [closed]

I had a question earlier, it is tied into this, that one was looking for the proper procedure, this one is looking how to implement. If you need a backstory refer to My first question I have a local ...
2
votes
0answers
1k views

AMD-Vi: Unable to write to IOMMU perf counter. Arch Linux

I'm having some problems with an Antergos 4.18 installation on my Acer Swift 3 (SF315-41) the main one is regarding virtualization. At first when I booted up the OS I would get this messages: [...
1
vote
0answers
137 views

qemu guest is bypassing host's firewall

I've got a Ubuntu host running several virtual machines using qemu-kvm. Every guest should use our local DNS server, so I blocked outgoing DNS requests using ufw on the host machine: sudo ufw deny ...
1
vote
1answer
320 views

Using VirtualBMC with VMs

I need to use one VM (master) to manage power status of another VM (slave) on the same host by ipmitool. I have installed VirtualBMC on the host machine, added the slave VM and started its BMC: $ ...
0
votes
1answer
33 views

Need script for Ubuntu reset? Random server crashes, 3 different servers, all at the same time? [closed]

I manage a number of websites for a bunch of clients. I use Vultr.com $5 plan 1 CPU 1 GB Virtualmin Basic websites with infrequent use. Although it does look like I got a lot of visits from bots. ...
2
votes
1answer
571 views

Behavior of QEMU as hypervisor

According to official QEMU documentation: When used as a virtualizer, QEMU achieves near native performance by executing the guest code directly on the host CPU. My question is how is this ...
1
vote
0answers
301 views

How to boot OpenWRT on VMware Fusion from .img file?

I have VMware Fusion 10. I have created VM with Other Linux 3.x kernel. I have downloaded OpenWRT OS image openwrt-18.06.1-x86-64-combined-ext4.img My question is how can I boot my OpenWRT OS from ...
0
votes
1answer
35 views

Virtual Machine MAC Address or Host Operating System MAC Address?

Let's say I'm browsing from Ubuntu Virtual Machine using Firefox. IF the website I am visiting can see the MAC Address, which MAC address will it see? Is MAC Address of Ubuntu VM or MAC Address of ...
0
votes
1answer
527 views

libvirt and virt-manager - Unable to complete install: 'internal error: unsupported input bus usb'

I'm following the steps below to create a virtual machine using Xen as hypervisor and virt-manager (libvirt) as the management module. When trying to create the virtual machine I am getting the ...
2
votes
0answers
245 views

Virtualization - Linux host - running Adobe After Effects with hardware acceleration (using OpenGL)? [closed]

Introduction Thinking about a laptop for graphic work, using After Effects (and other Adobe software). As there is to use those proprietary software (we are aware of open source alternatives like the ...
0
votes
0answers
53 views

Interface name changes when migrating VM, but original name should still be valid

I've got a complicated and crazy set of circumstances I need to understand and work out a solution for. Background: We release our product as a virtual appliance via OVFs. With our next-generation ...
3
votes
2answers
1k views

What are the benefits of running a docker container inside a VM vs running docker containers on bare metal?

What are the benefits of running a docker container inside a VM vs running docker containers on bare metal (on the host directly)? I have heard of companies running docker containers inside of a VM, ...
0
votes
1answer
439 views

vncserver blank display — debian 9 guest VM w/ubuntu 16 host

Overview My goal is to setup VNC access to a Debian 9.5 VM guest built with virt-manager on Ubuntu 16.04 LTS (with desktop environment). I have configured /etc/vnc/xstartup to use gnome-session (...
5
votes
0answers
736 views

virNetSocketReadWire:1801 : End of file while reading data: Input/output error

Every time I start/stop a KVM, the libvirtd 3.0.0-4 throws the following error in syslog: libvirtd[3145]: 2018-08-07 21:00:19.699+0000: 3145: \ error : qemuMonitorIO:710 : internal error: \ ...
1
vote
0answers
72 views

QEMU Deb9 guest graphical install fails to get DHCP reply during install

My goal is to setup a few QEMU/libvirt based guests using a bridge interface on the host so each guest-VM has a DHCP assigned IP address on my LAN network. I have successfully setup and used less ...
2
votes
0answers
80 views

CentOS VM boots into blank screen [closed]

On CentOS VM, I "powered off the machine" while it was malfunctioning in login screen as it would prevent me typing the complete password. And now it fails to boot as it gets stuck in a blank screen ...
1
vote
1answer
40 views

SSH connects but stays on the same machine [closed]

I've got an unusual problem at hand that I couldn't solve for 2 days. I've got two KVM running on my real machine. One of them is named headnode and the second is named computenode. These machines ...
0
votes
0answers
101 views

AIX used memory gets never free

In an virtualized AIX 7.1 system when it's restarted the overall physical memory is listed as free (by all AIX stats tools). But after some hours running some applications the used memory increases, ...
1
vote
2answers
83 views

How to convert an existing VirtualBox virtual machine to Image?

Suppose I install an ISO of Linux Mint as a virtual machine on VirtualBox. I want to install several programs, such as Terminator, Netbeans, Java, Ruby on Rails, etc. How can I convert the virtual ...
11
votes
2answers
7k views

Terminal command to find out if a server is virtual or physical

I am looking for a terminal command which doesn't require the executing user to be in the sudoers group and also to be universal and not requiring to install additional packages. So far I have found ...
1
vote
0answers
226 views

Linux Mint 18.3 upgraded to 19 - Screen now distorts with open-vm-tools-desktop

Except this singular issue, everything works wonderfully. I already tried apt-get purge open-vm-tools open-vm-tools-desktop but it didn't help. This is what I'm seeing after upgrading. The Y ...
1
vote
0answers
46 views

Problems Building Debian Wheezy Inside User Mode Linux

I am building a Debian virtual machine inside UML, but it is hanging. Here is my shell script for the construction: #!/bin/bash # Let's make sure we're updated printf "\nUpdating...\n" apt update ...
7
votes
3answers
226 views

Firmware packages: What do they actually do?

On my CentOS, a yum update brings up the following: (6/38): iwl1000-firmware-39.31.5.1-62.el7_39.31.5.1-62.2.el7_5.noarch.drpm ...
1
vote
2answers
612 views

How can I get multiple virtual machines to communicate on the same network using VirtualBox and Ubuntu 16.04? [closed]

I am working to complete a cybersecurity lab (the lab is developed by SEEDLab out of Syracuse University) that simulates a local DNS attack. I am supposed to create three virtual machines in order to ...