File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -786,13 +786,32 @@ impl Node {
786786 ) -> Result < ( ) , Error > {
787787 self . try_ensure_base_image ( log) . await ?;
788788
789+ // Propolis supports COM1 to COM4, so ensure those devices are present.
790+ // Note COM4 will be added implicitly due to the presence of a
791+ // SoftNpuPciPort device in the spec, and it will be commandeered by
792+ // SoftNPU devices.
793+
789794 self . components . insert (
790795 SpecKey :: Name ( "com1" . into ( ) ) ,
791796 ComponentV0 :: SerialPort ( SerialPort {
792797 num : SerialPortNumber :: Com1 ,
793798 } ) ,
794799 ) ;
795800
801+ self . components . insert (
802+ SpecKey :: Name ( "com2" . into ( ) ) ,
803+ ComponentV0 :: SerialPort ( SerialPort {
804+ num : SerialPortNumber :: Com2 ,
805+ } ) ,
806+ ) ;
807+
808+ self . components . insert (
809+ SpecKey :: Name ( "com3" . into ( ) ) ,
810+ ComponentV0 :: SerialPort ( SerialPort {
811+ num : SerialPortNumber :: Com3 ,
812+ } ) ,
813+ ) ;
814+
796815 let backing = match self . primary_disk_backing {
797816 PrimaryDiskBacking :: Zvol => {
798817 self . create_zvol_backing ( deployment_name) ?
You can’t perform that action at this time.
0 commit comments