virtualization

VirtualBox and vmdk vmx files [closed]

若如初见. 提交于 2019-12-02 16:02:39
I've seen people on the net offering images of a particular Linux setup, and they offer it as either VMDK/VMX files or ISO files. Now an ISO seems to work with VirtualBox, because I can tell it to mount a CD/DVD drive and use the ISO instead of a physical drive, but the VMDK and VMX files are always listed as being for use with VMWare/VirtualBox. So how do I use those files with VirtualBox? When I try the Appliance Import Wizard it tells me it only deals with OVF files. (I'm using Sun VirtualBox 3.0.4) eveliotc VMDK/VMX are VMWare file formats but you can use it with VirtualBox: Create a new

The relation between privileged instructions, traps and system calls

核能气质少年 提交于 2019-12-02 16:00:23
I am trying to understand how a virtual machine monitor (VMM) virtualizes the CPU. My understanding right now is that the CPU issues a protection fault interrupt when a privileged instruction is about to be executed while the CPU is in user mode. In high level languages like C, privileged instructions are wrapped inside system calls. For example, when an application needs the current date and time (instructions that interact with I/O devices are privileged), it calls a certain library function. The assembled version of this library function contains an instruction called 'int' that causes a

.NET Development on a Mac Tips

时光总嘲笑我的痴心妄想 提交于 2019-12-02 15:12:30
I have just got a MacBook Pro and have been using it (+Fusion) to develop on for about a month now. The purpose of this question is similar to Hidden Features of C# ; to become a how-to of tips and trick for windows development on a mac. I should clarify that I am aware of boot camp but do not use it (nor do I have any interest to), hence my use of steady state to make sure nothing happens to my OS partition without my knowledge. However; as Sara pointed out, Apple makes great hardware and I absolutely LOVE the form factor of my MBP so for someone who is looking for a windows only laptop a mac

Virtualized SQL Server: Why not?

不羁岁月 提交于 2019-12-02 14:30:29
The IT department where I work is trying to move to 100% virtualized servers, with all the data stored on a SAN. They haven't done it yet, but the plan eventually calls for moving the existing physical SQL Server machines to virtual servers as well. A few months ago I attended the Heroes Happen Here launch event, and in one of the SQL Server sessions the speaker mentioned in passing that this is not a good idea for production systems. So I'm looking for a few things: What are the specific reasons why this is or is not a good idea? I need references, or don't bother responding. I could come up

How to use UI virtualization with redefined ListBox templates

谁都会走 提交于 2019-12-02 11:58:44
问题 I'm trying to use ListBox as a view containing multiple items and, of course, I need to use UI virtualization in it. The problem is virtualization works only when I declare ListBox this way: <ListBox ItemsSource="{Binding ItemsSource}" VirtualizingStackPanel.IsVirtualizing="True" VirtualizingStackPanel.VirtualizationMode="Recycling"> <ListBox.ItemTemplate> <DataTemplate> <views:SiteEntryView /> </DataTemplate> </ListBox.ItemTemplate> </ListBox> But if I try to customize it, it doesn't

Run throguh visual tree and set all Images to null

≡放荡痞女 提交于 2019-12-02 08:46:55
I saw tons of threads with memory leaking while using images. So, is it a good idea just to have a general function, some kind of own GC, which would run at NavigatingFrom, find all images (even in templates of virtualized lists) and set them to null? Here is an helper to iterate throught all the images of your page: public IEnumerable<Image> GetAllImage(DependencyObject root) { var count = VisualTreeHelper.GetChildrenCount(parentElement); for (int i = 0; i < count; i++) { var child = VisualTreeHelper.GetChild(parentElement, i); if (child is Image) { yield return (Image)child; } foreach (var

Android Studio, Intel HAXM cannot find VT-x enabled but enabled in BIOS

霸气de小男生 提交于 2019-12-02 08:46:10
问题 Unable to install intel HAXM instead of the fact that VT is enabled in BIOS. I am using intel core2 quad q9550 processor and windows 7 over it. My processor does not support hyper-visor. 回答1: This worked for me. Instead of installing intelhaxm-android that comes with android studio, try downloading the latest version of haxm from intel: https://software.intel.com/en-us/blogs/2014/03/14/troubleshooting-intel-haxm Run that instead and it should install fine. 回答2: Your CPU does have VT-x and ND

Consolidated Scrolling - “Pixel by Pixel” + “Item by Item”

落花浮王杯 提交于 2019-12-02 08:23:49
问题 I've a Drag-Drop framework in which scrolling support is already there (Pixel by Pixel scrolling). This works good in case Virtualization is not enabled but if it is enabled then it gets messed up. As the logic of scrolling is based on Viewport height and as per MSDN we've - MSDN- If CanContentScroll is true, the values of the ExtentHeight, ScrollableHeight, ViewportHeight, and VerticalOffset properties are number of items. If CanContentScroll is false, the values of these properties are

VHD Java library

眉间皱痕 提交于 2019-12-02 07:20:25
I'm looking for a Java library that can open .vhd files. I wants to create a program that can navigate inside it. I also want it to be cross-platform. I have googled for an library a while now but found nothing. I did only find an old unanswerd question here on stack overflow . Can anyone help me? Consider libguestfs . libguestfs is a C library, but it has a Java binding . It claims to be cross-platform , working on Linux and Mac OS X, and "[s]ome virt tools have been ported to Windows". Check to see whether the features you need work on Windows. libguestfs does support VHD images ( under the

Consolidated Scrolling - “Pixel by Pixel” + “Item by Item”

一笑奈何 提交于 2019-12-02 05:02:40
I've a Drag-Drop framework in which scrolling support is already there (Pixel by Pixel scrolling). This works good in case Virtualization is not enabled but if it is enabled then it gets messed up. As the logic of scrolling is based on Viewport height and as per MSDN we've - MSDN- If CanContentScroll is true, the values of the ExtentHeight, ScrollableHeight, ViewportHeight, and VerticalOffset properties are number of items. If CanContentScroll is false, the values of these properties are Device Independent Pixels. Also If Virtualization is Enabled then ExtentHeight Represents - TotalNumber of