virtualization

How to enable support of CPU virtualization on Macbook Pro?

佐手、 提交于 2019-11-28 18:37:00
I have the VirtualBox installed on my Macbook Pro, and I want to install a linux VM on VirtualBox. When I launched the new VM, it prompts that "Your CPU does not support long mode. Use a 32bit distribution." After searching for this problem, I found that support of CPU virtualization is required for this VM. Then I checked on my Macbook and its CPU is i7 which supports virtualization. So I guess the problem is related to the OS or EFI version? OS version: 10.6.8 / EFI version: latest (check on apple.com) Does anyone know what's the problem of my Macbook? How can I enable the support of CPU

Unable to start Docker Service in Ubuntu 16.04

杀马特。学长 韩版系。学妹 提交于 2019-11-28 17:29:11
I've been trying to use Docker (1.10) on Ubuntu 16.04 but installation fails because Docker Service doesn't start . I've already tried to install docker by docker.io , docker-engine apt packages and curl -sSL https://get.docker.com/ | sh but it doesn't work. My Host info is: Linux Xenial 4.5.3-040503-generic #201605041831 SMP Wed May 4 22:33:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Here is systemctl status docker.service : ● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: failed (Result: exit

check if VT-x is activated without having to reboot in Linux?

江枫思渺然 提交于 2019-11-28 17:26:26
问题 I have a laptop with Intel Core i5 M 450 @ 2.40GHz which apparently has VT-x but not VT-d. I have Ubuntu 12.04 32bit but would like to have a virtual 64bit terminal-based Linux running on it. How do I know if the BIOS has this VT-x feature activated without having to reboot? 回答1: You can use rdmsr from msr-tools to read register IA32_FEATURE_CONTROL (address 0x3a ). The kernel module msr has to be loaded for this. On most Linux systems: sudo modprobe msr sudo rdmsr 0x3a Values 3 and 5 mean it

C#: Create a virtual drive in Computer

你离开我真会死。 提交于 2019-11-28 16:42:00
Is there any way to create a virtual drive in "(My) Computer" and manipulate it, somewhat like JungleDisk does it? It probably does something like: override OnRead(object sender, Event e) { ShowFilesFromAmazon(); } Are there any API:s for this? Maybe to write to an XML-file or a database, instead of a real drive. The Dokan Library seems to be the answer that mostly corresponds with my question, even though System.IO.IsolatedStorage seems to be the most standardized and most Microsoft-environment adapted. Joel Lucsy You can use the Dokan library to create a virtual drive. There is a .Net

What is the difference between the Intel x86 Atom and Atom_64 system images?

故事扮演 提交于 2019-11-28 16:07:39
问题 I am using the Android SDK Manager to install the system image for the Android M Preview. However, I noticed that there are two separate images for the x86 platform. What are the differences between the two and which one should I select for my 64-bit Ubuntu 15.04 installation? (My CPU includes AMD-V and it is enabled in the BIOS, in case that makes any difference.) 回答1: According with this article With Google’s recent release of its x86 64-bit Android 5.0 emulator image, developers can create

How do I create virtual ethernet devices in linux?

谁说胖子不能爱 提交于 2019-11-28 16:01:08
问题 I am testing an implementation of a protocol that talks between two computers using ethernet (not IP). In order to not actually have to have two physical computers, I want to create two virtual ethernet interfaces. These would only be able to talk to each other, so one endpoint program would bind to one interface and the other endpoint would bind to the other. Is this possible and how do I do it? 回答1: You can use VDE2, a virtual switch. For example (you will need a few terms): # Install vde2

Determine when running in a virtual machine

别等时光非礼了梦想. 提交于 2019-11-28 15:18:20
Is there an official way for an application to determine if it is running in VMWare or Virtual PC (or whatever Microsoft is calling it now)? The code I have seen is usually a hack that took advantage of some odd behavioral side effect in a specific version of VMWare or Virtual PC. Ideally Delphi code, but if you can link to an official explanation then I am sure I can convert it. Marshall Fryman I wrote a series of articles last year on this, with source code. VMware and Wine detection are here . Virtual PC is here . All three of these have pretty iron-clad detection because there are

Can I run a 64-bit VMware image on a 32-bit machine?

那年仲夏 提交于 2019-11-28 14:35:33
问题 Can I run a 64-bit VMware image on a 32-bit machine? I've googled this, but there doesn't seem to be a conclusive answer. I know that it would have to be completely emulated and would run like a dog - but slow performance isn't necessarily an issue as I'm just interested in testing some of my background services code on 64-bit platforms. 回答1: The easiest way to check your workstation is to download the VMware Processor Check for 64-Bit Compatibility tool from the VMware website. You can't run

Enable Intel Virtualization Technologies

只愿长相守 提交于 2019-11-28 08:58:32
问题 I want to install Intel HAXM (to make the android emulator faster) but the installer says that my computer "does not support Virtualization Technologies (VT-x)". In the BIOS I see that that I have Virtualization Technologies enabled, and I have also Windows Phone emulator (that needs this technology) that works very well. I downloaded the Intel Identification Utility and it says there my Proccessor does not support this technology (although the facts above and search on the internet that

Extended selection mode, virtualization and IsSelected binding

陌路散爱 提交于 2019-11-28 07:25:51
问题 It seems in extended selection mode IsSelected binding is buggy. Looks like only last item from selection which become out of scope is handled properly. Demonstration: Items 0 , 1 , 2 and 98 , 97 , 96 are selected with Control . When selecting 94 (without Control !) selection counter should be 1 , but you see 3 instead. Scrolling up reveals what only one (last) item of selection out of scope was unselected. Below is mcve: xaml: <ListBox ItemsSource="{Binding Items}" SelectionMode="Extended"