diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2013-09-04 19:00:20 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-09-06 15:25:08 +0200 |
| commit | e641c1e81e54fc14908ff6785ef7d51e42c2e1bb (patch) | |
| tree | 4f2f526c2a0b502b391953078d0e1232f732f424 /scripts/qapi.py | |
| parent | 26ae980492920e417bc91761cc85950f18e41f85 (diff) | |
| download | focaccia-qemu-e641c1e81e54fc14908ff6785ef7d51e42c2e1bb.tar.gz focaccia-qemu-e641c1e81e54fc14908ff6785ef7d51e42c2e1bb.zip | |
cow: do not call bdrv_co_is_allocated
As we change bdrv_is_allocated to gather more information from bs and bs->file, it will become a bit slower. It is still appropriate for online jobs, but not for reads/writes. Call the internal function instead. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions