[{"data":1,"prerenderedAt":136},["ShallowReactive",2],{"project-21268467":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":38,"post_text":29,"what":40,"said":43,"maker_in_thread":71,"shape":79,"grid":84,"attempts":101,"same_week":102,"maker_shows":81,"maker_hidden":129,"reader_version":130,"card":131},"21268467","Sparkler","A KVM-Based Virtual Machine Manager","title","Show HN: Sparkler – A KVM-Based Virtual Machine Manager","https:\u002F\u002Funixism.net\u002F2019\u002F10\u002Fsparkler-kvm-based-virtual-machine-manager\u002F","unixism.net","shuss",1571217226,2019,108,8,447,2195,21,"notable","dev_tools","virtual machine manager","cli",[24,25,26,27],"kvm","virtual machine","virtualization","linux","quiet",null,{"positive":31,"neutral":32,"mixed":33,"critical":33},1,2,0,3,{"idea":36,"design":37},{"positive":31,"critical":33},{"positive":33,"critical":33},[39,33,34,34,33,33,33,33],5,{"problem":29,"audience":29,"pricing":29,"motivation":29,"time_to_build":29,"stack":41,"openness":42,"stage":42,"team_size":42},[],"unknown",{"praise":44,"objections":53,"requests":54,"questions":55,"alternatives":70},[45],{"value":46,"source":47,"evidence":48},"Fun idea of making up virtual hardware devices via KVM","commenter",[49],{"id":50,"by":51,"text":52},"21286658","mjb","Nice writeup! > The VMM emulates some interesting hardware: a device that can read the latest tweet from Command Line Magic’s Twitter handle, a device that can get the weather…",[],[],[56],{"value":57,"source":47,"evidence":58},"Why KVM's API uses ioctls on file descriptors rather than normal function calls",[59,63,67],{"id":60,"by":61,"text":62},"21286433","saagarjha","> You can program KVM using the well known UNIX file paradigm. Does anyone know why the API was designed this way? Sending a bunch of ioctls to modify the KVM state seems no…",{"id":64,"by":65,"text":66},"21286570","rwmj","What would \"normal function calls\" mean? This is happening on the Linux syscall boundary.",{"id":68,"by":61,"text":69},"21286633","Right; why isn’t there a sys_kvm syscall that you can just call from a C program?",[],{"comments":32,"answered":31,"key":72},[73,76],{"id":74,"text":75},"21287173","Weirdly no one had done it so far. That's the reason why I cooked up some high level devices :)",{"id":77,"text":78},"21287163","It it's not the file paradigm, it has to be system calls (plenty of them) set in stone, which could quickly turn into a problem or you probably mean a wrapper library?",{"commenters":80,"max_depth":81,"maker_replies":32,"first_comment_mins":82,"lifespan_hours":83},6,4,2164,38,[85,87,89,91,94,96,97,98],[50,33,39,86,51,33],"project\u002Fpositive\u002Fidea",[74,33,33,88,11,31],"maker\u002Fneutral\u002Fidea",[60,31,34,90,61,33],"project\u002Fneutral\u002Fdesign",[92,31,34,90,93,33],"21286553","wyldfire",[64,31,33,95,65,33],"commenter\u002Fneutral\u002Fdesign",[68,31,33,95,61,33],[77,31,33,95,11,31],[99,31,33,95,100,33],"21287188","q3k",[],[103,108,112,116,120,124],{"id":104,"name":105,"points":106,"category":107},"21231208","Bel",1288,"languages",{"id":109,"name":110,"points":111,"category":20},"21215484","Spider Pro",391,{"id":113,"name":114,"points":115,"category":20},"21270424","Pipedream",245,{"id":117,"name":118,"points":119,"category":107},"21234891","dial",190,{"id":121,"name":122,"points":123,"category":20},"21268324","reloading",187,{"id":125,"name":126,"points":127,"category":128},"21253850","Alt-tab-macos",156,"productivity",false,"v2",{"id":132,"name":5,"line":6,"ai":129,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":133,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":134,"url":9,"mix":135,"praise":46,"objection":-1,"sub":21},21268467,[24,25,26,27],"50330000",[31,32,33,33],1793990996642]