~ubuntu-branches/ubuntu/trusty/qemu/trusty

« back to all changes in this revision

Viewing changes to .pc/CVE-2013-4377.patch/hw/block/dataplane/virtio-blk.h

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2014-02-04 12:13:08 UTC
  • mfrom: (10.1.45 sid)
  • Revision ID: package-import@ubuntu.com-20140204121308-1xq92lrfs75agw2g
Tags: 1.7.0+dfsg-3ubuntu1~ppa1
* Merge 1.7.0+dfsg-3 from debian.  Remaining changes:
  - debian/patches/ubuntu:
    * expose-vmx_qemu64cpu.patch
    * linaro (omap3) and arm64 patches
    * ubuntu/target-ppc-add-stubs-for-kvm-breakpoints: fix FTBFS
      on ppc
    * ubuntu/CVE-2013-4377.patch: fix denial of service via virtio
  - debian/qemu-system-x86.modprobe: set kvm_intel nested=1 options
  - debian/control:
    * add arm64 to Architectures
    * add qemu-common and qemu-system-aarch64 packages
  - debian/qemu-system-common.install: add debian/tmp/usr/lib
  - debian/qemu-system-common.preinst: add kvm group
  - debian/qemu-system-common.postinst: remove acl placed by udev,
    and add udevadm trigger.
  - qemu-system-x86.links: add eepro100.rom, remove pxe-virtio,
    pxe-e1000 and pxe-rtl8139.
  - add qemu-system-x86.qemu-kvm.upstart and .default
  - qemu-user-static.postinst-in: remove arm64 binfmt
  - debian/rules:
    * allow parallel build
    * add aarch64 to system_targets and sys_systems
    * add qemu-kvm-spice links
    * install qemu-system-x86.modprobe
  - add debian/qemu-system-common.links for OVMF.fd link
* Remove kvm-img, kvm-nbd, kvm-ifup and kvm-ifdown symlinks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Dedicated thread for virtio-blk I/O processing
3
 
 *
4
 
 * Copyright 2012 IBM, Corp.
5
 
 * Copyright 2012 Red Hat, Inc. and/or its affiliates
6
 
 *
7
 
 * Authors:
8
 
 *   Stefan Hajnoczi <stefanha@redhat.com>
9
 
 *
10
 
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
11
 
 * See the COPYING file in the top-level directory.
12
 
 *
13
 
 */
14
 
 
15
 
#ifndef HW_DATAPLANE_VIRTIO_BLK_H
16
 
#define HW_DATAPLANE_VIRTIO_BLK_H
17
 
 
18
 
#include "hw/virtio/virtio.h"
19
 
 
20
 
typedef struct VirtIOBlockDataPlane VirtIOBlockDataPlane;
21
 
 
22
 
bool virtio_blk_data_plane_create(VirtIODevice *vdev, VirtIOBlkConf *blk,
23
 
                                  VirtIOBlockDataPlane **dataplane);
24
 
void virtio_blk_data_plane_destroy(VirtIOBlockDataPlane *s);
25
 
void virtio_blk_data_plane_start(VirtIOBlockDataPlane *s);
26
 
void virtio_blk_data_plane_stop(VirtIOBlockDataPlane *s);
27
 
void virtio_blk_data_plane_drain(VirtIOBlockDataPlane *s);
28
 
 
29
 
#endif /* HW_DATAPLANE_VIRTIO_BLK_H */