Skip to contentSkip to conversation

QEMU/KQEMU for server consolidation?

Qemu-devel Leigh Dyer 5 participants 7 messages Nov 8, 2005

lore
Share & tools
lore

Leigh Dyer

author
#0 lore raw

Hi all,

I've been using QEMU and KQEMU quite happily to run Linux and Windows guests on my Linux desktop PC for quite some time now, but I'm wondering if anyone has ever used QEMU for running a Windows server OS on a Linux server. Specifically, I need a Windows 2000 Server install running with SQL Server 7 for a project, but I'd rather not dedicate a full machine to it.

Has anyone tried something like this before? QEMU will be running on a server, so I figured that the VNC X server would be a good option for the GUI, but if anyone has a better idea I'd love to hear it. Also, are there any issues running KQEMU on an SMP kernel?

Thanks
Leigh

#1 lore raw
Quoted 1 line · Leigh Dyer

Has anyone tried something like this before? QEMU will be running on a server, so I figured that the VNC X server would be a good option for the GUI, but if anyone has a better idea I'd love to hear it.

You could also run VNC or RDP on the Windows server guest installation. Doesn't give you remote access to the early boot sequence but has slightly less overhead.

Regards
Henrik

#6 lore raw
In reply to Leigh Dyer
Quoted 9 lines · Leigh Dyer

Hi all,

I've been using QEMU and KQEMU quite happily to run Linux and Windows guests on my Linux desktop PC for quite some time now, but I'm wondering if anyone has ever used QEMU for running a Windows server OS on a Linux server. Specifically, I need a Windows 2000 Server install running with SQL Server 7 for a project, but I'd rather not dedicate a full machine to it.

Quoted 4 lines

Has anyone tried something like this before? QEMU will be running on a server, so I figured that the VNC X server would be a good option for the GUI, but if anyone has a better idea I'd love to hear it. Also, are there any issues running KQEMU on an SMP kernel?

I've tried QEMU and VNC and, for me at least, the mouse doesn't work. You get the little dot mouse that you sometimes see in VNC (its the "show dot when no cursor" option in VNC) when it goes over the QEMU window, but it has no effect - either clicking or moving. This was on Linux host with Windows 2000 guest.

Would be interested to know if someone has a solution to this though.

#2 lore raw
In reply to Henrik Nordstrom

Hi,

Quoted 9 lines · Henrik Nordstrom
Quoted 3 lines · Leigh Dyer

Has anyone tried something like this before? QEMU will be running on a server, so I figured that the VNC X server would be a good option for the GUI, but if anyone has a better idea I'd love to hear it.

You could also run VNC or RDP on the Windows server guest installation. Doesn't give you remote access to the early boot sequence but has slightly less overhead.

Uh, I tend to say that the overhead is bigger. If you run VNC on the guest installation, not only is the VNC layer *translated*, but you also have the downside of *translated* polling: remember that WinVNC has to look for changes on the screen itself. Xvnc gets told where the screen changes.

Alternatively, you could patch QEmu with the rfb patch, which speaks VNC natively.

The only problem with the rfb patch I can think of is the mouse. It is just not trivial to turn off mouse acceleration, which is a real pity.

In the last weeks, I tried to find a way to emulate a graphics tablet. Unfortunately, I was highly unsuccessful. First, I was not able to find enough documentation for any PS/2 graphics tablet.

So, I turned to serial tablets. I came so far as to add a virtual serial device which gets prompted by the driver for a response. But I could not figure out a satisfactory response. Evidently, the Win98 drivers always expect a certain firmware version as response, and refuse to activate graphics tablet support as a consequence.

Does anybody on this list have a (working) serial tablet? I'd like to know the activating response, so I can finally finish up the rfb patch.

Another possibility would be to write a virtual USB graphics tablet device.

Note that this would help non-RFB QEmu, too. You could (finally) use the mouse without grabbing (for some applications, like flight simulators, and certain keyboard shortcuts, you still would need to grab).

Ciao,
Dscho

P.S.: Unfortunately, I will not have much time to work on QEmu in the next weeks, so if you want to work on this, go wild. If you want my alpha code, I'll send it to you.

#3 lore raw
Quoted 4 lines · Johannes Schindelin

Does anybody on this list have a (working) serial tablet? I'd like to know the activating response, so I can finally finish up the rfb patch.

Earlier I noticed a couple wacom serial units on ebay around $50 US.

I can pitch in $30 to help buy you a tablet if you think this is the way to go. I'm sure it will cost more than $50 with shipping, etc. but that would be a good chunk.

-- John.

author
#5 lore raw
In reply to Henrik Nordstrom
Quoted 5 lines · Henrik Nordstrom
Quoted 1 line · Leigh Dyer

Has anyone tried something like this before? QEMU will be running on a server, so I figured that the VNC X server would be a good option for the GUI, but if anyone has a better idea I'd love to hear it.

You could also run VNC or RDP on the Windows server guest installation. Doesn't give you remote access to the early boot sequence but has slightly less overhead.

Yep, I was thinking about running RDP in the guest for day-to-day stuff (we do that now for our real Win2k server. The QEMU GUI has to go somewhere though, and short of installing the VNC patch, the easiest option looks like running a virtual X server like the VNC one. QEMU can connect to that and the display goes nowhere, until of course someone connects via VNC.

I've started on this, with a Win2k server install and SQL 7 running on my desktop seemingly quite well. After some more testing (loading up some databases, testing apps running under Linux connecting to it through the virtual NIC) I'll start looking at running it on our test SMP server with the VNC X server. If people are curious, I'll be happy to let you all know how it goes.

Thanks
Leigh

Quoted 10 lines

Regards
Henrik

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#4 lore raw
In reply to John Hogerhuis

Hi,

Quoted 11 lines · John Hogerhuis
Quoted 4 lines · Johannes Schindelin

Does anybody on this list have a (working) serial tablet? I'd like to know the activating response, so I can finally finish up the rfb patch.

Earlier I noticed a couple wacom serial units on ebay around $50 US.

I can pitch in $30 to help buy you a tablet if you think this is the way to go. I'm sure it will cost more than $50 with shipping, etc. but that would be a good chunk.

Thank you for your offer! Though I'll probably wait a little bit (don't have a chance hacking for real in the next few weeks anyway).

Ciao,
Dscho