From 510435225acd8591012599564ea5faf3d41e273b Mon Sep 17 00:00:00 2001 From: Stian Viskjer Date: Sat, 4 Jul 2020 01:10:41 +0200 Subject: [PATCH] Add VirtIO SCSI support --- endpoints/lib/vboxconnector.php | 3 +- images/vbox/virtio_scsi_add_16px.png | Bin 0 -> 6543 bytes images/vbox/virtio_scsi_add_disabled_16px.png | Bin 0 -> 6484 bytes images/vbox/virtio_scsi_collapse_16px.png | Bin 0 -> 6499 bytes images/vbox/virtio_scsi_expand_16px.png | Bin 0 -> 6518 bytes js/phpvirtualbox.js | 26 ++++++++++++++++-- 6 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 images/vbox/virtio_scsi_add_16px.png create mode 100644 images/vbox/virtio_scsi_add_disabled_16px.png create mode 100644 images/vbox/virtio_scsi_collapse_16px.png create mode 100644 images/vbox/virtio_scsi_expand_16px.png diff --git a/endpoints/lib/vboxconnector.php b/endpoints/lib/vboxconnector.php index 96e532d..d02290d 100644 --- a/endpoints/lib/vboxconnector.php +++ b/endpoints/lib/vboxconnector.php @@ -5719,7 +5719,8 @@ class vboxconnector { 'buslogic' => 'buslogic', 'lsilogicsas' => 'lsilogicsas', 'usb' => 'usb', - 'nvme' => 'nvme' + 'nvme' => 'nvme', + 'virtioscsi' => 'virtioscsi' ); if(!isset($cTypes[strtolower($cType)])) { diff --git a/images/vbox/virtio_scsi_add_16px.png b/images/vbox/virtio_scsi_add_16px.png new file mode 100644 index 0000000000000000000000000000000000000000..044e980677d1efd98254e338eafbe4a36f66f46b GIT binary patch literal 6543 zcmb_h33L?Y9p6$9q=KT1f;o! z6>F8%qAYl-k92unHWrO`cX!uyQ+1Bp8O4GiL=hP!Ndgc=t~cXpJwzsVPKkqT=5*K2 zdbX1Z`y92TllST)plQK`bT*MFGtT6SjsllOd$ep6*P&=S?b{WgbDlB>h>L0riq5t7 zX3c1;nRD{4ZYp!kjCaled8;{K#W2VLUM8N}kZ383_C3&Pr?Y_%ASh)G4ZV!X=G|1V zZ|G4oWu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AG#uS%Br7tB1h%TB;OSv; z6W}~$8ES}NaVjN~JWVmx%bCYeXeu{UTJj(g5}3s@n7~6K#T7|WMVeGqQKHq7-=Lqc zoWQ9=WUt7}2A&T4j>lUJF#SB1;hk(GQ};mu{v zb9)=AnR5ile-Tu;Mz`g&*_3U%Md2_O296jMFt8YS&pA5LziG25@89kxUh_Z+CM?@A<#q@z!srytn7%ZMz;Z?^f5yBu^OipQ&Vwr^?0&g%;akluC-+$= z-r0D6J8`IU<>R02o4b)eYuTG?)?CgcRzC31i2l~YTMr$MJn-#{KOJ-a*r$(+kBqOb zd8BsL3-kw1UvWWyf4{6ue0(GK(#`9d?n^yNqW0JS^r+T%Tfbg==%z=`y{7*2(eJGJ z>u`p5HS0qAkheTlb!J+@Z6>-2R&S`3wJ+ zUbi+g>#d8Qz3iU(AH;4OdFhVb-s7jg>u%Wf$K=D$wH&-Ke5fz^@M3N3v|FxUy~JK+ zy*uKy7xB}5pPsyGeVR#7Fe9ioH_N@SGIoOs-nU@>wd+@EB+F zi3>MPUU>Pb=U%#hQ)px4H@E&ZzVekB7YTPazWB+gQJ22GDI}fQu|!=R{p{XNf4<`V zRTHA$*|~de+k(A9|N6eYuf2E2wKdc3*z>{5D;nK99^A9#zK&^$2`72ciJwiMxT8~| zzcgn5{hqZK{4Bp{%Vj@5U_O@KbMMu2;Pd?4+8=-PD(+o1&zO+kdBZx9dTe#{;O1SY zJUV&Nq@Mlbp1kn9FZ*VEuZMbBYyJ1;5f`3t)8_D%S6m%$dS+++?8F1ld~rhUzVUNr UPT$kv|I4I7X_6m`UwQ3+0JA$Sg8%>k literal 0 HcmV?d00001 diff --git a/images/vbox/virtio_scsi_add_disabled_16px.png b/images/vbox/virtio_scsi_add_disabled_16px.png new file mode 100644 index 0000000000000000000000000000000000000000..6f1fa6cda96f407e93f98ac248d655ea0090eb8c GIT binary patch literal 6484 zcmc&(36K=k8D3Gdppe3tM9Om*E#>N+_g>#quF&VQz%J{u21G%7x_f3DW~PUp9(E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Kdc;xWmqN?JNZ-2gjzmq+DG`sbjd3#r{Ui~|C#~Hjl{NTZZ zw@o>-d*b%(+t0fH{`+5Fuw~od7jIvC)jbDV_8z#sudi>#?suo1I_##E*S-4KsE);+ z^X#1$3?G)A^4iQ5TeohVeCcc7yWxhT>vkO-mY6>2jECaP2f_b6TD5ldQTf`X{{g1U B60raP literal 0 HcmV?d00001 diff --git a/images/vbox/virtio_scsi_collapse_16px.png b/images/vbox/virtio_scsi_collapse_16px.png new file mode 100644 index 0000000000000000000000000000000000000000..10a746f62a212a8ecc3305b372a3bdd0971a8c23 GIT binary patch literal 6499 zcmb_h3vd+W9Y16Qd|;srdJ`;=DR#R*d z*NmDA3hA`xEO$xU@{8Ne@dEe-!^4`=c2bFlHYZrXm z$wvc@M%pR*O)=24Y(lQk++1Uv_bQG8m&Ln{LL4`ucrF*%6{0;~TL#1xH3md`?L7q& zZzY~nbWNfyBYA&nA9*Y3vtkJ30Iw0xPBpjGLa;r zhSuHZXNaB|8shm@ydNM=BP3FYrf8`~U&t1Z5m@v{uoRMKtxP=dRS?vwmcE@iPDFy8 zW1ytlJ`Ob4sX-y15~^bs1AnK~YK2&iXUHmdbm+kvB=e4OSX$;KUP-VNEejF_yqkmc=quTC{kI7t@qT`)gG!0ux%`8CK^xTI3~7z&NQSd6Cv-N#M&r2Q6r{fQOiu|z{-GN z+c~3y#0&Y3a5WI{wbef7DNfdLn;nZZ#h6&MZ#|_bEv}QXv#=2ejHZir)~D=z)N7rc z4BeSfTw?e{g%79!4TwSlg}HW&5-ds}=0e0K5LgO+E<+u+-Ep!Neu3WQy=G{4mf;&! zMl_-jLov9W1}R`cif)Jq-i5pR=#EJXxQfy zhFMnMGnNr6R#`MVjeJKC8)zYAm_0yw8X1$}#B`csEe=s4$Fh_tVvb^X4p~StS%!z| zD${#T#xEHzkvqWo)xjA?E9lKpMTuTeDYR)-l2RuL!iF%kKY?OUJIy4JlwgHQ*2Vvi zrV!eckSRc?LbOR`L{_9EBoK-h*0*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 zV*7$WFW>zB*<)`^o$}o;&RQ7%lexEd>^W!7{NTfl7i``<@~Zz#Tl3+4H@woma@MHq z_DjaT_0{@4Ion%t@Gtw8yEnzY{9EsL&iH3(&-{qdT|&zwN-!pmkkJn#hGM&Xgb{^_| zegD2mSJ*pey8BnY`raGo^hU3E?87ZP&KlMD#-_{f>U`ww?0J`rpItg>>to5sZru4| z!?;D$-tFAhaPHeJ<4^8=ZtnwIKf0%N%O94l8+K{qqkPkPLz?~e#>3NJ$et~aDLnC$ zi8sIa?w$8H?JFj`x(+mNyk*9ex!+f|3b(HFcTx8qW}m#)%ukf2Xtxn-$$9H{-?ebT zf+?qucxmeDQJda8@KnRk{{BdB@#LRcKYw=q>RHjuwP)9ppFH~c(GL>chuQW!BBSQd z8@_1ixv#hEd}{Q4mp0tC>faLo@}$F)R~5&elZvgKJNo+P-^a6t-#Tl=?ISmx^epv{ zM=xtzyYKu4&OSG1WW0RmE_(m=OMkm)!Gg)B-|+m@XHS3l_g%fYC&r4Ai94G24xjz` d(h*;b{88`l9d9w@mEhkXDeYqQq2v`S{|o7-2tNP- literal 0 HcmV?d00001 diff --git a/images/vbox/virtio_scsi_expand_16px.png b/images/vbox/virtio_scsi_expand_16px.png new file mode 100644 index 0000000000000000000000000000000000000000..d53ae9ee967bba230768977851aede3536680f37 GIT binary patch literal 6518 zcmcgx36K=k8D3Ek3O6&#{9pvs)w;s%EF> zz3;z|_rGRk>)e^6Pnd8*Lqo&p+lhciE%a5e2PAA(O{p6`_(THO< zM=xPpP)km>x|~_dJgaTl+;(GGw;`I*3uZ*7_r!rg#`5(@PbQts$9tNiA>TMW2g|W& zB!u|g%~2^37+KWP8j)Skim*)_Wne-_c(Dm{NTkWs2#qiwLwpP~6vA=D#ThYD{uc#l zo@vMDD_U6={A!MN`F<`QixrE-rXthidYv&Wiee1WF`A|TLFIe1zTQJ+^JiB$C|2I^ zoSg5t*+{@qPq_uZISQJVOvvO~TB?k*`Ld(HWw9PT7sE{`mdONmh3LG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