virtualization

libvirt and VirtualBox / Getting Started

I'm trying to get started on libvirt with VirtualBox as a virtualization solution. I installed everything and VirtualBox itself is running when using their VBoxHeadless command. However, libvirt fails to connect to VirtualBox: # virsh -c vbox:///session libvir: error : could not connect to vbox:///session error: failed to connect to the...

How to get started on implementing a virtual machine?

I have recently become interested in implementing a basic x86 virtual machine. I think that it would be one the best ways to completely understand the way an x86 machine works. Other than the code base of open source VMMs like bochs, QEMU, kvm, or xen, what resources would you recommend that I look into to get started? ...

How might running my application in a virtual machine impact its scheduling?

When not on a virtual environment I might expect it to be scheduled to run every 10ms. I don't know what to expect when in a virtual environment. So presuming the system is running at a steady and modest load of about 30% maximum load.. Would the typical scheduling period change? Would the worst case scheduling period change? ...

WPF - Virtualizing an ItemsControl?

I have an ItemsControl containing a list of data that I would like to virtualize, however VirtualizingStackPanel.IsVirtualizing="True" does not seem to work with an ItemsControl. Is this really the case or is there another way of doing this that I am not aware of? To test I have been using the following block of code: <ItemsControl V...

VirtualBox Port Forwarding Not Working

I have an Ubuntu 10.04 Host running VirtualBox with a Guest Ubuntu Server 10.04 set up. My host machine is behind a linksys router. I would like to use the VM as a web server (to the outside world). I have NAT networking between the host and guest machines, and used port forwarding (guide here) to foward port 8888 on the host to port 80...

Installing 64-Bit VM on a hyper-v installed on 32 bit machine

Is it possible to install 64-Bit VM on a hyper-v installed on 32 bit machine ? If not is there any trick(like emulator) for doing this ? ...

Windows Phone 7 emulator on a VM?

It seems that the Windows Phone 7 SDK doesn't support running inside a VM. On Parallels, the entire VM simply crashes when the emulator is starting up. Around the web, though, a few people have reported that they were able to use it by changing a lot of the VM settings. What do I have to change to be able to run it? I'm specially int...

Automatic VM deployment

I have an idea to streamline deployments of prototypes within our team using VMs. The idea would be that a developer would be able to deploy their artifacts to Maven, then use a Web interface to pull them onto a development VM for integration/regression testing. They would then be able to to push those artifacts to a reference system, an...

Wrong selection in ListBox with VirtualizationMode="Recycling" and SeclectionMode="Extended"?

I have a really strage behaviour. I have a ListBox in the View with a DataTemplate for its items including ViewModels. I bind the IsSelected to my ViewModel and use SelectionMode="Extended". Everything works fine. BUT if I add VirtualiuationMode="Recycling" the I get the wrong items. To reproduce: select items with Ctrl, then scroll down...

Using *Darwin as a test bed for Mac OSX applications

Since Mac virtualization is technically illegal on anything but a Mac computer, is it possible to use one of the Darwin distros as a platform to test applications meant for Mac OSX? From the little I've read, it seems *Darwin and MacOSX have a very tight relationship, but I haven't really found any information on the internet about usi...

Running a server in Parallels virtual machine. Is it possible for the host to access?

Hi, I am running a web server in my Windows 7 guest OS, while I want to access it from my Mac host OS. The web server is running and I can access it from my guest OS, but not from its host. I'm using Parallels Desktop and I've tried to change the networking mode from shared, bridged, to host-only with no result. This is for development...

HostOnly and GuestOnly PMC bits supported on AMD Family 0x10h CPUs?

My company develops a hypervisor, and this question concerns use of AMD's SVM (Secure-Virtual-Machine) API. I'd like to track exactly how many instructions have executed in my guest operating system in a given period. AMD has kindly provided so-called "HO" and "GO" or "HostOnly" and "GuestOnly" bits in the PerfEvtSel MSRs (0xc0010000.....

Programming .NET apps for Citrix/Terminal server: Compliance and Pitfalls

We are a bit lost here. We need to make our app installable on a network with +80 Citrix servers. Although our app is 100% valid and working .NET, we've experienced some (for us weird) behavior: You cannot use any "Documents and settings" folders for storing data or settings. Apparently these folders are virtualized and are located in ...

Wastage of resources in Virtualization

I am not sure if this is the write place to ask the question. However i hope it is. When looking for a VPS earlier today, I was trying to understand how each container would work in the background. Keeping in mind the fact that the operating system uses most of the power and power on a system, wouldn't having multiple operating systems ...

How is "clean" testing done on the Macintosh without virtualization?

One of the things I've run across on Windows is when a web browser plugin or program you're developing makes an assumption that something is installed that, by default, isn't always present on Windows. A perfect example would be .NET - a whole lot of people running Windows XP have never installed any versions of .NET and so the installer...

Make Windows application work on Mac OS X

Please suggest ways to deliver Windows application (.NET) to Mac OS X. Mono isn't an option, I'm looking for a solution that requires no code changes. I'm considering VirtualBox virtualization (http://www.virtualbox.org). Any other suitable options? Thanks! ...

Setting up a (web) development environment

Hi, I would like to know how I can improve my development environment. At the moment: I'm using Netbeans as my IDE. My local Dev server runs on a RHEL5 VirtualMachine similar to my production server. My Netbeans project is editing the VM files via ssh (I have mounted the server as a local drive) But: It's slow Files can disapear (...

Why does ActualHeight on VirtualizingStackPanel render to the entire content when used in a WPF TreeView?

So I'm attempting to use the WPF TreeView in its virtualization mode (Visual Studio 2010, NET 4.0). Having done a bit of research, I found a variety of settings and configurations were needed to get this to work, or so various people at MSDN claimed. However, having used Snoop on the same ObservableCollection (1000 items) when thrown at...

Transferring files from disk (Linux on virtual machine) to Windows shared folder?

Hi, I'm using RedHat on a Hyper-V virtual machine. I need to copy files from the CD (captured to the Redhat VM) into a Windows shared network folder. After copying some files, the windows side pops up an "Invalid MS-DOS function" message, although everything looks fine from the Linux side. What could be the reason for that? Do I need t...

Talk to VM through host operating system

I have here a Windows distribution server that runs an ANT task to build enterprise software. What I need to do is to have the ANT task copy and run a VM image (Linux), and then...talk to that Linux VM through the host operating system (through the ant task itself). We need to be able to send files and/or commands to it. Is there a prac...