* passing through SMBus
@ 2013-11-14 3:03 Shailesh Kumar
2013-11-14 10:55 ` Andrew Cooper
0 siblings, 1 reply; 11+ messages in thread
From: Shailesh Kumar @ 2013-11-14 3:03 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 608 bytes --]
Hi All,
I have a windows 7 as my domU and some windows based drivers are not fully
functional (like: touchpad-driver etc ) because they are SMBus based. I was
looking at a way to passthrough the SMBus at 00:1f.03 on south bridge (
00:1f.0), I was debugging at pt-graphics.c and understand that it is
detecting the south bridge and passing it through but the other functions
for the same dev-id are not getting passed through. Seeking help if someone
can help me to get the function '3' also pass through.
I am using Xen-4.2.0 and dom-0 linux kernel is 3.9.4. My dom-0 is
Fedora-17-64bit based.
thanks
tsk
[-- Attachment #1.2: Type: text/html, Size: 724 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: passing through SMBus
2013-11-14 3:03 passing through SMBus Shailesh Kumar
@ 2013-11-14 10:55 ` Andrew Cooper
[not found] ` <CACY1rB41NHNGVVLQJytpcZZ6XTYZEhjo5D3P6sj6O-o=kC6ekA@mail.gmail.com>
0 siblings, 1 reply; 11+ messages in thread
From: Andrew Cooper @ 2013-11-14 10:55 UTC (permalink / raw)
To: Shailesh Kumar; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 821 bytes --]
On 14/11/13 03:03, Shailesh Kumar wrote:
> Hi All,
>
> I have a windows 7 as my domU and some windows based drivers are not
> fully functional (like: touchpad-driver etc ) because they are SMBus
> based. I was looking at a way to passthrough the SMBus at 00:1f.03 on
> south bridge ( 00:1f.0), I was debugging at pt-graphics.c and
> understand that it is detecting the south bridge and passing it
> through but the other functions for the same dev-id are not getting
> passed through. Seeking help if someone can help me to get the
> function '3' also pass through.
>
> I am using Xen-4.2.0 and dom-0 linux kernel is 3.9.4. My dom-0 is
> Fedora-17-64bit based.
>
> thanks
> tsk
Do you mean that you are looking to pass through the host SMBus to a
guest, or that you are looking for qemu to emulate an SMBus?
~Andrew
[-- Attachment #1.2: Type: text/html, Size: 1583 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: passing through SMBus
[not found] ` <CACY1rB41NHNGVVLQJytpcZZ6XTYZEhjo5D3P6sj6O-o=kC6ekA@mail.gmail.com>
@ 2013-11-14 21:59 ` Andrew Cooper
2013-11-15 7:18 ` Shailesh Kumar
0 siblings, 1 reply; 11+ messages in thread
From: Andrew Cooper @ 2013-11-14 21:59 UTC (permalink / raw)
To: Shailesh Kumar, xen-devel@lists.xen.org
[-- Attachment #1.1: Type: text/plain, Size: 1431 bytes --]
On 14/11/2013 19:30, Shailesh Kumar wrote:
> I am looking for passingthrough the SMBus to the guest.
>
>
Please do not drop xen-devel from the CC line, and please do not top-post.
Passing though the host SMBus to a VM is almost certainly going to cause
issues. dom0 will likely be using bits and pieces on the SMBus itself.
How are you trying to connect to your windows VM ?
~Andrew
> On Thu, Nov 14, 2013 at 2:55 AM, Andrew Cooper
> <andrew.cooper3@citrix.com <mailto:andrew.cooper3@citrix.com>> wrote:
>
> On 14/11/13 03:03, Shailesh Kumar wrote:
>> Hi All,
>>
>> I have a windows 7 as my domU and some windows based drivers are
>> not fully functional (like: touchpad-driver etc ) because they
>> are SMBus based. I was looking at a way to passthrough the SMBus
>> at 00:1f.03 on south bridge ( 00:1f.0), I was debugging at
>> pt-graphics.c and understand that it is detecting the south
>> bridge and passing it through but the other functions for the
>> same dev-id are not getting passed through. Seeking help if
>> someone can help me to get the function '3' also pass through.
>>
>> I am using Xen-4.2.0 and dom-0 linux kernel is 3.9.4. My dom-0 is
>> Fedora-17-64bit based.
>>
>> thanks
>> tsk
>
> Do you mean that you are looking to pass through the host SMBus to
> a guest, or that you are looking for qemu to emulate an SMBus?
>
> ~Andrew
>
>
[-- Attachment #1.2: Type: text/html, Size: 3611 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: passing through SMBus
2013-11-14 21:59 ` Andrew Cooper
@ 2013-11-15 7:18 ` Shailesh Kumar
2013-11-18 6:40 ` Shailesh Kumar
0 siblings, 1 reply; 11+ messages in thread
From: Shailesh Kumar @ 2013-11-15 7:18 UTC (permalink / raw)
To: Andrew Cooper; +Cc: xen-devel@lists.xen.org
[-- Attachment #1.1: Type: text/plain, Size: 2400 bytes --]
My Win7 guest runs on a headless xen hypervisor, so I passthrough the
graphics and all other devices except for HDD.
May I know what bits and pieces dom0 will be using from SMBus ?
I communicate between both the domains using ip because I am using n/w
bridge.
I launch windows using xl create command.
the reason I need SMBus because synaptic has developed their latest
touchpad driver based on SMBus, There are other devices which require SMBus
for their win drivers to work.
I looked at qemu code xen-vl-extra.c and pass-through.c and looks like for
device 1f and function 03 it is failing to pass-through. I also note that
dev 1f: func 00 the PCH bus is being getting passed through in
pt-graphics.c and I understand it is in the interest of the graphics.
I do not want to hack the qemu to get the function 03 for dev 1f passed
through but I am looking for some neat way of accessing the SMBus from
domU.
Did I answer you questions ?
On Thu, Nov 14, 2013 at 1:59 PM, Andrew Cooper <andrew.cooper3@citrix.com>wrote:
> On 14/11/2013 19:30, Shailesh Kumar wrote:
>
> I am looking for passingthrough the SMBus to the guest.
>
>
>
> Please do not drop xen-devel from the CC line, and please do not top-post.
>
> Passing though the host SMBus to a VM is almost certainly going to cause
> issues. dom0 will likely be using bits and pieces on the SMBus itself.
>
> How are you trying to connect to your windows VM ?
>
> ~Andrew
>
>
> On Thu, Nov 14, 2013 at 2:55 AM, Andrew Cooper <andrew.cooper3@citrix.com
> > wrote:
>
>> On 14/11/13 03:03, Shailesh Kumar wrote:
>>
>> Hi All,
>>
>> I have a windows 7 as my domU and some windows based drivers are not
>> fully functional (like: touchpad-driver etc ) because they are SMBus based.
>> I was looking at a way to passthrough the SMBus at 00:1f.03 on south bridge
>> ( 00:1f.0), I was debugging at pt-graphics.c and understand that it is
>> detecting the south bridge and passing it through but the other functions
>> for the same dev-id are not getting passed through. Seeking help if someone
>> can help me to get the function '3' also pass through.
>>
>> I am using Xen-4.2.0 and dom-0 linux kernel is 3.9.4. My dom-0 is
>> Fedora-17-64bit based.
>>
>> thanks
>> tsk
>>
>>
>> Do you mean that you are looking to pass through the host SMBus to a
>> guest, or that you are looking for qemu to emulate an SMBus?
>>
>> ~Andrew
>>
>>
>
>
[-- Attachment #1.2: Type: text/html, Size: 4873 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: passing through SMBus
2013-11-15 7:18 ` Shailesh Kumar
@ 2013-11-18 6:40 ` Shailesh Kumar
2013-11-18 11:33 ` Andrew Cooper
0 siblings, 1 reply; 11+ messages in thread
From: Shailesh Kumar @ 2013-11-18 6:40 UTC (permalink / raw)
To: Andrew Cooper; +Cc: xen-devel@lists.xen.org
[-- Attachment #1.1: Type: text/plain, Size: 2714 bytes --]
Andrew,
Did I miss to share any details .
Let me know if you have more questions for me .
waiting for your suggestions.
thanks
TSK
On Thu, Nov 14, 2013 at 11:18 PM, Shailesh Kumar <tsaileshkumar@gmail.com>wrote:
> My Win7 guest runs on a headless xen hypervisor, so I passthrough the
> graphics and all other devices except for HDD.
>
> May I know what bits and pieces dom0 will be using from SMBus ?
>
> I communicate between both the domains using ip because I am using n/w
> bridge.
>
> I launch windows using xl create command.
>
> the reason I need SMBus because synaptic has developed their latest
> touchpad driver based on SMBus, There are other devices which require SMBus
> for their win drivers to work.
>
> I looked at qemu code xen-vl-extra.c and pass-through.c and looks like for
> device 1f and function 03 it is failing to pass-through. I also note that
> dev 1f: func 00 the PCH bus is being getting passed through in
> pt-graphics.c and I understand it is in the interest of the graphics.
>
> I do not want to hack the qemu to get the function 03 for dev 1f passed
> through but I am looking for some neat way of accessing the SMBus from
> domU.
>
> Did I answer you questions ?
>
>
>
>
> On Thu, Nov 14, 2013 at 1:59 PM, Andrew Cooper <andrew.cooper3@citrix.com>wrote:
>
>> On 14/11/2013 19:30, Shailesh Kumar wrote:
>>
>> I am looking for passingthrough the SMBus to the guest.
>>
>>
>>
>> Please do not drop xen-devel from the CC line, and please do not top-post.
>>
>> Passing though the host SMBus to a VM is almost certainly going to cause
>> issues. dom0 will likely be using bits and pieces on the SMBus itself.
>>
>> How are you trying to connect to your windows VM ?
>>
>> ~Andrew
>>
>>
>> On Thu, Nov 14, 2013 at 2:55 AM, Andrew Cooper <
>> andrew.cooper3@citrix.com> wrote:
>>
>>> On 14/11/13 03:03, Shailesh Kumar wrote:
>>>
>>> Hi All,
>>>
>>> I have a windows 7 as my domU and some windows based drivers are not
>>> fully functional (like: touchpad-driver etc ) because they are SMBus based.
>>> I was looking at a way to passthrough the SMBus at 00:1f.03 on south bridge
>>> ( 00:1f.0), I was debugging at pt-graphics.c and understand that it is
>>> detecting the south bridge and passing it through but the other functions
>>> for the same dev-id are not getting passed through. Seeking help if someone
>>> can help me to get the function '3' also pass through.
>>>
>>> I am using Xen-4.2.0 and dom-0 linux kernel is 3.9.4. My dom-0 is
>>> Fedora-17-64bit based.
>>>
>>> thanks
>>> tsk
>>>
>>>
>>> Do you mean that you are looking to pass through the host SMBus to a
>>> guest, or that you are looking for qemu to emulate an SMBus?
>>>
>>> ~Andrew
>>>
>>>
>>
>>
>
[-- Attachment #1.2: Type: text/html, Size: 5512 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: passing through SMBus
2013-11-18 6:40 ` Shailesh Kumar
@ 2013-11-18 11:33 ` Andrew Cooper
2013-11-18 18:05 ` Shailesh Kumar
2013-11-22 0:05 ` Shailesh Kumar
0 siblings, 2 replies; 11+ messages in thread
From: Andrew Cooper @ 2013-11-18 11:33 UTC (permalink / raw)
To: Shailesh Kumar; +Cc: xen-devel@lists.xen.org
[-- Attachment #1.1: Type: text/plain, Size: 3628 bytes --]
On 18/11/13 06:40, Shailesh Kumar wrote:
> Andrew,
>
> Did I miss to share any details .
> Let me know if you have more questions for me .
>
> waiting for your suggestions.
>
> thanks
> TSK
Once again, please do not top post.
Qemu has its own chipset emulation. Attempting to shoehorn part of a
host chipset into a virtualised guest chipset is unlikely to work.
If the Win7 vm is on a headless server, why do you need the local mouse
if you are connecting via VNC (I am assuming VNC as you only specified
'ip').
~Andrew
>
>
> On Thu, Nov 14, 2013 at 11:18 PM, Shailesh Kumar
> <tsaileshkumar@gmail.com <mailto:tsaileshkumar@gmail.com>> wrote:
>
> My Win7 guest runs on a headless xen hypervisor, so I passthrough
> the graphics and all other devices except for HDD.
>
> May I know what bits and pieces dom0 will be using from SMBus ?
>
> I communicate between both the domains using ip because I am using
> n/w bridge.
>
> I launch windows using xl create command.
>
> the reason I need SMBus because synaptic has developed their
> latest touchpad driver based on SMBus, There are other devices
> which require SMBus for their win drivers to work.
>
> I looked at qemu code xen-vl-extra.c and pass-through.c and looks
> like for device 1f and function 03 it is failing to pass-through.
> I also note that dev 1f: func 00 the PCH bus is being getting
> passed through in pt-graphics.c and I understand it is in the
> interest of the graphics.
>
> I do not want to hack the qemu to get the function 03 for dev 1f
> passed through but I am looking for some neat way of accessing the
> SMBus from domU.
>
> Did I answer you questions ?
>
>
>
>
> On Thu, Nov 14, 2013 at 1:59 PM, Andrew Cooper
> <andrew.cooper3@citrix.com <mailto:andrew.cooper3@citrix.com>> wrote:
>
> On 14/11/2013 19:30, Shailesh Kumar wrote:
>> I am looking for passingthrough the SMBus to the guest.
>>
>>
>
> Please do not drop xen-devel from the CC line, and please do
> not top-post.
>
> Passing though the host SMBus to a VM is almost certainly
> going to cause issues. dom0 will likely be using bits and
> pieces on the SMBus itself.
>
> How are you trying to connect to your windows VM ?
>
> ~Andrew
>
>
>> On Thu, Nov 14, 2013 at 2:55 AM, Andrew Cooper
>> <andrew.cooper3@citrix.com
>> <mailto:andrew.cooper3@citrix.com>> wrote:
>>
>> On 14/11/13 03:03, Shailesh Kumar wrote:
>>> Hi All,
>>>
>>> I have a windows 7 as my domU and some windows based
>>> drivers are not fully functional (like: touchpad-driver
>>> etc ) because they are SMBus based. I was looking at a
>>> way to passthrough the SMBus at 00:1f.03 on south bridge
>>> ( 00:1f.0), I was debugging at pt-graphics.c and
>>> understand that it is detecting the south bridge and
>>> passing it through but the other functions for the same
>>> dev-id are not getting passed through. Seeking help if
>>> someone can help me to get the function '3' also pass
>>> through.
>>>
>>> I am using Xen-4.2.0 and dom-0 linux kernel is 3.9.4. My
>>> dom-0 is Fedora-17-64bit based.
>>>
>>> thanks
>>> tsk
>>
>> Do you mean that you are looking to pass through the host
>> SMBus to a guest, or that you are looking for qemu to
>> emulate an SMBus?
>>
>> ~Andrew
>>
>>
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 10751 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: passing through SMBus
2013-11-18 11:33 ` Andrew Cooper
@ 2013-11-18 18:05 ` Shailesh Kumar
2013-11-19 11:10 ` Ian Campbell
2013-11-22 0:05 ` Shailesh Kumar
1 sibling, 1 reply; 11+ messages in thread
From: Shailesh Kumar @ 2013-11-18 18:05 UTC (permalink / raw)
To: Andrew Cooper; +Cc: xen-devel@lists.xen.org
Hi Andrew,
I am sorry I am not much familiar with the mailing list Etiquette. I
am not doing anything intentionally but just trying do "reply all" in
gmail.
my hypervisor is not for server, it is for a client. I passthrough the
graphics chipset to get the native graphics experience for my guest.
Similarly I want other pieces also to be passed-through for native
user experience. The ip is only to get a communication channel setup
between domains.
Here I read that trying passing through the SMBus is not recommended ??
Can you suggest an alternate way ? Is there a emulation of SMBus patch ?
Sorry again if this gets top-posted. I am still trying to see if I can
learn few etiquette.
-tsk
On Mon, Nov 18, 2013 at 3:33 AM, Andrew Cooper
<andrew.cooper3@citrix.com> wrote:
> On 18/11/13 06:40, Shailesh Kumar wrote:
>
> Andrew,
>
> Did I miss to share any details .
> Let me know if you have more questions for me .
>
> waiting for your suggestions.
>
> thanks
> TSK
>
>
> Once again, please do not top post.
>
> Qemu has its own chipset emulation. Attempting to shoehorn part of a host
> chipset into a virtualised guest chipset is unlikely to work.
>
> If the Win7 vm is on a headless server, why do you need the local mouse if
> you are connecting via VNC (I am assuming VNC as you only specified 'ip').
>
>
> ~Andrew
>
>
>
> On Thu, Nov 14, 2013 at 11:18 PM, Shailesh Kumar <tsaileshkumar@gmail.com>
> wrote:
>>
>> My Win7 guest runs on a headless xen hypervisor, so I passthrough the
>> graphics and all other devices except for HDD.
>>
>> May I know what bits and pieces dom0 will be using from SMBus ?
>>
>> I communicate between both the domains using ip because I am using n/w
>> bridge.
>>
>> I launch windows using xl create command.
>>
>> the reason I need SMBus because synaptic has developed their latest
>> touchpad driver based on SMBus, There are other devices which require SMBus
>> for their win drivers to work.
>>
>> I looked at qemu code xen-vl-extra.c and pass-through.c and looks like for
>> device 1f and function 03 it is failing to pass-through. I also note that
>> dev 1f: func 00 the PCH bus is being getting passed through in pt-graphics.c
>> and I understand it is in the interest of the graphics.
>>
>> I do not want to hack the qemu to get the function 03 for dev 1f passed
>> through but I am looking for some neat way of accessing the SMBus from domU.
>>
>> Did I answer you questions ?
>>
>>
>>
>>
>> On Thu, Nov 14, 2013 at 1:59 PM, Andrew Cooper <andrew.cooper3@citrix.com>
>> wrote:
>>>
>>> On 14/11/2013 19:30, Shailesh Kumar wrote:
>>>
>>> I am looking for passingthrough the SMBus to the guest.
>>>
>>>
>>>
>>> Please do not drop xen-devel from the CC line, and please do not
>>> top-post.
>>>
>>> Passing though the host SMBus to a VM is almost certainly going to cause
>>> issues. dom0 will likely be using bits and pieces on the SMBus itself.
>>>
>>> How are you trying to connect to your windows VM ?
>>>
>>> ~Andrew
>>>
>>>
>>> On Thu, Nov 14, 2013 at 2:55 AM, Andrew Cooper
>>> <andrew.cooper3@citrix.com> wrote:
>>>>
>>>> On 14/11/13 03:03, Shailesh Kumar wrote:
>>>>
>>>> Hi All,
>>>>
>>>> I have a windows 7 as my domU and some windows based drivers are not
>>>> fully functional (like: touchpad-driver etc ) because they are SMBus based.
>>>> I was looking at a way to passthrough the SMBus at 00:1f.03 on south bridge
>>>> ( 00:1f.0), I was debugging at pt-graphics.c and understand that it is
>>>> detecting the south bridge and passing it through but the other functions
>>>> for the same dev-id are not getting passed through. Seeking help if someone
>>>> can help me to get the function '3' also pass through.
>>>>
>>>> I am using Xen-4.2.0 and dom-0 linux kernel is 3.9.4. My dom-0 is
>>>> Fedora-17-64bit based.
>>>>
>>>> thanks
>>>> tsk
>>>>
>>>>
>>>> Do you mean that you are looking to pass through the host SMBus to a
>>>> guest, or that you are looking for qemu to emulate an SMBus?
>>>>
>>>> ~Andrew
>>>>
>>>
>>>
>>
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: passing through SMBus
2013-11-18 18:05 ` Shailesh Kumar
@ 2013-11-19 11:10 ` Ian Campbell
2013-11-19 19:43 ` Shailesh Kumar
0 siblings, 1 reply; 11+ messages in thread
From: Ian Campbell @ 2013-11-19 11:10 UTC (permalink / raw)
To: Shailesh Kumar; +Cc: Andrew Cooper, xen-devel@lists.xen.org
On Mon, 2013-11-18 at 10:05 -0800, Shailesh Kumar wrote:
> Hi Andrew,
>
> I am sorry I am not much familiar with the mailing list Etiquette. I
> am not doing anything intentionally but just trying do "reply all" in
> gmail.
The etiquette of this list is very similar to many open source lists.
Please see the etiquette section of
http://wiki.xen.org/wiki/Asking_Xen_Devel_Questions
Note that this might mean you have to push some extra buttons after
pressing "reply all" before you start typing (assuming you can't
configure gmail to do the right thing). Specifically you will need to
move your cursor to the end before you start typing and think about
which bits of the mail you reply to need quoting and trimming the rest.
Ian.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: passing through SMBus
2013-11-19 11:10 ` Ian Campbell
@ 2013-11-19 19:43 ` Shailesh Kumar
0 siblings, 0 replies; 11+ messages in thread
From: Shailesh Kumar @ 2013-11-19 19:43 UTC (permalink / raw)
To: Ian Campbell; +Cc: Andrew Cooper, xen-devel@lists.xen.org
On Tue, Nov 19, 2013 at 3:10 AM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
> On Mon, 2013-11-18 at 10:05 -0800, Shailesh Kumar wrote:
>> Hi Andrew,
>>
>> I am sorry I am not much familiar with the mailing list Etiquette. I
>> am not doing anything intentionally but just trying do "reply all" in
>> gmail.
>
> The etiquette of this list is very similar to many open source lists.
> Please see the etiquette section of
> http://wiki.xen.org/wiki/Asking_Xen_Devel_Questions
>
> Note that this might mean you have to push some extra buttons after
> pressing "reply all" before you start typing (assuming you can't
> configure gmail to do the right thing). Specifically you will need to
> move your cursor to the end before you start typing and think about
> which bits of the mail you reply to need quoting and trimming the rest.
>
> Ian.
>
Hi Ian,
Let me know if got the etiquette right now ?
A habit of replying-all in gmail caused to top-post my replies.
Thanks
tsk.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: passing through SMBus
2013-11-18 11:33 ` Andrew Cooper
2013-11-18 18:05 ` Shailesh Kumar
@ 2013-11-22 0:05 ` Shailesh Kumar
2013-11-22 11:20 ` Andrew Cooper
1 sibling, 1 reply; 11+ messages in thread
From: Shailesh Kumar @ 2013-11-22 0:05 UTC (permalink / raw)
To: Andrew Cooper; +Cc: xen-devel@lists.xen.org
On Mon, Nov 18, 2013 at 3:33 AM, Andrew Cooper
<andrew.cooper3@citrix.com> wrote:
> On 18/11/13 06:40, Shailesh Kumar wrote:
>
> Andrew,
>
> Did I miss to share any details .
> Let me know if you have more questions for me .
>
> waiting for your suggestions.
>
> thanks
> TSK
>
>
> Once again, please do not top post.
>
> Qemu has its own chipset emulation. Attempting to shoehorn part of a host
> chipset into a virtualised guest chipset is unlikely to work.
>
> If the Win7 vm is on a headless server, why do you need the local mouse if
> you are connecting via VNC (I am assuming VNC as you only specified 'ip').
>
> ~Andrew
>
Andrew
I got the SMBus pass-through to my guest and I don't see any problems yet.
I am still curious to understand what kind of problem I expect to observe.
AFAIK Qemu is designed to pass-through all the sub-functions of a
given device only if function '0' of that device is passed through.
Which is targeting to multi-function devices.
where as if one want to pass-through a specific sub-function on a
bridge it won't happen coz qemu or xl are not handling it.
BTW: I cleaned up the top post mess and also did some reading on
etiquette and will be practicing that.
-tsk
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: passing through SMBus
2013-11-22 0:05 ` Shailesh Kumar
@ 2013-11-22 11:20 ` Andrew Cooper
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Cooper @ 2013-11-22 11:20 UTC (permalink / raw)
To: Shailesh Kumar; +Cc: xen-devel@lists.xen.org
On 22/11/13 00:05, Shailesh Kumar wrote:
> On Mon, Nov 18, 2013 at 3:33 AM, Andrew Cooper
> <andrew.cooper3@citrix.com> wrote:
>> On 18/11/13 06:40, Shailesh Kumar wrote:
>>
>> Andrew,
>>
>> Did I miss to share any details .
>> Let me know if you have more questions for me .
>>
>> waiting for your suggestions.
>>
>> thanks
>> TSK
>>
>>
>> Once again, please do not top post.
>>
>> Qemu has its own chipset emulation. Attempting to shoehorn part of a host
>> chipset into a virtualised guest chipset is unlikely to work.
>>
>> If the Win7 vm is on a headless server, why do you need the local mouse if
>> you are connecting via VNC (I am assuming VNC as you only specified 'ip').
>>
>> ~Andrew
>>
> Andrew
>
> I got the SMBus pass-through to my guest and I don't see any problems yet.
> I am still curious to understand what kind of problem I expect to observe.
>
> AFAIK Qemu is designed to pass-through all the sub-functions of a
> given device only if function '0' of that device is passed through.
> Which is targeting to multi-function devices.
> where as if one want to pass-through a specific sub-function on a
> bridge it won't happen coz qemu or xl are not handling it.
>
> BTW: I cleaned up the top post mess and also did some reading on
> etiquette and will be practicing that.
>
> -tsk
They were concerns, rather than explicit points which wouldn't work. It
might be worth using pciback.hide on dom0's boot command line to try and
prevent any dom0 drivers from binding against the SMBus device.
There are certainly issues passing through device functions.
Enumeration of the PCI devices require function 0 to exist and advertise
itself as multifunction before you can look for other functions.
Therefore, to pass through a single function which is not function 0,
there needs to be an additional function 0 faked up. I am not aware of
any safe/sane way of doing this.
~Andrew
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2013-11-22 11:20 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-14 3:03 passing through SMBus Shailesh Kumar
2013-11-14 10:55 ` Andrew Cooper
[not found] ` <CACY1rB41NHNGVVLQJytpcZZ6XTYZEhjo5D3P6sj6O-o=kC6ekA@mail.gmail.com>
2013-11-14 21:59 ` Andrew Cooper
2013-11-15 7:18 ` Shailesh Kumar
2013-11-18 6:40 ` Shailesh Kumar
2013-11-18 11:33 ` Andrew Cooper
2013-11-18 18:05 ` Shailesh Kumar
2013-11-19 11:10 ` Ian Campbell
2013-11-19 19:43 ` Shailesh Kumar
2013-11-22 0:05 ` Shailesh Kumar
2013-11-22 11:20 ` Andrew Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).