* [virtio-comment] [PATCH] content: reserve virtio device ID for QingTian Box devices @ 2021-12-09 14:05 Longpeng(Mike) 2021-12-23 14:49 ` [virtio-comment] " Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 0 siblings, 1 reply; 12+ messages in thread From: Longpeng(Mike) @ 2021-12-09 14:05 UTC (permalink / raw) To: virtio-comment; +Cc: arei.gonglei, Longpeng From: Longpeng <longpeng2@huawei.com> Huawei Cloud is one of the famous public cloud providers, and its hypervisor is named QingTian. We plan to support the QingTian Box that provides some guest-aware features ( for high performance, security, etc. ) in the future, and at least one of them is already in development. It needs data transmission based on the Virtio, so we want to reserve a device id ( 43 ) for the QingTian Box. Signed-off-by: Longpeng <longpeng2@huawei.com> --- content.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content.tex b/content.tex index 899df5f..2a6f9de 100644 --- a/content.tex +++ b/content.tex @@ -2893,6 +2893,8 @@ \chapter{Device Types}\label{sec:Device Types} \hline 42 & RDMA device \\ \hline +43 & QingtianBox \\ +\hline \end{tabular} Some of the devices above are unspecified by this document, -- 1.8.3.1 This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/ ^ permalink raw reply related [flat|nested] 12+ messages in thread
* [virtio-comment] RE: [PATCH] content: reserve virtio device ID for QingTian Box devices 2021-12-09 14:05 [virtio-comment] [PATCH] content: reserve virtio device ID for QingTian Box devices Longpeng(Mike) @ 2021-12-23 14:49 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 2021-12-26 8:18 ` [virtio-comment] " Michael S. Tsirkin 2021-12-27 8:15 ` Michael S. Tsirkin 0 siblings, 2 replies; 12+ messages in thread From: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) @ 2021-12-23 14:49 UTC (permalink / raw) To: mst; +Cc: Gonglei (Arei), virtio-comment Hi Michael, Is there anything else I need to do to reserve the device id? > -----Original Message----- > From: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > Sent: Thursday, December 9, 2021 10:06 PM > To: virtio-comment@lists.oasis-open.org > Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; Longpeng (Mike, Cloud > Infrastructure Service Product Dept.) <longpeng2@huawei.com> > Subject: [PATCH] content: reserve virtio device ID for QingTian Box devices > > From: Longpeng <longpeng2@huawei.com> > > Huawei Cloud is one of the famous public cloud providers, and its > hypervisor is named QingTian. We plan to support the QingTian Box > that provides some guest-aware features ( for high performance, > security, etc. ) in the future, and at least one of them is already > in development. It needs data transmission based on the Virtio, so > we want to reserve a device id ( 43 ) for the QingTian Box. > > Signed-off-by: Longpeng <longpeng2@huawei.com> > --- > content.tex | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/content.tex b/content.tex > index 899df5f..2a6f9de 100644 > --- a/content.tex > +++ b/content.tex > @@ -2893,6 +2893,8 @@ \chapter{Device Types}\label{sec:Device Types} > \hline > 42 & RDMA device \\ > \hline > +43 & QingtianBox \\ > +\hline > \end{tabular} > > Some of the devices above are unspecified by this document, > -- > 1.8.3.1 This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* [virtio-comment] Re: [PATCH] content: reserve virtio device ID for QingTian Box devices 2021-12-23 14:49 ` [virtio-comment] " Longpeng (Mike, Cloud Infrastructure Service Product Dept.) @ 2021-12-26 8:18 ` Michael S. Tsirkin 2021-12-27 8:15 ` Michael S. Tsirkin 1 sibling, 0 replies; 12+ messages in thread From: Michael S. Tsirkin @ 2021-12-26 8:18 UTC (permalink / raw) To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) Cc: Gonglei (Arei), virtio-comment On Thu, Dec 23, 2021 at 02:49:25PM +0000, Longpeng (Mike, Cloud Infrastructure Service Product Dept.) wrote: > Hi Michael, > > Is there anything else I need to do to reserve the device id? Follow these steps please: https://github.com/oasis-tcs/virtio-spec#use-of-github-issues > > -----Original Message----- > > From: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > > Sent: Thursday, December 9, 2021 10:06 PM > > To: virtio-comment@lists.oasis-open.org > > Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; Longpeng (Mike, Cloud > > Infrastructure Service Product Dept.) <longpeng2@huawei.com> > > Subject: [PATCH] content: reserve virtio device ID for QingTian Box devices > > > > From: Longpeng <longpeng2@huawei.com> > > > > Huawei Cloud is one of the famous public cloud providers, and its > > hypervisor is named QingTian. We plan to support the QingTian Box > > that provides some guest-aware features ( for high performance, > > security, etc. ) in the future, and at least one of them is already > > in development. It needs data transmission based on the Virtio, so > > we want to reserve a device id ( 43 ) for the QingTian Box. > > > > Signed-off-by: Longpeng <longpeng2@huawei.com> > > --- > > content.tex | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/content.tex b/content.tex > > index 899df5f..2a6f9de 100644 > > --- a/content.tex > > +++ b/content.tex > > @@ -2893,6 +2893,8 @@ \chapter{Device Types}\label{sec:Device Types} > > \hline > > 42 & RDMA device \\ > > \hline > > +43 & QingtianBox \\ > > +\hline > > \end{tabular} > > > > Some of the devices above are unspecified by this document, > > -- > > 1.8.3.1 This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* [virtio-comment] Re: [PATCH] content: reserve virtio device ID for QingTian Box devices 2021-12-23 14:49 ` [virtio-comment] " Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 2021-12-26 8:18 ` [virtio-comment] " Michael S. Tsirkin @ 2021-12-27 8:15 ` Michael S. Tsirkin 2021-12-27 9:38 ` [virtio-comment] " Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 1 sibling, 1 reply; 12+ messages in thread From: Michael S. Tsirkin @ 2021-12-27 8:15 UTC (permalink / raw) To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) Cc: Gonglei (Arei), virtio-comment On Thu, Dec 23, 2021 at 02:49:25PM +0000, Longpeng (Mike, Cloud Infrastructure Service Product Dept.) wrote: > Hi Michael, > > Is there anything else I need to do to reserve the device id? OK, I see the issue was created. I think it makes sense to wait until Jan 3 with the vote since lots of people are on vacation. Meanwhile - are there plans to add this device to the spec eventually? Can you share a bit more of what it does? > > -----Original Message----- > > From: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > > Sent: Thursday, December 9, 2021 10:06 PM > > To: virtio-comment@lists.oasis-open.org > > Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; Longpeng (Mike, Cloud > > Infrastructure Service Product Dept.) <longpeng2@huawei.com> > > Subject: [PATCH] content: reserve virtio device ID for QingTian Box devices > > > > From: Longpeng <longpeng2@huawei.com> > > > > Huawei Cloud is one of the famous public cloud providers, and its > > hypervisor is named QingTian. We plan to support the QingTian Box > > that provides some guest-aware features ( for high performance, > > security, etc. ) in the future, and at least one of them is already > > in development. It needs data transmission based on the Virtio, so > > we want to reserve a device id ( 43 ) for the QingTian Box. > > > > Signed-off-by: Longpeng <longpeng2@huawei.com> > > --- > > content.tex | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/content.tex b/content.tex > > index 899df5f..2a6f9de 100644 > > --- a/content.tex > > +++ b/content.tex > > @@ -2893,6 +2893,8 @@ \chapter{Device Types}\label{sec:Device Types} > > \hline > > 42 & RDMA device \\ > > \hline > > +43 & QingtianBox \\ > > +\hline > > \end{tabular} > > > > Some of the devices above are unspecified by this document, > > -- > > 1.8.3.1 This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* [virtio-comment] RE: [PATCH] content: reserve virtio device ID for QingTian Box devices 2021-12-27 8:15 ` Michael S. Tsirkin @ 2021-12-27 9:38 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 2022-01-03 11:29 ` Cornelia Huck 0 siblings, 1 reply; 12+ messages in thread From: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) @ 2021-12-27 9:38 UTC (permalink / raw) To: Michael S. Tsirkin; +Cc: Gonglei (Arei), virtio-comment > -----Original Message----- > From: Michael S. Tsirkin [mailto:mst@redhat.com] > Sent: Monday, December 27, 2021 4:15 PM > To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > <longpeng2@huawei.com> > Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; > virtio-comment@lists.oasis-open.org > Subject: Re: [PATCH] content: reserve virtio device ID for QingTian Box devices > > On Thu, Dec 23, 2021 at 02:49:25PM +0000, Longpeng (Mike, Cloud Infrastructure > Service Product Dept.) wrote: > > Hi Michael, > > > > Is there anything else I need to do to reserve the device id? > > OK, I see the issue was created. I think it makes sense to wait > until Jan 3 with the vote since lots of people are on > vacation. > Ok, thanks. > Meanwhile - are there plans to add this device to the spec eventually? > Can you share a bit more of what it does? > We want to carve out some resources (e.g. vcpu, mem, pci_dev) from the user's VM and then use these resources to start a sandbox for the user. The usage quite likes the software enclave which Nitro already supported, but we have much wider usage, for example, running unikernel + app (e.g. OSV + Redis) in the sandbox, it would provide much better performance than the traditional os. > > > -----Original Message----- > > > From: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > > > Sent: Thursday, December 9, 2021 10:06 PM > > > To: virtio-comment@lists.oasis-open.org > > > Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; Longpeng (Mike, Cloud > > > Infrastructure Service Product Dept.) <longpeng2@huawei.com> > > > Subject: [PATCH] content: reserve virtio device ID for QingTian Box devices > > > > > > From: Longpeng <longpeng2@huawei.com> > > > > > > Huawei Cloud is one of the famous public cloud providers, and its > > > hypervisor is named QingTian. We plan to support the QingTian Box > > > that provides some guest-aware features ( for high performance, > > > security, etc. ) in the future, and at least one of them is already > > > in development. It needs data transmission based on the Virtio, so > > > we want to reserve a device id ( 43 ) for the QingTian Box. > > > > > > Signed-off-by: Longpeng <longpeng2@huawei.com> > > > --- > > > content.tex | 2 ++ > > > 1 file changed, 2 insertions(+) > > > > > > diff --git a/content.tex b/content.tex > > > index 899df5f..2a6f9de 100644 > > > --- a/content.tex > > > +++ b/content.tex > > > @@ -2893,6 +2893,8 @@ \chapter{Device Types}\label{sec:Device Types} > > > \hline > > > 42 & RDMA device \\ > > > \hline > > > +43 & QingtianBox \\ > > > +\hline > > > \end{tabular} > > > > > > Some of the devices above are unspecified by this document, > > > -- > > > 1.8.3.1 This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for QingTian Box devices 2021-12-27 9:38 ` [virtio-comment] " Longpeng (Mike, Cloud Infrastructure Service Product Dept.) @ 2022-01-03 11:29 ` Cornelia Huck 2022-01-03 11:55 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 0 siblings, 1 reply; 12+ messages in thread From: Cornelia Huck @ 2022-01-03 11:29 UTC (permalink / raw) To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.), Michael S. Tsirkin Cc: Gonglei (Arei), virtio-comment On Mon, Dec 27 2021, "Longpeng (Mike, Cloud Infrastructure Service Product Dept.)" <longpeng2@huawei.com> wrote: >> -----Original Message----- >> From: Michael S. Tsirkin [mailto:mst@redhat.com] >> Sent: Monday, December 27, 2021 4:15 PM >> To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) >> <longpeng2@huawei.com> >> Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; >> virtio-comment@lists.oasis-open.org >> Subject: Re: [PATCH] content: reserve virtio device ID for QingTian Box devices >> >> On Thu, Dec 23, 2021 at 02:49:25PM +0000, Longpeng (Mike, Cloud Infrastructure >> Service Product Dept.) wrote: >> > Hi Michael, >> > >> > Is there anything else I need to do to reserve the device id? >> >> OK, I see the issue was created. I think it makes sense to wait >> until Jan 3 with the vote since lots of people are on >> vacation. >> > > Ok, thanks. > >> Meanwhile - are there plans to add this device to the spec eventually? >> Can you share a bit more of what it does? >> > > We want to carve out some resources (e.g. vcpu, mem, pci_dev) from the user's > VM and then use these resources to start a sandbox for the user. The usage > quite likes the software enclave which Nitro already supported, but we have > much wider usage, for example, running unikernel + app (e.g. OSV + Redis) in > the sandbox, it would provide much better performance than the traditional os. Sounds interesting. One question: Should this virtio device only support a specific hypervisor, or could it support various hypervisors in theory? (Via different commands or parameters.) In case of the latter, it might be better to reserve an ID for a "sandbox device" or so. If the design is too closely tied to your hypervisor, I'd be fine with reserving the ID as proposed. This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for QingTian Box devices 2022-01-03 11:29 ` Cornelia Huck @ 2022-01-03 11:55 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 2022-01-03 12:50 ` Cornelia Huck 2022-01-03 17:14 ` Michael S. Tsirkin 0 siblings, 2 replies; 12+ messages in thread From: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) @ 2022-01-03 11:55 UTC (permalink / raw) To: Cornelia Huck, Michael S. Tsirkin; +Cc: Gonglei (Arei), virtio-comment > -----Original Message----- > From: Cornelia Huck [mailto:cohuck@redhat.com] > Sent: Monday, January 3, 2022 7:30 PM > To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > <longpeng2@huawei.com>; Michael S. Tsirkin <mst@redhat.com> > Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; > virtio-comment@lists.oasis-open.org > Subject: Re: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for > QingTian Box devices > > On Mon, Dec 27 2021, "Longpeng (Mike, Cloud Infrastructure Service Product > Dept.)" <longpeng2@huawei.com> wrote: > > >> -----Original Message----- > >> From: Michael S. Tsirkin [mailto:mst@redhat.com] > >> Sent: Monday, December 27, 2021 4:15 PM > >> To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > >> <longpeng2@huawei.com> > >> Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; > >> virtio-comment@lists.oasis-open.org > >> Subject: Re: [PATCH] content: reserve virtio device ID for QingTian Box devices > >> > >> On Thu, Dec 23, 2021 at 02:49:25PM +0000, Longpeng (Mike, Cloud Infrastructure > >> Service Product Dept.) wrote: > >> > Hi Michael, > >> > > >> > Is there anything else I need to do to reserve the device id? > >> > >> OK, I see the issue was created. I think it makes sense to wait > >> until Jan 3 with the vote since lots of people are on > >> vacation. > >> > > > > Ok, thanks. > > > >> Meanwhile - are there plans to add this device to the spec eventually? > >> Can you share a bit more of what it does? > >> > > > > We want to carve out some resources (e.g. vcpu, mem, pci_dev) from the user's > > VM and then use these resources to start a sandbox for the user. The usage > > quite likes the software enclave which Nitro already supported, but we have > > much wider usage, for example, running unikernel + app (e.g. OSV + Redis) in > > the sandbox, it would provide much better performance than the traditional > > os. > > Sounds interesting. One question: Should this virtio device only support > a specific hypervisor, or could it support various hypervisors in > theory? (Via different commands or parameters.) In case of the latter, > it might be better to reserve an ID for a "sandbox device" or so. If the > design is too closely tied to your hypervisor, I'd be fine with > reserving the ID as proposed. We want to name the device as "virtio sandbox" originally, but consider that it would be much convenient to add new features (maybe tied to our hypervisor) in the future if we introduce a private device, so we decide to use "QingTian Box" at last. However, the sandbox function is not bound to a specific hypervisor, so it's free for the other guys to add something like "virtio sandbox". ^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for QingTian Box devices 2022-01-03 11:55 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.) @ 2022-01-03 12:50 ` Cornelia Huck 2022-01-03 15:48 ` Michael S. Tsirkin 2022-01-03 17:14 ` Michael S. Tsirkin 1 sibling, 1 reply; 12+ messages in thread From: Cornelia Huck @ 2022-01-03 12:50 UTC (permalink / raw) To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.), Michael S. Tsirkin Cc: Gonglei (Arei), virtio-comment On Mon, Jan 03 2022, "Longpeng (Mike, Cloud Infrastructure Service Product Dept.)" <longpeng2@huawei.com> wrote: >> -----Original Message----- >> From: Cornelia Huck [mailto:cohuck@redhat.com] >> Sent: Monday, January 3, 2022 7:30 PM >> To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) >> <longpeng2@huawei.com>; Michael S. Tsirkin <mst@redhat.com> >> Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; >> virtio-comment@lists.oasis-open.org >> Subject: Re: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for >> QingTian Box devices >> >> On Mon, Dec 27 2021, "Longpeng (Mike, Cloud Infrastructure Service Product >> Dept.)" <longpeng2@huawei.com> wrote: >> >> >> -----Original Message----- >> >> From: Michael S. Tsirkin [mailto:mst@redhat.com] >> >> Sent: Monday, December 27, 2021 4:15 PM >> >> To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) >> >> <longpeng2@huawei.com> >> >> Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; >> >> virtio-comment@lists.oasis-open.org >> >> Subject: Re: [PATCH] content: reserve virtio device ID for QingTian Box devices >> >> >> >> On Thu, Dec 23, 2021 at 02:49:25PM +0000, Longpeng (Mike, Cloud Infrastructure >> >> Service Product Dept.) wrote: >> >> > Hi Michael, >> >> > >> >> > Is there anything else I need to do to reserve the device id? >> >> >> >> OK, I see the issue was created. I think it makes sense to wait >> >> until Jan 3 with the vote since lots of people are on >> >> vacation. >> >> >> > >> > Ok, thanks. >> > >> >> Meanwhile - are there plans to add this device to the spec eventually? >> >> Can you share a bit more of what it does? >> >> >> > >> > We want to carve out some resources (e.g. vcpu, mem, pci_dev) from the user's >> > VM and then use these resources to start a sandbox for the user. The usage >> > quite likes the software enclave which Nitro already supported, but we have >> > much wider usage, for example, running unikernel + app (e.g. OSV + Redis) in >> > the sandbox, it would provide much better performance than the traditional >> > os. >> >> Sounds interesting. One question: Should this virtio device only support >> a specific hypervisor, or could it support various hypervisors in >> theory? (Via different commands or parameters.) In case of the latter, >> it might be better to reserve an ID for a "sandbox device" or so. If the >> design is too closely tied to your hypervisor, I'd be fine with >> reserving the ID as proposed. > > We want to name the device as "virtio sandbox" originally, but consider that it > would be much convenient to add new features (maybe tied to our hypervisor) in > the future if we introduce a private device, so we decide to use "QingTian Box" > at last. > > However, the sandbox function is not bound to a specific hypervisor, so it's free > for the other guys to add something like "virtio sandbox". Yes, I guess this is a tradeoff between "device for a closely defined environment that can be specified/changed easily" and "generic device covering different environments that gets very complex". I do not have a very good grasp of the problem space; if it is hard to make generic, I have no objection to the specific device id. Anyone else have a comment? If not, we can go ahead and start a vote. This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for QingTian Box devices 2022-01-03 12:50 ` Cornelia Huck @ 2022-01-03 15:48 ` Michael S. Tsirkin 0 siblings, 0 replies; 12+ messages in thread From: Michael S. Tsirkin @ 2022-01-03 15:48 UTC (permalink / raw) To: Cornelia Huck Cc: Longpeng (Mike, Cloud Infrastructure Service Product Dept.), Gonglei (Arei), virtio-comment On Mon, Jan 03, 2022 at 01:50:17PM +0100, Cornelia Huck wrote: > On Mon, Jan 03 2022, "Longpeng (Mike, Cloud Infrastructure Service Product Dept.)" <longpeng2@huawei.com> wrote: > > >> -----Original Message----- > >> From: Cornelia Huck [mailto:cohuck@redhat.com] > >> Sent: Monday, January 3, 2022 7:30 PM > >> To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > >> <longpeng2@huawei.com>; Michael S. Tsirkin <mst@redhat.com> > >> Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; > >> virtio-comment@lists.oasis-open.org > >> Subject: Re: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for > >> QingTian Box devices > >> > >> On Mon, Dec 27 2021, "Longpeng (Mike, Cloud Infrastructure Service Product > >> Dept.)" <longpeng2@huawei.com> wrote: > >> > >> >> -----Original Message----- > >> >> From: Michael S. Tsirkin [mailto:mst@redhat.com] > >> >> Sent: Monday, December 27, 2021 4:15 PM > >> >> To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > >> >> <longpeng2@huawei.com> > >> >> Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; > >> >> virtio-comment@lists.oasis-open.org > >> >> Subject: Re: [PATCH] content: reserve virtio device ID for QingTian Box devices > >> >> > >> >> On Thu, Dec 23, 2021 at 02:49:25PM +0000, Longpeng (Mike, Cloud Infrastructure > >> >> Service Product Dept.) wrote: > >> >> > Hi Michael, > >> >> > > >> >> > Is there anything else I need to do to reserve the device id? > >> >> > >> >> OK, I see the issue was created. I think it makes sense to wait > >> >> until Jan 3 with the vote since lots of people are on > >> >> vacation. > >> >> > >> > > >> > Ok, thanks. > >> > > >> >> Meanwhile - are there plans to add this device to the spec eventually? > >> >> Can you share a bit more of what it does? > >> >> > >> > > >> > We want to carve out some resources (e.g. vcpu, mem, pci_dev) from the user's > >> > VM and then use these resources to start a sandbox for the user. The usage > >> > quite likes the software enclave which Nitro already supported, but we have > >> > much wider usage, for example, running unikernel + app (e.g. OSV + Redis) in > >> > the sandbox, it would provide much better performance than the traditional > >> > os. > >> > >> Sounds interesting. One question: Should this virtio device only support > >> a specific hypervisor, or could it support various hypervisors in > >> theory? (Via different commands or parameters.) In case of the latter, > >> it might be better to reserve an ID for a "sandbox device" or so. If the > >> design is too closely tied to your hypervisor, I'd be fine with > >> reserving the ID as proposed. > > > > We want to name the device as "virtio sandbox" originally, but consider that it > > would be much convenient to add new features (maybe tied to our hypervisor) in > > the future if we introduce a private device, so we decide to use "QingTian Box" > > at last. > > > > However, the sandbox function is not bound to a specific hypervisor, so it's free > > for the other guys to add something like "virtio sandbox". > > Yes, I guess this is a tradeoff between "device for a closely defined > environment that can be specified/changed easily" and "generic device > covering different environments that gets very complex". I do not have a > very good grasp of the problem space; if it is hard to make generic, I > have no objection to the specific device id. > > Anyone else have a comment? If not, we can go ahead and start a vote. I'd like to know whether there are plans to add the device to the spec? Driver to linux? -- MST This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for QingTian Box devices 2022-01-03 11:55 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 2022-01-03 12:50 ` Cornelia Huck @ 2022-01-03 17:14 ` Michael S. Tsirkin 2022-01-04 4:49 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 1 sibling, 1 reply; 12+ messages in thread From: Michael S. Tsirkin @ 2022-01-03 17:14 UTC (permalink / raw) To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) Cc: Cornelia Huck, Gonglei (Arei), virtio-comment On Mon, Jan 03, 2022 at 11:55:09AM +0000, Longpeng (Mike, Cloud Infrastructure Service Product Dept.) wrote: > > > > -----Original Message----- > > From: Cornelia Huck [mailto:cohuck@redhat.com] > > Sent: Monday, January 3, 2022 7:30 PM > > To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > > <longpeng2@huawei.com>; Michael S. Tsirkin <mst@redhat.com> > > Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; > > virtio-comment@lists.oasis-open.org > > Subject: Re: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for > > QingTian Box devices > > > > On Mon, Dec 27 2021, "Longpeng (Mike, Cloud Infrastructure Service Product > > Dept.)" <longpeng2@huawei.com> wrote: > > > > >> -----Original Message----- > > >> From: Michael S. Tsirkin [mailto:mst@redhat.com] > > >> Sent: Monday, December 27, 2021 4:15 PM > > >> To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > > >> <longpeng2@huawei.com> > > >> Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; > > >> virtio-comment@lists.oasis-open.org > > >> Subject: Re: [PATCH] content: reserve virtio device ID for QingTian Box devices > > >> > > >> On Thu, Dec 23, 2021 at 02:49:25PM +0000, Longpeng (Mike, Cloud Infrastructure > > >> Service Product Dept.) wrote: > > >> > Hi Michael, > > >> > > > >> > Is there anything else I need to do to reserve the device id? > > >> > > >> OK, I see the issue was created. I think it makes sense to wait > > >> until Jan 3 with the vote since lots of people are on > > >> vacation. > > >> > > > > > > Ok, thanks. > > > > > >> Meanwhile - are there plans to add this device to the spec eventually? > > >> Can you share a bit more of what it does? > > >> > > > > > > We want to carve out some resources (e.g. vcpu, mem, pci_dev) from the user's > > > VM and then use these resources to start a sandbox for the user. The usage > > > quite likes the software enclave which Nitro already supported, but we have > > > much wider usage, for example, running unikernel + app (e.g. OSV + Redis) in > > > the sandbox, it would provide much better performance than the traditional > > > os. > > > > Sounds interesting. One question: Should this virtio device only support > > a specific hypervisor, or could it support various hypervisors in > > theory? (Via different commands or parameters.) In case of the latter, > > it might be better to reserve an ID for a "sandbox device" or so. If the > > design is too closely tied to your hypervisor, I'd be fine with > > reserving the ID as proposed. > > We want to name the device as "virtio sandbox" originally, but consider that it > would be much convenient to add new features (maybe tied to our hypervisor) in > the future if we introduce a private device, so we decide to use "QingTian Box" > at last. > > However, the sandbox function is not bound to a specific hypervisor, so it's free > for the other guys to add something like "virtio sandbox". Hard to say of course but I'm guessing it's better to give it a generic name. Part of the appeal of virtio is it's hypervisor agnostic, hypervisor specific extensions can always be moved to a separate device. -- MST ^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for QingTian Box devices 2022-01-03 17:14 ` Michael S. Tsirkin @ 2022-01-04 4:49 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 2022-01-13 12:20 ` Cornelia Huck 0 siblings, 1 reply; 12+ messages in thread From: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) @ 2022-01-04 4:49 UTC (permalink / raw) To: Michael S. Tsirkin; +Cc: Cornelia Huck, Gonglei (Arei), virtio-comment > -----Original Message----- > From: Michael S. Tsirkin [mailto:mst@redhat.com] > Sent: Tuesday, January 4, 2022 1:15 AM > To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > <longpeng2@huawei.com> > Cc: Cornelia Huck <cohuck@redhat.com>; Gonglei (Arei) > <arei.gonglei@huawei.com>; virtio-comment@lists.oasis-open.org > Subject: Re: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for > QingTian Box devices > > On Mon, Jan 03, 2022 at 11:55:09AM +0000, Longpeng (Mike, Cloud Infrastructure > Service Product Dept.) wrote: > > > > > > > -----Original Message----- > > > From: Cornelia Huck [mailto:cohuck@redhat.com] > > > Sent: Monday, January 3, 2022 7:30 PM > > > To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > > > <longpeng2@huawei.com>; Michael S. Tsirkin <mst@redhat.com> > > > Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; > > > virtio-comment@lists.oasis-open.org > > > Subject: Re: [virtio-comment] RE: [PATCH] content: reserve virtio device > ID for > > > QingTian Box devices > > > > > > On Mon, Dec 27 2021, "Longpeng (Mike, Cloud Infrastructure Service Product > > > Dept.)" <longpeng2@huawei.com> wrote: > > > > > > >> -----Original Message----- > > > >> From: Michael S. Tsirkin [mailto:mst@redhat.com] > > > >> Sent: Monday, December 27, 2021 4:15 PM > > > >> To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > > > >> <longpeng2@huawei.com> > > > >> Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; > > > >> virtio-comment@lists.oasis-open.org > > > >> Subject: Re: [PATCH] content: reserve virtio device ID for QingTian Box > devices > > > >> > > > >> On Thu, Dec 23, 2021 at 02:49:25PM +0000, Longpeng (Mike, Cloud > Infrastructure > > > >> Service Product Dept.) wrote: > > > >> > Hi Michael, > > > >> > > > > >> > Is there anything else I need to do to reserve the device id? > > > >> > > > >> OK, I see the issue was created. I think it makes sense to wait > > > >> until Jan 3 with the vote since lots of people are on > > > >> vacation. > > > >> > > > > > > > > Ok, thanks. > > > > > > > >> Meanwhile - are there plans to add this device to the spec eventually? > > > >> Can you share a bit more of what it does? > > > >> > > > > > > > > We want to carve out some resources (e.g. vcpu, mem, pci_dev) from the > user's > > > > VM and then use these resources to start a sandbox for the user. The usage > > > > quite likes the software enclave which Nitro already supported, but we > have > > > > much wider usage, for example, running unikernel + app (e.g. OSV + Redis) > in > > > > the sandbox, it would provide much better performance than the traditional > > > > os. > > > > > > Sounds interesting. One question: Should this virtio device only support > > > a specific hypervisor, or could it support various hypervisors in > > > theory? (Via different commands or parameters.) In case of the latter, > > > it might be better to reserve an ID for a "sandbox device" or so. If the > > > design is too closely tied to your hypervisor, I'd be fine with > > > reserving the ID as proposed. > > > > We want to name the device as "virtio sandbox" originally, but consider that > it > > would be much convenient to add new features (maybe tied to our hypervisor) > in > > the future if we introduce a private device, so we decide to use "QingTian > Box" > > at last. > > > > However, the sandbox function is not bound to a specific hypervisor, so it's > free > > for the other guys to add something like "virtio sandbox". > > Hard to say of course but I'm guessing it's better to give it a generic If the device only support the sandbox function, then I think a generic name (e.g. virtio-sandbox) would be fine. But as I said above, we want to extend it as a "toolbox" in the near future, not only the sandbox. > name. Part of the appeal of virtio is it's hypervisor agnostic, > hypervisor specific extensions can always be moved to a separate device. > Yes, but we've already introduced a hypervisor specific device (NSM) now, why it's hard to reserve just one ID for other vendors? So I really hope the TC could give a chance for other vendors to do this, maybe you can limit the IDs that a vendor can reserved. Thanks. > -- > MST ^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for QingTian Box devices 2022-01-04 4:49 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.) @ 2022-01-13 12:20 ` Cornelia Huck 0 siblings, 0 replies; 12+ messages in thread From: Cornelia Huck @ 2022-01-13 12:20 UTC (permalink / raw) To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.), Michael S. Tsirkin Cc: Gonglei (Arei), virtio-comment On Tue, Jan 04 2022, "Longpeng (Mike, Cloud Infrastructure Service Product Dept.)" <longpeng2@huawei.com> wrote: >> -----Original Message----- >> From: Michael S. Tsirkin [mailto:mst@redhat.com] >> Sent: Tuesday, January 4, 2022 1:15 AM >> To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) >> <longpeng2@huawei.com> >> Cc: Cornelia Huck <cohuck@redhat.com>; Gonglei (Arei) >> <arei.gonglei@huawei.com>; virtio-comment@lists.oasis-open.org >> Subject: Re: [virtio-comment] RE: [PATCH] content: reserve virtio device ID for >> QingTian Box devices >> >> On Mon, Jan 03, 2022 at 11:55:09AM +0000, Longpeng (Mike, Cloud Infrastructure >> Service Product Dept.) wrote: >> > >> > >> > > -----Original Message----- >> > > From: Cornelia Huck [mailto:cohuck@redhat.com] >> > > Sent: Monday, January 3, 2022 7:30 PM >> > > To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) >> > > <longpeng2@huawei.com>; Michael S. Tsirkin <mst@redhat.com> >> > > Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; >> > > virtio-comment@lists.oasis-open.org >> > > Subject: Re: [virtio-comment] RE: [PATCH] content: reserve virtio device >> ID for >> > > QingTian Box devices >> > > >> > > On Mon, Dec 27 2021, "Longpeng (Mike, Cloud Infrastructure Service Product >> > > Dept.)" <longpeng2@huawei.com> wrote: >> > > >> > > >> -----Original Message----- >> > > >> From: Michael S. Tsirkin [mailto:mst@redhat.com] >> > > >> Sent: Monday, December 27, 2021 4:15 PM >> > > >> To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) >> > > >> <longpeng2@huawei.com> >> > > >> Cc: Gonglei (Arei) <arei.gonglei@huawei.com>; >> > > >> virtio-comment@lists.oasis-open.org >> > > >> Subject: Re: [PATCH] content: reserve virtio device ID for QingTian Box >> devices >> > > >> >> > > >> On Thu, Dec 23, 2021 at 02:49:25PM +0000, Longpeng (Mike, Cloud >> Infrastructure >> > > >> Service Product Dept.) wrote: >> > > >> > Hi Michael, >> > > >> > >> > > >> > Is there anything else I need to do to reserve the device id? >> > > >> >> > > >> OK, I see the issue was created. I think it makes sense to wait >> > > >> until Jan 3 with the vote since lots of people are on >> > > >> vacation. >> > > >> >> > > > >> > > > Ok, thanks. >> > > > >> > > >> Meanwhile - are there plans to add this device to the spec eventually? >> > > >> Can you share a bit more of what it does? >> > > >> >> > > > >> > > > We want to carve out some resources (e.g. vcpu, mem, pci_dev) from the >> user's >> > > > VM and then use these resources to start a sandbox for the user. The usage >> > > > quite likes the software enclave which Nitro already supported, but we >> have >> > > > much wider usage, for example, running unikernel + app (e.g. OSV + Redis) >> in >> > > > the sandbox, it would provide much better performance than the traditional >> > > > os. >> > > >> > > Sounds interesting. One question: Should this virtio device only support >> > > a specific hypervisor, or could it support various hypervisors in >> > > theory? (Via different commands or parameters.) In case of the latter, >> > > it might be better to reserve an ID for a "sandbox device" or so. If the >> > > design is too closely tied to your hypervisor, I'd be fine with >> > > reserving the ID as proposed. >> > >> > We want to name the device as "virtio sandbox" originally, but consider that >> it >> > would be much convenient to add new features (maybe tied to our hypervisor) >> in >> > the future if we introduce a private device, so we decide to use "QingTian >> Box" >> > at last. >> > >> > However, the sandbox function is not bound to a specific hypervisor, so it's >> free >> > for the other guys to add something like "virtio sandbox". >> >> Hard to say of course but I'm guessing it's better to give it a generic > > If the device only support the sandbox function, then I think a generic > name (e.g. virtio-sandbox) would be fine. But as I said above, we want to > extend it as a "toolbox" in the near future, not only the sandbox. Hm. That would be a vendor-specific toolbox device; I'm not sure whether using that instead of a more generic sandbox device would be a good idea -- I guess we'd end up with duplication for the sandbox functionality. Or does the reset of the toolbox functionality interact with the sandbox functionality? > >> name. Part of the appeal of virtio is it's hypervisor agnostic, >> hypervisor specific extensions can always be moved to a separate device. >> > > Yes, but we've already introduced a hypervisor specific device (NSM) now, > why it's hard to reserve just one ID for other vendors? So I really hope > the TC could give a chance for other vendors to do this, maybe you can > limit the IDs that a vendor can reserved. I'm less worried about introducing a hypervisor-specific id and more about introducing something that might be better served by a more generic device with hypervisor-specific subcommands. This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/ ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2022-01-13 12:21 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-12-09 14:05 [virtio-comment] [PATCH] content: reserve virtio device ID for QingTian Box devices Longpeng(Mike) 2021-12-23 14:49 ` [virtio-comment] " Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 2021-12-26 8:18 ` [virtio-comment] " Michael S. Tsirkin 2021-12-27 8:15 ` Michael S. Tsirkin 2021-12-27 9:38 ` [virtio-comment] " Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 2022-01-03 11:29 ` Cornelia Huck 2022-01-03 11:55 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 2022-01-03 12:50 ` Cornelia Huck 2022-01-03 15:48 ` Michael S. Tsirkin 2022-01-03 17:14 ` Michael S. Tsirkin 2022-01-04 4:49 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.) 2022-01-13 12:20 ` Cornelia Huck
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.