All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Jim Burnes <jvburnes@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Writing a tool for Shared Persistent Windows Boot Image
Date: Thu, 21 Jun 2007 13:11:28 -0500	[thread overview]
Message-ID: <467ABF50.50209@codemonkey.ws> (raw)
In-Reply-To: <2BB087BE-D323-4D8E-82F7-794C76ED2BCD@gmail.com>

Jim Burnes wrote:
> Before, in my "Hard Problem" email I was trying to communicate a design 
> issue were trying to solve with Xen.
> 
> This is what we need to do:
> 
> 1) Deploy 24 Windows XP VMs in parallel.

I have strong doubts that this would be kosher from a licensing 
perspective, however...

> 2) Boot them from a shared Windows XP C: drive.
> 3) Since this is a read-only shared image we obviously can't have 
> multiple VM's writing to it.
> 4) All writes to the boot image for logging, registry and other purposes 
> should be diverted to an auxiliary shadow drive specific to each VM.

If you start with a single image, and then create "COW" files using the 
qcow format, then you can have a shared base image.

> 5) After we shut down the VM we need to mount and examine the contents 
> of the shadow drive

Mounting is tricky.  If you look on qemu-devel, you'll find a couple 
references to tool that allow you to mount a qcow file (usually with nbd).

> 6) When we are done examining the contents of the shadow drive, we need 
> to fast format it for the next VM to use.

You can just delete the cow file and create a new one.

Regards,

Anthony Liguori

> Is this supported natively in Xen?  What does everyone else who needs to 
> run a lot of Windows VMs do?  There must be a way to support shared images.
> 
> The reason I posted this to xen-devel is that I could probably implement 
> a UnionFS for Windows by writing a kernel hook and intercepting all 
> reads and writes to the C: drive, but I don't have enough time to do 
> that right now.  Because of schedule constraints, if we don't find a way 
> to do this in Xen/XenSource we'll have to drop Xen and move on to VMWare 
> ESX at considerable cost to our project.
> 
> Are there any senior Xen software engineers out there who've done this 
> or who might know how?
> 
> Thanks,
> 
> Jim Burnes

  reply	other threads:[~2007-06-21 18:11 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21 16:41 Writing a tool for Shared Persistent Windows Boot Image Jim Burnes
2007-06-21 18:11 ` Anthony Liguori [this message]
     [not found]   ` <13A934B9-F615-4838-8D26-4E33F0BCFF2E@gmail.com>
2007-06-21 20:39     ` Anthony Liguori
     [not found]       ` <37B43CC2-BED7-4336-9CC4-0CE1C7894458@gmail.com>
     [not found]         ` <467AF0C6.5010101@codemonkey.ws>
2007-06-28 18:18           ` Jim Burnes
2007-06-28 18:27             ` [Xen-devel] " Daniel P. Berrange
2007-06-28 19:15               ` Jim Burnes
2007-06-29 14:38               ` Re: [Xen-devel] " Andrew Warfield
2007-06-29 14:42                 ` Daniel P. Berrange
2007-06-29 16:18                   ` [Xen-users] " Andrew Warfield
2007-06-29 19:00                     ` Re: [Xen-devel] " Jim Burnes
2007-06-29 19:07                       ` [Xen-users] " Jim Burnes
2007-06-30  6:21                         ` Ian Campbell
2007-06-29 20:16                     ` Re: [Xen-devel] " Daniel P. Berrange
2007-06-29 20:32                       ` [Xen-users] " Jim Burnes
2007-06-29 21:27                         ` Re: [Xen-devel] " Daniel P. Berrange
2007-07-01 20:28                       ` Andrew Warfield
2007-07-01 21:41                         ` Daniel P. Berrange
2007-07-01 21:55                           ` Daniel P. Berrange
2007-06-21 22:03 ` Alan Cox
2007-06-28 17:40   ` Jim Burnes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=467ABF50.50209@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=jvburnes@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.