From: Wayne Gong <wayne.gong@oracle.com>
To: xen-devel@lists.xensource.com
Subject: xm block-attach DomID tap:aio:/...
Date: Fri, 26 Dec 2008 19:03:57 +0800 [thread overview]
Message-ID: <4954BA1D.7070400@oracle.com> (raw)
Hi folks,
I meet a problem when developing windows PV drivers for Xen. Now my
drivers can support adding a 'file' type backend media as a VBD device
using 'xm block-attach' command. With the same code, 'xm block-attach' a
'tap:aio' type backend media cannot works fine on my PV drivers. But if
I add a 'file' type backend media to windows VM and set set it to
'tap:aio' type, it works fine. Since my driver didn't get WHQL digital
signature, when adding a new device VM, windows will pops up a 'Find new
hardware' dialog to install drivers for it even there is a device object
represents for it. When installing driver for new storage class device,
windows PnP manager will remove the device object and add a new one
represents for the new device. In this progress, I will set device
backend state to XenbusStateClosing->XenbusStateClosed
->XenbusStateInitWait and then reinitialize the device. If it's a 'file'
type, all these progress works fine, but it's a 'type:aio' type, my
drivers cannot get any response from ring buffer for Read/Write scsi
command.
So does anybody can give me some brief guide on difference between
'file' type and 'tap:aio' type as a backend media for a frontend PV
drivers? And I want to confirm that a 'tap:aio' type backend can work
well when backend state changed as
XenbusStateInitWait->XenbusStateConnected->
XenbusStateClosing->XenbusStateClosed
->XenbusStateInitWait->XenbusStateConnected. I know that a 'file' type
backend is Yes, I think 'tap:aio' type is Yes either, just want to conform.
James, any suggestion?
BTW, I use OVM 2.1.2 based on Xen 3.1 series.
Merry Christmas and Happy New Year!
Thanks
Wayne
next reply other threads:[~2008-12-26 11:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-26 11:03 Wayne Gong [this message]
2008-12-26 16:05 ` xm block-attach DomID tap:aio:/ Andrew Lyon
2008-12-27 2:04 ` James Harper
2008-12-27 2:05 ` James Harper
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=4954BA1D.7070400@oracle.com \
--to=wayne.gong@oracle.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.