Ho lokolloa ha QEMU 4.0 emulator

Thehile tokollo ea morero QEMU 4.0. Joaloka emulator, QEMU e u lumella ho tsamaisa lenaneo le hlophisitsoeng bakeng sa sethala se le seng sa hardware tsamaisong e nang le meralo e fapaneng ka ho feletseng, ka mohlala, tsamaisa kopo ea ARM ho PC e lumellanang le x86. Ka mokhoa oa virtualization ho QEMU, ts'ebetso ea ts'ebetso ea khoutu sebakeng se ka thōko se haufi le tsamaiso ea matsoalloa ka lebaka la ts'ebetso e tobileng ea litaelo ho CPU le tšebeliso ea Xen hypervisor kapa KVM module.

Morero ona o ne o entsoe ke Fabrice Bellard ho lumella lisebelisoa tsa Linux tse hahiloeng bakeng sa sethala sa x86 ho sebetsa meahong e seng ea x86. Ho theosa le lilemo tsa nts'etsopele, ts'ehetso e felletseng ea emulation e ekelitsoe bakeng sa meralo ea meralo ea 14, palo ea lisebelisoa tse etsisoang tsa Hardware e feta 400. Ha ho lokisetsoa mofuta oa 4.0, ho entsoe liphetoho tse fetang 3100 ho tsoa ho baetsi ba 220.

Senotlolo ntlafatsoe kenyellelitsoe ho QEMU 4.0:

  • Ts'ehetso bakeng sa likeketso tsa litaelo tsa ARMv8+ e kenyellelitsoe ho emulator ea meralo ea ARM: SB, PredInv, HPD, LOR, FHM, AA32HPD,
    PAuth, JSConv, CondM, FRINT le BTI. Ts'ehetso e ekelitsoeng bakeng sa ho etsisa liboto tsa Musca le MPS2. Ketsiso e ntlafalitsoeng ea ARM PMU (Yuniti ea Tsamaiso ea Matla). Ho ea sethaleng bokhabane e ekelitse bokhoni ba ho sebelisa ho feta 255 GB ea RAM le tšehetso bakeng sa litšoantšo tsa u-boot ka mofuta oa "noload";

  • Ka x86 meaho emulator ka enjene e potlakisang ea virtualization HAXE (Intel Hardware Accelerated Execution) e ekelitse tšehetso bakeng sa mabotho a lumellanang le POSIX a kang Linux le NetBSD (pele e ne e le sethala sa Darwin feela se neng se tšehetsoa). Ho Q35 chipset emulator (ICH9) bakeng sa likou tse kholo tsa PCIe, lebelo le phahameng (16GT/s) le palo ea likhokahano (x32) e hlalositsoeng ho PCIe 4.0 e se e ka phatlalatsoa ka boikhethelo (ho netefatsa hore e tsamaellana, 2.5GT e. e kentsoe ka ho sa feleng bakeng sa mefuta ea khale ea mochini oa QEMU /s le x1). Hoa khoneha ho kenya litšoantšo tsa Xen PVH ka khetho ea "-kernel";
  • Emulator ea meralo ea MIPS e ekelitse ts'ehetso bakeng sa emulation ea likhoele tse ngata e sebelisa jenereithara ea khoutu ea TCG (Tiny Code Generator). E boetse e ekelitsoe tšehetso bakeng sa mohlala oa CPU I7200 (nanoMIPS32 ISA) le I6500 (MIPS64R6 ISA), bokhoni ba ho sebetsana le likopo tsa mofuta oa CPU ka QMP (QEMU Management Protocol), tšehetso e ekelitsoeng bakeng sa lirekoto tsa tlhophiso tsa SAARI le SAAR. Ts'ebetso e ntlafalitsoeng ea mechini e fumanehang ka mofuta oa Fulong 2E. Phethahatso e nchafalitsoeng ea Yuniti ea Lipuisano tsa Interthread;
  • Ho emulator ea meralo ea PowerPC, ts'ehetso ea ho etsisa molaoli oa tšitiso ea XIVE e kentsoe, tšehetso ea POWER9 e ekelitsoe, 'me bakeng sa letoto la P, bokhoni ba ho hot plug PCI host bridges (PHB, PCI host bridge) bo kentsoe. Tšireletso khahlanong le litlhaselo tsa Specter le Meltdown e lumelloa ka ho sa feleng;
  • Tšehetso ea PCI le USB emulation e kenyelelitsoe ho emulator ea meralo ea RISC-V. Seva ea ho lokisa liphoso e hahelletsoeng ka hare (gdbserver) joale e ts'ehetsa manane a ngolisoang ka kotloloho lifaeleng tsa XML. Tšehetso e ekelitsoeng bakeng sa masimo a mstatus TSR, TW le TVM;
  • Emulator ea s390 ea meralo e ekelitse ts'ehetso bakeng sa mohlala oa z14 GA 2 CPU, hammoho le ts'ehetso ea ho etsisa likeketso tsa litaelo bakeng sa lits'ebetso tse phaphametseng le li-vector. Bokhoni ba lisebelisoa tsa hot-plug bo kentsoe ho vfio-ap;
  • Emulator ea processor ea lelapa ea Tensilica Xtensa e ntlafalitse tšehetso ea SMP bakeng sa Linux mme e ekelitse tšehetso bakeng sa FLIX (katoloso ea litaelo tsa bolelele bo feto-fetohang);
  • Khetho ea '-display spice-app' e kentsoe sebopehong sa graphical ho lokisa le ho qala mofuta o fapaneng oa sesebelisoa sa phihlello sa Spice se nang le moralo o ts'oanang le sebopeho sa QEMU GTK;
  • Ts'ehetso e ekelitsoeng bakeng sa taolo ea phihlello ho sebelisa likhetho tsa tls-authz/sasl-authz ts'ebetsong ea seva sa VNC;
  • QMP (QEMU Management Protocol) e ekelitse ts'ehetso bakeng sa ts'ebetso ea taelo ea bohareng / kantle (Kantle ho sehlopha) le ho kenya tšebetsong litaelo tse eketsehileng bakeng sa ho sebetsa le lisebelisoa tsa block;
  • Ts'ebetsong ea sebopeho sa EDID e kenyelelitsoe ho VFIO bakeng sa li-mdev tse tšehetsoeng (Intel vGPUs), e leng se u lumellang hore u fetole qeto ea skrine u sebelisa likhetho tsa xres le yres;
  • Ho kentsoe sesebelisoa se secha sa 'xen-disk' bakeng sa Xen, se ka iketsetsang disk backend bakeng sa Xen PV (ntle le ho fihlella xenstore). Ts'ebetso ea Xen PV disk backend e eketsehile mme bokhoni ba ho fetola boholo ba disk bo ekelitsoe;
  • Litlhahlobo le bokhoni ba ho lekola li atolositsoe ho lisebelisoa tsa li-network block, 'me tšebelisano ea bareki le mathata a ts'ebetsong ea seva ea NBD e ntlafalitsoe. E kentsoe "--bitmap", "--list" le "--tls-authz" likhetho ho qemu-nbd;
  • Tšehetso e ekelitsoeng bakeng sa mokhoa oa PCI IDE ho IDE e etsisitsoeng / ka sesebelisoa;
  • Tšehetso e ekelitsoeng ea ho sebelisa algorithm ea lzfse ho hatella litšoantšo tsa dmg. Bakeng sa sebopeho sa qcow2, tšehetso ea ho hokahanya lifaele tsa data tsa kantle e kentsoe. qcow2 unpacking operations ba isoa khoele e ka thoko. Ts'ehetso e ekelitsoeng bakeng sa ts'ebetso ea "blockdev-create" litšoantšong tsa vmdk;
  • Sesebelisoa sa "virtio-blk block" se ekelitse ts'ehetso bakeng sa DISCARD (tsebiso mabapi le ho lokolloa ha li-blocks) le ts'ebetso ea WRITE_ZEROES (zeroing a range of logical blocks) ts'ebetso;
  • Sesebelisoa sa pvrdma se tšehetsa litšebeletso tsa RDMA Management Datagram (MAD);
  • E rometsoe fetola, ho tlola tumellano ya morao. Mohlala, sebakeng sa khetho ea "handle" ho "-fsdev" le "-virtfs", o lokela ho sebelisa likhetho tsa "local" kapa "proxy". Likhetho tsa "-virtioconsole" (tse nketsoeng sebaka ke "-device virtconsole"), "-no-frame", "-clock", "-enable-hax" (tse nkeloang sebaka ke "-accel hax") li ile tsa tlosoa. Sesebelisoa se tlositsoeng "ivshmem" (se lokela ho sebelisa "ivshmem-doorbell" le "ivshmem-plain"). Tšehetso ea ho haha ​​ka SDL1.2 e khaotsoe (o hloka ho sebelisa SDL2).

Source: opennet.ru

Eketsa ka tlhaloso