All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael David Crawford <mdc@prgmr.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: WinXP hard disk duplicated with Novell drivers
Date: Sun, 24 May 2009 19:35:05 -0700	[thread overview]
Message-ID: <4A1A03D9.6090403@prgmr.com> (raw)

I searched Google and both the user and devel mailing lists, but didn't 
see any reference to this.

I have a WinXP SP3 DomU that mostly works.  However I installed the SLES 
10 Virtual Machine Drivers for Windows on Xen.  Now I have both a C: and 
a D: drive - but they're the same underlying filesystem.  I hope it 
doesn't corrupt my filesystem!

If I do a Properties on either drive icon, then click the Hardware tab, 
I see two drives listed:

   QEMU HARDDISK
   Novell Xen Block SCSI Disk Device

So Windows is getting at the underlying VBD through both QEMU and the 
Novell driver.

I am using the 3.4.0 Xen kernel with the xen-tip/next Linux kernel 
source as of last night.

I am unclear on how to properly use the Xen blkdev - it doesn't seem to 
be documented anywhere.  It's apparently meant to be used as a SCSI 
device, but when I use "sda" instead of "hda" in my DomU config, the 
Bochs BIOS can't find the boot device.  That is, this works with the 
doubled drive:

    disk = [ 'phy:/dev/sda10,hda,w' ]

This won't boot:

    disk = [ 'phy:/dev/sda10,sda,w' ]

Here is my config:

import os, re
arch = os.uname()[4]
if re.search('64', arch):
     arch_libdir = 'lib64'
else:
     arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024

name = "WinXP"

pae=0
acpi=1
apic=1

vif = [ 'type=ioemu, bridge=xenbr0, mac=00:16:3e:0A:00:11' ]

# disk = [ 'file:/home/DomU/winxp.img,sda,w' ]
# disk = [ 'phy:/dev/sda10,hda,w', 
'file:/home/mike/Archives/Windows/GRTMPOEM_EN.iso,sdb:cdrom,r' ]
disk = [ 'phy:/dev/sda10,hda,w' ]

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

boot="dc"
sdl=1
vnc=0
vncunused=1
vncpasswd='..luis'

stdvga=0
serial='pty'
monitor=1

-- 
Michael David Crawford
mdc@prgmr.com

    prgmr.com - We Don't Assume You Are Stupid.

       Xen-Powered Virtual Private Servers: http://prgmr.com/xen

             reply	other threads:[~2009-05-25  2:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-25  2:35 Michael David Crawford [this message]
2009-05-25  9:04 ` WinXP hard disk duplicated with Novell drivers Keir Fraser

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=4A1A03D9.6090403@prgmr.com \
    --to=mdc@prgmr.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.