Xen Q35 & virtual VTD support
Hi All:
We are researching how to add virtual VTD support for Xen HVM guest. Current qemu has a basic virtual VTD support for Q35. I'd like to confirm whether Xen supports Q35 or not. Can we reuse it for Xen? Thanks.
The motivations of adding virtual VTD support for Xen prepare for
1) Shared Virtual Memory (SVM)
2) Increase max VCPUs > 255 (The feature relies on virtual VTD irq remapping function.)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Hello Tianyu,
I am CC'ing Anthony who should have a better idea about this. Also please use my kernel.org email address for future correspondence.
What do you mean by reusing Q35 for Xen? If you mean using QEMU to emulate a Q35 based machine for HVM guests, I think that should be OK.
Thanks,
Stefano
Quoted 10 lines · Tianyu
Hi All:
We are researching how to add virtual VTD support for Xen HVM guest. Current qemu has a basic virtual VTD support for Q35. I'd like to confirm whether Xen supports Q35 or not. Can we reuse it for Xen? Thanks.The motivations of adding virtual VTD support for Xen prepare for
1) Shared Virtual Memory (SVM)
2) Increase max VCPUs > 255 (The feature relies on virtual VTD irq remapping function.)
Quoted 5 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 5 lines · Stefano Stabellini
Hello Tianyu,
I am CC'ing Anthony who should have a better idea about this. Also please use my kernel.org email address for future correspondence.
OK. I get it.
Quoted 3 lines
What do you mean by reusing Q35 for Xen? If you mean using QEMU to emulate a Q35 based machine for HVM guests, I think that should be OK.
From xl code, I findit passes pc, xenpv or xenfv as "-machine" param to Qemu except Q35. I also tried changing code to select Q35 in the xl but guest didn't boot up. So I want to check whether Xen supports Q35 in the current code or not.
If yes, we can reuse Qemu virtual VTD for Xen with minor changes.
Quoted 21 lines
Thanks,
Stefano
Quoted 15 lines · Tianyu
Hi All:
We are researching how to add virtual VTD support for Xen HVM guest. Current qemu has a basic virtual VTD support for Q35. I'd like to confirm whether Xen supports Q35 or not. Can we reuse it for Xen? Thanks.The motivations of adding virtual VTD support for Xen prepare for
1) Shared Virtual Memory (SVM)
2) Increase max VCPUs > 255 (The feature relies on virtual VTD irq remapping function.)_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 11 lines · Tianyu
Quoted 5 lines · Stefano Stabellini
Hello Tianyu,
What do you mean by reusing Q35 for Xen? If you mean using QEMU to emulate a Q35 based machine for HVM guests, I think that should be OK.
From xl code, I findit passes pc, xenpv or xenfv as "-machine" param to Qemu except Q35. I also tried changing code to select Q35 in the xl but guest didn't boot up. So I want to check whether Xen supports Q35 in the current code or not.
No, Xen do not support Q35.
But that is possible in the future, I did some work on it in the past, you can find it here if you are curious:
I'm not sure if it's going to help you.
Signature · 6 lines
Anthony PERARD _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Quoted 13 lines · Anthony PERARD
Quoted 11 lines · Tianyu
Quoted 5 lines · Stefano Stabellini
Hello Tianyu,
What do you mean by reusing Q35 for Xen? If you mean using QEMU to emulate a Q35 based machine for HVM guests, I think that should be OK.
From xl code, I findit passes pc, xenpv or xenfv as "-machine" param to Qemu except Q35. I also tried changing code to select Q35 in the xl but guest didn't boot up. So I want to check whether Xen supports Q35 in the current code or not.
Quoted 9 lines
No, Xen do not support Q35.
But that is possible in the future, I did some work on it in the past, you can find it here if you are curious:
I'm not sure if it's going to help you.
Great. Thanks a lot for your help. BTW, do you have plan to upstream these patches?
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel