Skip to content

Pre-release of the v2 hcsshim package and runhcs.exe

Pre-release
Pre-release
Compare
Choose a tag to compare
@jterry75 jterry75 released this 24 Jan 21:36
79a8f77

New Features

  • runhcs
    • Adds support for OCI mount.Type "physical-disk" and "virtual-disk" for WCOW and LCOW.
      m := &oci.Mount{
          Type: "physical-disk",
          Source: "\\\\.\\PHYSICALDRIVE1",
          Destination: "C:\\test" // LCOW '/mnt/test'
      m := &oci.Mount{
          Type: "virtual-disk",
          Source: "C:\\test.vhdx", // OR 'C:\\test.vhd'
          Destination: "C:\\test" // LCOW '/mnt/test'
    • Stop loading ole32 to improve process activation
    • Set TerminateOnLastHandleClosed for all UVM activation's to guarantee resource cleanup on runhcs.exe exit.
    • Set StopOnReset for all UVM activation's so that the guest VM does not try to restart on reset.
    • Change default LCOW activation's to use rootfs.vhd when present over initrd.img by default.
    • On builds >= 18286 add support to LCOW for booting directly from the kernel (compressed or uncompressed)
    • Adds LCOW HNS network namespace support.
    • Adds support for logging all logrus messages to ETW for all runhcs.exe invocations.
    • Various performance and logging improvements for diagnostics.
  • uvmboot
    • Introduces the uvmboot.exe tool for creating/starting/measuring performance of various LCOW configurations. This does not activate any containers but can be useful for creating/testing different LCOW options with various HCS/kernel features.

Bug Fixes

  • runhcs
    • Properly set all Plan9 shares ReadOnly when OCI opts ro is set.
    • Properly convert from Docker TERM, KILL, 15, 9 signals for Windows container Kill requests using Unix semantics.