« Previous | Next » 

Revision 6a3c8c14

ID6a3c8c14c8467c5db3539f1b6e43e03318e5e21b

Added by Luiz Capitulino over 11 years ago

qemu-ga: use state dir from CONFIG_QEMU_LOCALSTATEDIR

Has the side effect of changing the default directory used to
save the freeze status file from /tmp to ${prefix}/var/run.

This is a beneficial change for two reasons:

1. FHS states that programs must not assume that files in /tmp will
still exist between invocations of the program. This defeats
the purpose of the freeze status file
2. FHS dictates that /var/run must be cleaned on boot, this
ensures that a stale freeze status file will be removed on boot

Signed-off-by: Luiz Capitulino <>
Reviewed-by: Paolo Bonzini <>
Reviewed-by: Michael Roth <>
Signed-off-by: Michael Roth <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences