Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
2answers
55 views

Virtual machine software [on hold]

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 ...
0
votes
0answers
8 views

KVM/Virt-Manager: PCIe Passthrough passes 1 device with 2 functions in host as 2 devices in guest

I'm in Ubuntu 16.04.4. I have a single PCIe card/device with two physical functions. I can assign both functions separately via the GUI and they show up as two different devices in the guest. The ...
1
vote
0answers
6 views

Restrict QNAP's Virtualization Station access

On QNAP's Virtualization Station it is possible to logon to any virtual machine with only the admin password and username even with 2FA enabled. On all systems I logon with a ssh using private keys ...
0
votes
0answers
10 views

Silence monitor for xfreerdp and VM

I'm accessing a server remotely through xfreerdp to run some processes there. From time to time, some issues happen, and I need to handle it manually before restarting the processes. But it is ...
2
votes
1answer
67 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
59 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
28 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
44 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
17 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 ...
0
votes
0answers
29 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 ...
0
votes
0answers
23 views

Switch from KVM bridge to openvswitch for multiple vlan configuration

I would like to replace my existing KVM bridge setup with Openvswitch, as we are facing performance issue when there is heavy traffic on the server. My existing KVM setup consisting of multiple KVM ...
-4
votes
0answers
19 views

Kali Linux VM - Wifi Adapter Not Detected [duplicate]

I've recently been messing about with Kali Linux in a VM and I can't get my wifi adapter to work in Kali. I know it works with kali because I've used it on a laptop, but it won't work in a VM. From ...
5
votes
1answer
122 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 ...
0
votes
0answers
28 views

Creating a virtual network with LXD/LXC

I would like to create a virtual network using lxd/lxc containers and configure 3 vlan according to the following graph: _____ _____ | | ...
3
votes
0answers
68 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
28 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
0answers
18 views

Custom boot/shutdown order for libvirt vms

I'm working in a development company which runs libvirt on a local Debian root server. Every developer has his own VM plus an extra VM which takes care of DNS settings. So the root server is only for ...
0
votes
0answers
17 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
31 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
36 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
0answers
36 views

du disk usage and apparent size huge difference (Terabytes vs Kilobytes)

I know that when using du utility, disk usage is bigger than apparent size because of the blocks that are not fully used. But here there is something else. On a particular folder, du without apparent-...
0
votes
0answers
21 views

Can I only commit from part data of active image to corresponding range of its backing files by qemu cmd?

split data to 3 chunks and save it in 3 independent backing files like below: img.000 <-- img.001 <-- img.002 img.000 is the backing file of img.001 and 001 is the backing file of 002. img....
-1
votes
1answer
60 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
34 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
24 views

Auto Login to a VM

I want to set up a Login environment, so that when someone logs into my computer, it drops them in their own VM. The question. I have a machine that I have, That I am the only one that I want to ...
0
votes
0answers
10 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
82 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 ...
0
votes
0answers
16 views

chroot vs. schroot for running a script on an external hard drive

In short, if I have an external hard drive mounted under another Linux OS, and I want to run a script on that hard drive, will it be better if I use chroot or schroot? The longer story... I have a ...
1
vote
1answer
27 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
257 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
20 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
63 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
32 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
239 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
66 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
24 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
87 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 ...
1
vote
0answers
45 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
16 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 ...
2
votes
2answers
142 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
103 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 (...
2
votes
0answers
235 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
53 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
46 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
37 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
16 views

How to set format/duration in asoundrc?

Here is my ~/.asoundrc file pcm.!default { type hw card 1 device 0 rate 44100 # format isnt recognized, channels breaks config file format S16_LE ...
0
votes
0answers
13 views

How to set up an internal and external interface in a Ubuntu VM (using network manager GUI inside Ubuntu OS)?

In my laptop, I have Oracle VirtualBox. In the VirtualBox, there are 2 VMs. Both of them are Ubuntu OS (14.04.5). Both of them are within the virtualbox host-only ethernet adapter #3. Lets say, one ...
0
votes
0answers
40 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
45 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 ...
8
votes
2answers
2k 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 ...