------=_Part_366645_1002603632.1465311035701
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
We are no more able to give a pci device to one VM.=20
Here is the process we used to assign one device to one VM:=20
- Click on the VM, and then on the tab "Host devices"=20
- In the tab, click on "pin to host" and select the host that will give the=
pci device=20
- Click on "add device", in the window appear all the pci devices: choose t=
he pci card you wish (ex. pci_0000_83_00_0 pci_0000_83_00_1) and then click=
on the gray arrow to assign this device to the VM=20
- Click on ok=20
- boot the VM.=20
The problem is that in the window that appears, there is not a single pci d=
evice listed (there should be many listed).=20
I checked first: the IOMMU setting is set in the kernel.=20
Our environment:=20
We have two HV running CentOs7.=20
Each of them have three fiber channel cards. First card is connected to a d=
isk array, second one to the first tape library and third one to another ta=
pe library.=20
We used to give the second card to a VM1, and the third card to another VM2=
. Both VMs ran on one HV or on the other in the past: everything was fine.=
=20
What happened:=20
Today we add to upgrade one of the HV (HV1). Both VMs ran on this HV1. We u=
pgraded then restarted the HV1.=20
Then I edited the second VM2 in order to remove card from HV1. Then I tried=
to add the card from HV2 to this VM2: the list of "host devices" is empty.=
=20
I started the VM1: it works fine (I didn't change anything on it).=20
--=20
=09
=09
=09
=09=09J=C3=A9r=C3=B4me Chapelle=20
=09=09C entre I nformatique N ational de l' E nseignement S up=C3=A9rieur=
=20
950 rue de Saint Priest=20
34 097 M ONTPELLIER Cedex 5=20
=09=09T=C3=A9l. =0904 67 14 14 14=20
=09=09eMail =09chapelle(a)cines.fr=20
------=_Part_366645_1002603632.1465311035701
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: Times New Roman; font-size:
12pt; co=
lor: #000000"><div>We are no more able to give a pci device to one VM.<br
d=
ata-mce-bogus=3D"1"></div><div>Here is the process we used to
assign one de=
vice to one VM:<br data-mce-bogus=3D"1"></div><div>- Click on
the VM, and t=
hen on the tab "Host devices"<br></div><div>- In the tab,
click on "pin to =
host" and select the host that will give the pci device<br data-mce-bogus=
=3D"1"></div><div>- Click on "add device", in the
window appear all the pci=
devices: choose the pci card you wish (ex. pci_0000_83_00_0 pci_0000_83_00=
_1) and then click on the gray arrow to assign this device to the VM<br dat=
a-mce-bogus=3D"1"></div><div>- Click on ok<br
data-mce-bogus=3D"1"></div><d=
iv>- boot the VM.<br data-mce-bogus=3D"1"></div><div>The
problem is that in=
the window that appears, there is not a single pci device listed (there sh=
ould be many listed).<br data-mce-bogus=3D"1"></div><div>I
checked first: t=
he IOMMU setting is set in the kernel.<br
data-mce-bogus=3D"1"></div><div><=
br data-mce-bogus=3D"1"></div><div><span
data-mce-style=3D"text-decoration:=
underline;" style=3D"text-decoration: underline;">Our
environment:</span><=
br data-mce-bogus=3D"1"></div><div>We have two HV running
CentOs7.</div><di=
v>Each of them have three fiber channel cards. First card is connected to a=
disk array, second one to the first tape library and third one to another =
tape library.<br></div><div>We used to give the second card to a VM1,
and t=
he third card to another VM2. Both VMs ran on one HV or on the other in the=
past: everything was fine.<br
data-mce-bogus=3D"1"></div><div><span data-m=
ce-style=3D"text-decoration: underline;" style=3D"text-decoration:
underlin=
e;">What happened:</span><br
data-mce-bogus=3D"1"></div><div>Today we add t=
o upgrade one of the HV (HV1). Both VMs ran on this HV1. We upgraded then r=
estarted the HV1.<br data-mce-bogus=3D"1"></div><div>Then I
edited the seco=
nd VM2 in order to remove card from HV1. Then I tried to add the card from =
HV2 to this VM2: the list of "host devices" is empty.<br
data-mce-bogus=3D"=
1"></div><div>I started the VM1: it works fine (I didn't change
anything on=
it).<br data-mce-bogus=3D"1"></div><div><br
data-mce-bogus=3D"1"></div><di=
v><br></div><div data-marker=3D"__SIG_POST__">--
<br></div><div><br
<table style=3D"border: 2px solid"
<tbody
<tr
<td
<table cellpadding=3D"0" cellspacing=3D"0"
border=3D"0"
<tbody
<tr
<td><a href=3D"http://www.cines.fr"><img
style=3D"borde=
r: 0px none;" src=3D"https://www.cines.fr/wp-content/uploads/2014/01/logo-s=
ite211.png" height=3D"43" width=3D"60"></a><br
data-mce-bogus=3D"1"></td
<td
<table
cellpadding=3D"0" cellspacing=3D"0"
<tbody
<tr
<td style=3D"border-bottom:
1px solid
;border-left: 1px solid ; padding-top:
2px; padding-bottom: 2px;"
width=3D"32px">&nb=
sp;</td
<td
style=3D"border-bottom: 1px solid ;" colspa=
n=3D"2"><big>J=C3=A9r=C3=B4me Chapelle</big></td
</tr
<tr
<td
style=3D"border-bottom: 1px solid
;border-left: 1px solid ; padding-top:
2px; padding-bottom: 2px;"
width=3D"32px">&nb=
sp;</td
<td
style=3D"border-bottom: 1px solid ;" colspa=
n=3D"2"> <b>C</b><small>entre
</small><b>I</b><small>nformatique
</small><b>N</b><small>ational de
l'</small><=
b>E</b><small>nseignement
</small><b>S</b><small>up=C3=A9rieur</small><=
br
<small>950 rue de Saint
Priest</small><br
34<small>097</small> M<small>ONTPELLIER
Cedex 5</small><br
</td
</tr
<tr
<td style=3D"border-left: 1px solid ;
padding-top: 2px; "
width=3D"32px"> </td=
<td>T=C3=A9l.</td
<td>04 67 14 14 14</td
</tr
<tr
<td
style=3D"border-bottom: 1px solid
;border-left: 1px solid ; padding-bottom:
2px;" width=3D"32px"> </td
<td style=3D"border-bottom:
1px solid ;">eMail<=
/td
<td style=3D"border-bottom:
1px solid "><a href=
=3D"mailto:chapelle@cines.fr">chapelle@cines.fr</a><br
data-mce-bogus=3D"1"=
></td
</tr
</tbody
</table
</td
</tr
</tbody
</table
</td
</tr
</tbody
</table
=20
<br></div></div></body></html
------=_Part_366645_1002603632.1465311035701--