All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Ritu kaur <ritu.kaur.us@gmail.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: domU guest for xcp 0.1.1
Date: Tue, 16 Mar 2010 07:37:49 +0000	[thread overview]
Message-ID: <1268725069.8652.4179.camel@localhost.localdomain> (raw)
In-Reply-To: <29b32d341003151904m2a992be5s74697d6047b864c6@mail.gmail.com>

On Tue, 2010-03-16 at 02:04 +0000, Ritu kaur wrote:
> Thanks Ian and Pasi, it took me much less time than I had thought to
> fix drivers and I am able to see nic interfaces via ifconfig. I am yet
> to test ping and other stuff. Had couple of questions
> 
> 1. I used xe vm-param-clear uuid=<uuid-of-vm> param-name=other-config
> on dom0 and rebooted domU assuming dom0 will get back pci device. It
> didn't. I had to reboot dom0 in order to unhook pci device from domU.
> Is this the way it is supposed to work? 

Aside: you need "param-key=pci" in the above or I think you will clear
all keys in other-config which is unlikely to be what you want. You
could also have used vm-param-set other-config:pci="".

The NIC will remain bound to the pciback driver until you explicitly
unbind it and rebind to another driver in domain 0 and won't be
available until you do this. You can rebind the driver echo'ing the PCI
BDF of the device into the "unbind" and "bind" nodes under the
appropriate drivers in sysfs. e.g. for pcidev=0000:00:08.0:

echo -n "$pcidev" > /sys/bus/pci/devices/"$pcidev"/driver/unbind
echo -n "$pcidev" > /sys/bus/pci/drivers/$mydriver/bind

> 2. Unrelated to pci passthrough, xen/stable code I downloaded doesn't
> seem to have netfront drivers or any front drivers, doesn't it come by
> default when you download from xen/stable?

It should do. The modules have different names though, xen-netfront and
xen-blkfront IIRC.

Ian.

  reply	other threads:[~2010-03-16  7:37 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12 17:10 domU guest for xcp 0.1.1 Ritu kaur
2010-03-12 17:51 ` Pasi Kärkkäinen
2010-03-13  1:51   ` Ritu kaur
2010-03-13 11:18     ` Pasi Kärkkäinen
2010-03-13 16:09       ` Ritu kaur
2010-03-13 16:41         ` Pasi Kärkkäinen
2010-03-14  1:43           ` Ritu kaur
2010-03-14  9:04             ` pvops xen/master and xen/stable domU kernel compilation errors Pasi Kärkkäinen
2010-03-14 11:15             ` domU guest for xcp 0.1.1 Sander Eikelenboom
2010-03-14 20:29               ` Ritu kaur
2010-03-14 20:52                 ` Sander Eikelenboom
2010-03-15  1:40                   ` Ritu kaur
2010-03-15  3:30                     ` Ritu kaur
2010-03-15  8:44                       ` Ian Campbell
2010-03-15 13:42                         ` Ritu kaur
2010-03-15 13:44                           ` Ian Campbell
2010-03-15 13:46                             ` Ritu kaur
2010-03-16  2:04                               ` Ritu kaur
2010-03-16  7:37                                 ` Ian Campbell [this message]
2010-03-16 15:23                                   ` Pasi Kärkkäinen
2010-03-16 23:25                                     ` Ritu kaur
2010-03-17 18:44                                       ` Ritu kaur
2010-03-18  9:17                                         ` Ian Campbell
2010-03-18 13:43                                           ` Ritu kaur
2010-03-18 14:11                                             ` Ian Campbell
2010-03-18 14:23                                               ` Ritu kaur
2010-03-18 14:27                                                 ` Ian Campbell
2010-03-18 14:32                                                   ` Ian Campbell
2010-03-18 14:39                                               ` Konrad Rzeszutek Wilk
2010-03-18 15:28                                                 ` Ritu kaur
2010-03-18 16:26                                                   ` Konrad Rzeszutek Wilk
2010-03-19 15:27                                                     ` Ritu kaur
2010-03-21  1:50                                                       ` Ritu kaur
2010-03-21 17:22                                                         ` Ritu kaur
2010-03-21 18:41                                                           ` Pasi Kärkkäinen
2010-03-21 21:21                                                             ` Ritu kaur
2010-03-22  8:58                                                               ` Pasi Kärkkäinen
2010-03-22 21:02                                                                 ` Ritu kaur
2010-03-22 21:09                                                                   ` Pasi Kärkkäinen
2010-03-23 20:21                                                                     ` Ritu kaur
2010-03-26 19:11                                                                       ` Ritu kaur
2010-03-27 18:28                                                                         ` Ritu kaur
2010-03-27 18:43                                                                           ` Pasi Kärkkäinen
2010-03-28  1:32                                                                             ` Ritu kaur
2010-03-28  3:21                                                                               ` Ritu kaur
2010-03-28 11:34                                                                                 ` Pasi Kärkkäinen
2010-03-28 11:55                                                                                   ` Pasi Kärkkäinen
2010-03-31  0:28                                                                                     ` Ritu kaur
2010-03-31  1:07                                                                                       ` Ritu kaur
2010-03-31  6:30                                                                                         ` Pasi Kärkkäinen
2010-03-31 13:15                                                                                           ` Ritu kaur
2010-03-31 13:42                                                                                             ` Konrad Rzeszutek Wilk
2010-03-31 13:55                                                                                               ` Ritu kaur
2010-03-31 14:39                                                                                                 ` Pasi Kärkkäinen
2010-03-31 21:10                                                                                                   ` Ritu kaur
2010-04-01 12:48                                                                                                     ` Ritu kaur
2010-04-05 14:10                                                                                                       ` Ritu kaur
2010-04-05 17:00                                                                                                         ` Konrad Rzeszutek Wilk
2010-04-06  4:00                                                                                                           ` Ritu kaur
2010-04-06  6:03                                                                                                             ` Pasi Kärkkäinen
2010-04-06 13:31                                                                                                               ` Ritu kaur
2010-04-09 15:53                                                                                                                 ` Ritu kaur
2010-04-11 17:11                                                                                                                   ` Ritu kaur
2010-04-12 14:04                                                                                                                     ` Konrad Rzeszutek Wilk
2010-04-12 22:14                                                                                                                       ` Ritu kaur
2010-04-13  8:34                                                                                                                         ` Ian Campbell
2010-04-13 22:06                                                                                                                           ` Ritu kaur
2010-04-14  8:48                                                                                                                             ` Ian Campbell
2010-03-28 11:33                                                                               ` Pasi Kärkkäinen
2010-03-31 23:23                                   ` Ritu kaur

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=1268725069.8652.4179.camel@localhost.localdomain \
    --to=ian.campbell@citrix.com \
    --cc=ritu.kaur.us@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.