diff options
| author | Radim Krčmář <rkrcmar@redhat.com> | 2015-02-17 17:30:53 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-03-03 08:33:08 +0100 |
| commit | 619616ce31a5a5d167bf26f40d920b26da0a7bfd (patch) | |
| tree | 6f173c8fcf5661978bd8b2164895181fc26de37b /hw/usb/dev-network.c | |
| parent | bb7443f6d6f09411ea10f06e6cb0d416bd1ccebd (diff) | |
| download | focaccia-qemu-619616ce31a5a5d167bf26f40d920b26da0a7bfd.tar.gz focaccia-qemu-619616ce31a5a5d167bf26f40d920b26da0a7bfd.zip | |
vga: refactor vram_size clamping and rounding
Make the code a bit more obvious. We don't have min/max, so a general helper for clamp probably isn't acceptable either. Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/dev-network.c')
0 files changed, 0 insertions, 0 deletions