home.social

#vtl — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #vtl, aggregated by home.social.

fetched live
  1. Writing a VTL Linux Kernel Module for fun [?]

    Anyways, realized my SysFS approach was misguided, and migrating to ConfigFS for creating/destroying kernel objects like SCSI Hosts.

    Man oh man is there a lot of boiler plate to get ConfigFS up and running, but I think that I've sticklebricked it together correctly at last.

    You can create SCSI hosts by making dirs in
    /config/cvtl/hosts which have the id and enabled attributes (the full SCSI Host object to come soon). If you write a '1' to your host's enabled file it will register it with the SCSI Midlayer, which you can see near the end as it creates SysFS objects in /sys/class/scsi_host/hostX

    So when you want to make a virtual tape library you can just make some directories, and
    echo the values you want to their underlying files and then enable the host with the targets and LUNs you want. Seems like a very friendly interface.

    #linux #kernel #linuxkernel #nix #nixos #rust #c #clang #vtl #tapelibrary

  2. Гайд по File Templates: как шарить шаблоны с однотипным кодом

    Всем привет! На связи Дима Котиков, ведущий Android-разработчик в Т-Банке. Я все еще люблю разбираться в технологиях, разрабатывать под Android и KMP и пить латте на фундучном молоке :) Расскажу, как можно шарить File Templates для своей команды, чтобы облегчить жизнь другим и сэкономить немного времени. Причем коллегам ничего самостоятельно не придется настраивать: подтянутый из git-а репозиторий с кодом все сделает сам. Эта статья — бонус к трем предыдущим, в которых я рассказывал, как уменьшить написание boilerplate-кода. Ссылки на них оставлю в конце статьи.

    habr.com/ru/companies/tbank/ar

    #tools #intellij_idea #vtl #file_templates #apache_velocity #idea

  3. Экспорт и импорт File Templates в IDE от Intellij

    Всем привет! На связи Дима Котиков, и это заключительная статья цикла про File Templates. В предыдущих частях мы познакомились с инструментом File Templates, разобрали синтаксис написания шаблонов и написали шаблоны для кода типового экрана SomeFeature мобильного приложения . В заключительной части разберем, как можно экспортировать и импортировать File Templates в Intellij-IDE, а также подведем общие итоги по циклу статей.

    habr.com/ru/companies/tbank/ar

    #tools #intellij_idea #vtl #file_templates #apache_velocity

  4. Примеры использования File Templates для типовых сценариев, где требуется шаблонный код

    Всем привет! На связи Дима Котиков, и это вторая статья из цикла про File Templates. В предыдущей части мы описали проблему с необходимостью написания шаблонного кода и вариантами решения, познакомились с инструментом шаблонов File Templates и разобрали синтаксис написания шаблонов. В этой статье перейдем к практике — напишем шаблоны для кода типового экрана SomeFeature мобильного приложения.

    habr.com/ru/companies/tbank/ar

    #tools #intellij_idea #vtl #file_templates #apache_velocity

  5. A virtual journey: From hardware virtualization to Hyper-V's Virtual Trust Levels

    blog.quarkslab.com/a-virtual-j

    > This blog post aims to explain how Hyper-V enhances the operating system security through creating new levels of trust orthogonal to rings, named the Virtual Trust Levels (VTLs), and how these are represented at the lowest levels.

    > We will first discuss the hardware virtualization extensions with a focus on Intel Virtualization Technology, dubbed Intel VT-x, then we will see how Hyper-V leverages the hardware virtualization to strengthen the operating system security. The approach, based on reverse engineering and debugging Hyper-V, led to the discovery of Hyper-V’s inner structures and how they are used to achieve the goal of memory segregation between different VTLs within the same virtual machine.

    #hyperv #vtl #vbs