This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 373
virtcontainers: Append max ports to virtio-serial device #2676
Comments
justin-he
added a commit
to justin-he/runtime
that referenced
this issue
May 11, 2020
Update github.com/intel/govmm. shortlog: 29529a5 Add rt clock definition for rtc clock in qemu 0e98b61 qemu: Add max_ports option to virtio-serial device Fixes: kata-containers#2676 Signed-off-by: Jia He <[email protected]>
justin-he
added a commit
to justin-he/runtime
that referenced
this issue
May 11, 2020
Govmm has provided a "max_ports" parameter to allow API consumers to change the maximum number of ports in the virtio-serial devices, setting a lower number of ports can improve the boot time and reduce the attack surface. Before this patch on arm64: [ 0.028664] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.055031] printk: console [hvc0] enabled After this patch on arm64: [ 0.028484] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.031370] printk: console [hvc0] enabled Fixes: kata-containers#2676 Signed-off-by: Jia He <[email protected]>
justin-he
added a commit
to justin-he/runtime
that referenced
this issue
May 11, 2020
Govmm has provided a "max_ports" parameter to allow API consumers to change the maximum number of ports in the virtio-serial devices, setting a lower number of ports can improve the boot time and reduce the attack surface. Qemu enables ioeventfd by default for virtio-serial-pci, if max_ports is 31 by default, virtio-serial-bus will add 2+2+30*2=64 virtqueues. It will cost a lot of time overhead during boot time. Before this patch on arm64: [ 0.028664] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.055031] printk: console [hvc0] enabled After this patch on arm64: [ 0.028484] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.031370] printk: console [hvc0] enabled Fixes: kata-containers#2676 Signed-off-by: Jia He <[email protected]>
justin-he
added a commit
to justin-he/runtime
that referenced
this issue
May 30, 2020
Allow API consumers to change the maximum number of ports in the virtio-serial devices, setting a lower number of ports can improve the boot time and reduce the attack surface. Before this patch on arm64: [ 0.028664] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.055031] printk: console [hvc0] enabled After this patch on arm64: [ 0.028484] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.031370] printk: console [hvc0] enabled Fixes: kata-containers#2676 Signed-off-by: Jia He <[email protected]>
justin-he
added a commit
to justin-he/runtime
that referenced
this issue
Oct 14, 2020
Allow API consumers to change the maximum number of ports in the virtio-serial devices, setting a lower number of ports can improve the boot time and reduce the attack surface. Before this patch on arm64: [ 0.028664] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.055031] printk: console [hvc0] enabled After this patch on arm64: [ 0.028484] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.031370] printk: console [hvc0] enabled Fixes: kata-containers#2676 Signed-off-by: Jia He <[email protected]>
justin-he
added a commit
to justin-he/runtime
that referenced
this issue
Oct 14, 2020
Allow API consumers to change the maximum number of ports in the virtio-serial devices, setting a lower number of ports can improve the boot time and reduce the attack surface. Before this patch on arm64: [ 0.028664] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.055031] printk: console [hvc0] enabled After this patch on arm64: [ 0.028484] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.031370] printk: console [hvc0] enabled Fixes: kata-containers#2676 Signed-off-by: Jia He <[email protected]>
justin-he
added a commit
to justin-he/runtime
that referenced
this issue
Oct 16, 2020
Allow API consumers to change the maximum number of ports in the virtio-serial devices, setting a lower number of ports can improve the boot time and reduce the attack surface. Before this patch on arm64: [ 0.028664] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.055031] printk: console [hvc0] enabled After this patch on arm64: [ 0.028484] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.031370] printk: console [hvc0] enabled Fixes: kata-containers#2676 Signed-off-by: Jia He <[email protected]>
Open PR #2677 not correctly linked here. |
justin-he
added a commit
to justin-he/runtime
that referenced
this issue
Dec 2, 2020
Allow API consumers to change the maximum number of ports in the virtio-serial devices, setting a lower number of ports can improve the boot time and reduce the attack surface. Before this patch on arm64: [ 0.028664] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.055031] printk: console [hvc0] enabled After this patch on arm64: [ 0.028484] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.031370] printk: console [hvc0] enabled Fixes: kata-containers#2676 Signed-off-by: Jia He <[email protected]>
Linking to kata-containers/kata-containers#249 (2.0 placeholder, apparently) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Which feature do you think can be improved?
virtcontainers: Append max ports to virtio-serial device
How can it be improved?
Govmm has provided a "max_ports" parameter to allow API consumers to change the maximum number of ports in the virtio-serial devices, setting a lower number of ports can improve the
boot time and reduce the attack surface.
Additional Information
No
Before raising this feature request
Have you looked at the limitations document?
Yes
The text was updated successfully, but these errors were encountered: