Revision b6a114d27273c37cd0107b0f49af208168498f05 authored by Michael S. Tsirkin on 13 January 2010, 17:12:30 UTC, committed by Marcelo Tosatti on 25 January 2010, 14:26:39 UTC
kvm didn't clear irqfd counter on deassign, as a result we could get a spurious interrupt when irqfd is assigned back. this leads to poor performance and, in theory, guest crash. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
1 parent cb289d6
infutil.h
/* infutil.h -- types and macros common to blocks and codes
* Copyright (C) 1995-1998 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression library and is
subject to change. Applications should only use zlib.h.
*/
#ifndef _INFUTIL_H
#define _INFUTIL_H
#include <linux/zlib.h>
/* memory allocation for inflation */
struct inflate_workspace {
struct inflate_state inflate_state;
unsigned char working_window[1 << MAX_WBITS];
};
#define WS(z) ((struct inflate_workspace *)(z->workspace))
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...