def METHOD_NAME(self, vm, path, id, device):
    bus_string = ''
    if self.bus:
        bus_string = ',bus=%s.%d' % (self.bus, id,)
    vm.add_args('-drive', 'file=%s,snapshot,id=disk%s,if=none' % (path, id))
    vm.add_args('-drive',
        'driver=blkreplay,id=disk%s-rr,if=none,image=disk%s' % (id, id))
    vm.add_args('-device',
        '%s,drive=disk%s-rr%s' % (device, id, bus_string))