All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Jim Burnes <jvburnes@gmail.com>
Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com,
	Anthony Liguori <anthony@codemonkey.ws>
Subject: Re: [Xen-devel] Re: Writing a tool for Shared Persistent Windows Boot Image
Date: Thu, 28 Jun 2007 19:27:36 +0100	[thread overview]
Message-ID: <20070628182736.GB12711@redhat.com> (raw)
In-Reply-To: <b3ec41ba0706281118k751e90bajf2f3095fd92d0939@mail.gmail.com>

On Thu, Jun 28, 2007 at 12:18:47PM -0600, Jim Burnes wrote:
> Anthony (and anyone else listening),
> 
> I've installed Centos 5, Xen 3.1 (from the Xensource RPMs) and installed a
> base Windows image to an LVM to test.
> 
> The installation wen't fairly well and I resolved various issues like
> getting the VMs to render to VNC displays properly.
> 
> I even used LVM snapshotting to do some quick copy-on-write tests.  In that
> configuration I've had up to 7 Windows VMs running at the same time, on
> separate IPs, writing to LVM copy-on-write snapshots.  The only problem is
> that LVM cow snapshots consume too much main memory.
> 
> So I proceeded to my final test which was to replace the LVM storage with
> QCOW storage and see how many Windows VMs I could run concurrently.  (I'm
> trying for 12).
> 
> The only cow tool I had was qcow-create, so I downloaded the qemu RPMs and
> installed them.
> 
> I used img2qcow to convert my installed Windows LVM image to the qcow base
> image.
> I used qcow-img to create a copy-on-write snapshot of the base image.
> I tried to boot with this as the new storage type by specifiying:
> 
> disk = [ 'tap:qcow:/var/lib/xen/image/winflp.img,hda1,w',
> 'file:/var/lib/xen/install/winflp.iso,hdc:cdrom,r']
> 
> (and other variations, by using 'hda' instead of 'hda1', using 'tap:aio'
> instead of 'tap:qcow')
> 
> But everytime I try to start the vm by 'xm create' it seems to create the VM
> and the VM immediately exits, leaving hardly any trace of even booting.  I
> tried booting directly to hard drive C: and I tried booting to the CDROM.
> Booting to the CDROM worked fine but reported no attached hard drive.
> 
> The only thing I see is a trace in the xend.log file which indicates that
> xend (or the VM) is attempting to generate some sort of hotplug event for
> tap.  Then the whole VM shuts down.
> 
> Is there something I need to do before tap:qcow works?
> 
> I suspect, but am having a hard time proving that either:
> 
> (1) My version of Xen 3.1 doesn't support tap:qcow or

It is not possible to use  blktap with HVM guests - there was code which tried
to make it work, but its utterly broken[1]. In my spare time I'm trying to fix
it, but no ETA.

Dan.
[1] it is calling APIS in XenD which no longer exist & has a try..except
    block which silently catches & ignores the errors, so you never notice
    that it failed.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

  reply	other threads:[~2007-06-28 18:27 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
     [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             ` Daniel P. Berrange [this message]
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=20070628182736.GB12711@redhat.com \
    --to=berrange@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=jvburnes@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-users@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.