LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 09-18-2014, 02:21 PM   #1
jessetaylor84
Member
 
Registered: Jan 2014
Location: Olympia, WA
Distribution: Debian / Tails
Posts: 47

Rep: Reputation: 10
Running proprietary firmware in virtualized environment, but not in host environment


I've got a fresh install of Debian Wheezy on my laptop, and for security reasons I would like to not have any proprietary firmware running on this system. However, I require iwlwifi non-free microcode for my wireless card ...

Is there any way for me to use Xen or some other form of virtualization to install another copy of Debian in a virtual environment that does have the proprietary Intel binary firmware installed, and can use the wireless card, without having this firmware installed on the host environment?

EDIT: To clarify, I do not need or want wireless access in the host environment - I only want wifi in the virtualized environment.

Last edited by jessetaylor84; 09-18-2014 at 09:11 PM.
 
Old 09-19-2014, 02:52 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Maybe. Some newer systems have more direct ways to connect real hardware. Your system and host os and vm app need to support it fully.

What I get from your statement(yet not said) is that you have a wireless device that you want to attach to a server. If it is usb then it can be directly supported in some vm's. Most servers may not have vm support by default.
 
Old 09-19-2014, 04:00 PM   #3
jessetaylor84
Member
 
Registered: Jan 2014
Location: Olympia, WA
Distribution: Debian / Tails
Posts: 47

Original Poster
Rep: Reputation: 10
I am not looking to attach a USB wifi device to a server. I am just trying to use the internal Intel wireless card that came in my laptop, without letting any closed-source/proprietary code interact with the Linux kernel.

But you are correct, regarding direct hardware access. Since I made the original post, I have learned of PCI Passthrough, which is available for both Xen and qemu/KVM ... This will allow me to grant the guest VM direct access to PCI devices, and have the iwlwifi driver running only on the guest VM. The proprietary firmware will still be installed on the physical wireless card by the guest VM's iwlwifi module and will be able to interact with the guest OS kernel, but there will be no drivers on the host VM running in kernel space that will be interacting with the firmware ... at least that is my understanding.

Am I correct in assuming that if I installed iwlwifi on a qemu/KVM guest OS and used PCI passthrough to give this guest direct access to the wireless card, and did *not* install iwlwifi on the host VM, that there would be no way that the proprietary firmware could interact with the host VM's kernel?

Last edited by jessetaylor84; 09-19-2014 at 04:04 PM.
 
Old 09-21-2014, 07:37 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
I'd doubt the laptop supports pci but you can sure try.

My limited understanding is that like a usb attached to client so does a pci attach. It is almost transparent and for most it is transparent. It should not let the firmware in client affect the host.

There has been much discussion over the decade or so in vm's as to how secure or safe they are. In an odd twist, the more closely the vm uses hardware the more likely that some data issue will be shows to be a security hole.
 
  


Reply

Tags
firmware, intel, proprietary, virtualization, wireless



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ping failing from master to guest hosts in a virtualized environment created using xe zama Linux - Virtualization and Cloud 3 04-09-2012 07:54 AM
Runtime identification of virtualized environment velusamyg Linux - Virtualization and Cloud 3 01-10-2012 06:43 PM
[SOLVED] using ssh cant access applications off of host, problem with environment variables josip76 Programming 15 10-22-2010 12:31 AM
running squid in chroot environment bzlaskar Linux - Server 1 05-01-2007 12:11 PM
Running more than 2 desktop environment? johnleeryan Linux - Newbie 5 02-17-2005 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration