qemu/include/qemu/hw-version.h
<<
>>
Prefs
   1/*
   2 * QEMU "hardware version" machinery
   3 *
   4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
   5 * See the COPYING file in the top-level directory.
   6 */
   7#ifndef QEMU_HW_VERSION_H
   8#define QEMU_HW_VERSION_H
   9
  10/*
  11 * Starting on QEMU 2.5, qemu_hw_version() returns "2.5+" by default
  12 * instead of QEMU_VERSION, so setting hw_version on MachineClass
  13 * is no longer mandatory.
  14 *
  15 * Do NOT change this string, or it will break compatibility on all
  16 * machine classes that don't set hw_version.
  17 */
  18#define QEMU_HW_VERSION "2.5+"
  19
  20/* QEMU "hardware version" setting. Used to replace code that exposed
  21 * QEMU_VERSION to guests in the past and need to keep compatibility.
  22 * Do not use qemu_hw_version() in new code.
  23 */
  24void qemu_set_hw_version(const char *);
  25const char *qemu_hw_version(void);
  26
  27#endif
  28