diff options
| author | Eduardo Habkost <ehabkost@redhat.com> | 2015-10-30 17:36:08 -0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-11-04 15:02:31 +0100 |
| commit | 35c2c8dc8c0899882a8e0d349d93bd657772f1e7 (patch) | |
| tree | 5d95179abdf3d07a7c29e76e251efe47cddf86f3 /include/qemu/osdep.h | |
| parent | de796d93f59d363409dfd9e186ccd64a21f92204 (diff) | |
| download | focaccia-qemu-35c2c8dc8c0899882a8e0d349d93bd657772f1e7.tar.gz focaccia-qemu-35c2c8dc8c0899882a8e0d349d93bd657772f1e7.zip | |
osdep: Rename qemu_{get, set}_version() to qemu_{, set_}hw_version()
This makes the purpose of the function clearer: it is not about the version of QEMU that's running, but the version string exposed in the emulated hardware. Cc: Andrzej Zaborowski <balrogg@gmail.com> Cc: Peter Maydell <peter.maydell@linaro.org> Cc: John Snow <jsnow@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <1446233769-7892-3-git-send-email-ehabkost@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu/osdep.h')
| -rw-r--r-- | include/qemu/osdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index b56842420e..ab2d5d9d31 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -247,8 +247,8 @@ static inline void qemu_timersub(const struct timeval *val1, void qemu_set_cloexec(int fd); -void qemu_set_version(const char *); -const char *qemu_get_version(void); +void qemu_set_hw_version(const char *); +const char *qemu_hw_version(void); void fips_set_state(bool requested); bool fips_get_state(void); |