~ubuntu-branches/ubuntu/vivid/qemu-linaro/vivid

« back to all changes in this revision

Viewing changes to hw/virtio.h

  • Committer: Ricardo Salveti de Araujo
  • Date: 2012-09-20 18:39:31 UTC
  • mfrom: (12922.1.2 qemu-linaro)
  • Revision ID: ricardo.salveti@linaro.org-20120920183931-sp3cg6kpdl8dmwo9
* New upstream release.
  - support emulated systems with more than 2G of memory. (LP: #1030588)
* Drop powerpc-missing-include.patch - merged upstream.
* Update debian/control:
  - drop perl build dependency.
  - add libfdt-dev build dependency.
* Update debian/qemu-keymaps.install file.
* Update debian/rules:
  - update QEMU_CPU for ARM architecture: armv4l -> armv7l.
  - update conf_audio_drv: default to PulseAudio since PA is the default on
    Ubuntu.
  - enable KVM on ARM architecture.
  - enable flat device tree support (--enable-fdt). (LP: #1030594)

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#include "net.h"
19
19
#include "qdev.h"
20
20
#include "sysemu.h"
21
 
#include "block.h"
22
21
#include "event_notifier.h"
23
22
#ifdef CONFIG_LINUX
24
23
#include "9p.h"
191
190
                        void *opaque);
192
191
 
193
192
/* Base devices.  */
194
 
VirtIODevice *virtio_blk_init(DeviceState *dev, BlockConf *conf,
195
 
                              char **serial);
 
193
typedef struct VirtIOBlkConf VirtIOBlkConf;
 
194
VirtIODevice *virtio_blk_init(DeviceState *dev, VirtIOBlkConf *blk);
196
195
struct virtio_net_conf;
197
196
VirtIODevice *virtio_net_init(DeviceState *dev, NICConf *conf,
198
197
                              struct virtio_net_conf *net);
229
228
uint16_t virtio_queue_get_last_avail_idx(VirtIODevice *vdev, int n);
230
229
void virtio_queue_set_last_avail_idx(VirtIODevice *vdev, int n, uint16_t idx);
231
230
VirtQueue *virtio_get_queue(VirtIODevice *vdev, int n);
 
231
int virtio_queue_get_id(VirtQueue *vq);
232
232
EventNotifier *virtio_queue_get_guest_notifier(VirtQueue *vq);
 
233
void virtio_queue_set_guest_notifier_fd_handler(VirtQueue *vq, bool assign,
 
234
                                                bool with_irqfd);
233
235
EventNotifier *virtio_queue_get_host_notifier(VirtQueue *vq);
 
236
void virtio_queue_set_host_notifier_fd_handler(VirtQueue *vq, bool assign,
 
237
                                               bool set_handler);
234
238
void virtio_queue_notify_vq(VirtQueue *vq);
235
239
void virtio_irq(VirtQueue *vq);
236
240
#endif