{"push_id":1111708872,"size":32,"distinct_size":24,"ref":"refs/heads/sparse_streams1","head":"7ba588b7312d7374de26a340dd5924b74feb94d6","before":"811388fee85099c127c178d9f538e5dd9c3b33b5","commits":[{"sha":"57c484dbacccf87034d435104aafef4fe73b573c","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"virpcimock: Adapt to virmock.h\n\nInstead of introducing our own wrapper for dlsym()\nwe can use the one provided by virmock.h.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/57c484dbacccf87034d435104aafef4fe73b573c"},{"sha":"d16b7a8853da94961d1bfb7dcf6164f7396c0811","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"vircgroupmock: Adapt to virmock.h\n\nInstead of introducing our own wrapper for dlsym()\nwe can use the one provided by virmock.h.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/d16b7a8853da94961d1bfb7dcf6164f7396c0811"},{"sha":"ca88c0e7b2b45ef6dce4b3e33cf0f1e388b29725","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"nssmock: Adapt to virmock.h\n\nInstead of introducing our own wrapper for dlsym()\nwe can use the one provided by virmock.h.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/ca88c0e7b2b45ef6dce4b3e33cf0f1e388b29725"},{"sha":"a1ffedc682de6a37fac19a2c9ae108acdab8deb0","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"securityselinuxhelper: Adapt to virmock.h\n\nInstead of introducing our own wrapper for dlsym()\nwe can use the one provided by virmock.h.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/a1ffedc682de6a37fac19a2c9ae108acdab8deb0"},{"sha":"86d1705a8ace349b078616569418e6b7e2eca1aa","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"virmock.h: Introduce VIR_MOCK_CALL_STAT\n\nThere is some magic going on when it comes to stat() or lstat().\nBasically, stat() can either be a regular function, an inline\nfunction that calls __xstat(_STAT_VER, ...) or a macro that does\nthe same as the inline func. Don't ask why is that, just read the\ndocumentation in sys/stat.h and make sure you have a bucket next\nto you. Anyway, currently there will not be both stat and __xstat\nsymbols at the same time, as one of them gets overwritten to the\nother one during compilation. But this is not true anymore once\nwe start chaining our mocking libraries. Therefore we need a\nwrapper that calls desired function from glibc.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/86d1705a8ace349b078616569418e6b7e2eca1aa"},{"sha":"47d2dc831ac94cc2eb9518b887e513233b063777","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"tests: Introduce global mock library\n\nThe intent is that this library is going to be called every time\nto check if we are not touching anything outside srcdir or\nbuilddir.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/47d2dc831ac94cc2eb9518b887e513233b063777"},{"sha":"6326865e6b9ac21e1569d51d414cb29913999442","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"virtestmock: Print invalid file accesses into a file\n\nAll the accesses to files outside our build or source directories\nare now identified and appended into a file for later processing.\nThe location of the file that contains all the records can be\ncontrolled via VIR_TEST_FILE_ACCESS env variable and defaults to\nabs_builddir \"/test_file_access.txt\".\n\nThe script that will process the access file is to be added in\nnext commit.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/6326865e6b9ac21e1569d51d414cb29913999442"},{"sha":"4b3a46ca6a8e836b75801bd27198c28cfe33f698","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"tests: Introduce check-file-access.pl\n\nThis script will check output generated by virtestmock against a\nwhite list. All non matching records found are printed out. So\nfar, the white list is rather sparse at the moment.\nThis test should be ran only after all other tests finished, and\nshould cleanup the temporary file before their execution. Because\nI'm unable to reflect these requirements in Makefile.am\ncorrectly, I've introduced new target 'check-access' under which\nthis test is available.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":false,"url":"https://api.github.com/repos/zippy2/libvirt/commits/4b3a46ca6a8e836b75801bd27198c28cfe33f698"},{"sha":"02c804c1c98cda42f3aad15c4ffb116b07742188","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"Introduce virStreamSkip\n\nThis API can be used to tell the other side of the stream to skip\nsome bytes in the stream. This can be used to create a sparse\nfile on the receiving side of a stream.\n\nIt takes just one argument @length, which says how big the hole\nis. Since our streams are not rewindable like regular files, we\ndon't need @whence argument like seek(2) has.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/02c804c1c98cda42f3aad15c4ffb116b07742188"},{"sha":"47d5641a6614a1d67230361ffdcd73701297f792","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"Introduce virStreamRegisterSkip and virStreamSkipCallback\n\nThe former is a public API and registers a callback that\nwill be called whenever the other side of a stream calls\nvirStreamSkip. The latter is a wrapper that actually calls\nthe callback. It is not made public as it is intended to be\nused purely internally.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/47d5641a6614a1d67230361ffdcd73701297f792"},{"sha":"df22770b0fbd4e8af208c8c9296846f30dd45425","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"Introduce virStreamInData and virStreamRegisterInData\n\nThese functions will be called to determine whether underlying\nfile that stream is transferring is currently in a data or hole.\n\nWhile virStreamRegisterInData is exposed, virStreamInData does\nnot need to be made a public API as it will be called just\ninternally.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/df22770b0fbd4e8af208c8c9296846f30dd45425"},{"sha":"ffce575bdc224a55937a18b1c01368890c16ea4c","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"virNetClientStreamNew: Track origin stream\n\nThis has no real added value right now,\nbut is going to be very helpful later.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/ffce575bdc224a55937a18b1c01368890c16ea4c"},{"sha":"d55af101c3f12f4b41a4db425ab3cd2111c2c73e","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"Track if stream is seekable\n\nEven though there's no way how to make stream seekable right now,\nit is going to be soon. We need to track this info so that we\ndon't send virStreamSkip to a client that did not want it or vice\nversa.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/d55af101c3f12f4b41a4db425ab3cd2111c2c73e"},{"sha":"a549e87d912926baee28f41c1f9296271f0fb4bf","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"RPC: Introduce virNetStreamSkip\n\nThis is going to be RPC representation for virStreamSkip.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/a549e87d912926baee28f41c1f9296271f0fb4bf"},{"sha":"df694941a791393c9caa9a3e803725564581aca5","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"Introduce VIR_NET_STREAM_SKIP message type\n\nThis is a special type of stream packet, that is bidirectional\nand will contain information on how much bytes are both sides\nskipping in the stream.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/df694941a791393c9caa9a3e803725564581aca5"},{"sha":"503a5d744b2d481d55e765dcadddf42be2cc4e75","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"Teach wireshark plugin about VIR_NET_STREAM_SKIP\n\nIdeally, this would be generated, but to achieve that\ncorresponding XDR definitions needed to go into a different .x\nfile. But they belong just to the one that they are right now.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/503a5d744b2d481d55e765dcadddf42be2cc4e75"},{"sha":"e36352cb10986d47fd4067cafc84351b54dc4692","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"daemon: Implement VIR_NET_STREAM_SKIP handling\n\nBasically, whenever the new type of stream packet arrives to the\ndaemon call this function that decodes it and calls\nvirStreamSkipCallback().  Otherwise a regular data stream packet\nhas arrived and therefore continue its processing.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/e36352cb10986d47fd4067cafc84351b54dc4692"},{"sha":"a54de432ddd6254429de02d7fafcfaab8aed9c49","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"daemon: Introduce virNetServerProgramSendStreamSkip\n\nThis is just a helper function that takes in an offset value,\nencodes it into XDR and sends to client.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/a54de432ddd6254429de02d7fafcfaab8aed9c49"},{"sha":"63d71a17356269f97327ce2fb5edcfd499295c40","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"virnetclientstream: Introduce virNetClientStreamSendSkip\n\nWhile the previous commit implemented a helper for sending a\nSTREAM_SKIP packet for daemon, this is a client's counterpart.\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/63d71a17356269f97327ce2fb5edcfd499295c40"},{"sha":"ffae91f37d419604495b859827de6462948807f2","author":{"email":"83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com","name":"Michal Privoznik"},"message":"virnetclientstream: Introduce virNetClientStreamHandleSkip\n\nThis is a function that handles an incoming STREAM_SKIP packet.\nEven though it is not wired up yet, it will be soon. At the\nbeginning do couple of checks whether server plays nicely and\nsent us a STREAM_SKIP packed only after we've enabled sparse\nstreams. Then decodes the message payload to see how big the hole\nis. And finally call the virStreamSkipCallback().\n\nSigned-off-by: Michal Privoznik <mprivozn@redhat.com>","distinct":true,"url":"https://api.github.com/repos/zippy2/libvirt/commits/ffae91f37d419604495b859827de6462948807f2"}]}