~serge-hallyn/ubuntu/raring/libvirt/libvirt-hugepages

« back to all changes in this revision

Viewing changes to src/qemu/qemu_monitor_json.h

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-05-13 15:44:12 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20120513154412-fgmn5sxqdzgnzlx3
Tags: 0.9.12-0ubuntu1
* New upstream version:
  * Synchronize with debian packaging:
    - debian/control: Update build depends.
    - debian/libvirt-bin.postrm: Cleanup /var/log/libvirt
      on purge.
    - Bump standards verson (no changes).
    - debian/patches/Don-t-fail-if-we-can-t-setup-avahi.patch: Added
  * Dropped patches:
    - debian/patches/Debianize-libvirt-guests.patch
    - debian/patches/rewrite-lxc-controller-eof-handling-yet-again
    - debian/patches/ubuntu/libnl13.patch
    - debian/patches/ubuntu/fix-lxc-startup-error.patch
    - debian/patches/ubuntu/fix-bridge-fd.patch
    - debian/patches/ubuntu/skip-labelling-network-disks.patch
    - debian/patches/ubuntu/xen-xend-shutdown-detection.patch
    - debian/patches/ubuntu/xen-config-no-vfb-for-hvm.patch
    - debian/patches/debian/Disable-daemon-start-test.patch
    - debian/patches/debian/Disable-gnulib-s-test-nonplocking-pipe.sh.patch
    - debian/patches/ubuntu/9006-default-config-test-case.patch
    - debian/patches/fix-block-migration.patch
    - debian/patches/ubuntu/9022-qemu-unescape-HMP-commands-before-converting-them-to.patch
    - debian/patches/ubuntu/9023-qemu-change-rbd-auth_supported-separation-character-.patch
    - debian/patches/ubuntu/9024-qemu-allow-snapshotting-of-sheepdog-and-rbd-disks.patch
    - debian/patches/9025-qemu-change-rbd-auth_supported-separation-character-.patch
    - debian/patches/ubuntu/arm-gcc-workaround.patch
  * Rediffed:
    - debian/patches/Allow-libvirt-group-to-access-the-socket.patch
    - debian/patches/Disable-failing-virnetsockettest.patch
    - debian/patches/dnsmasq-as-priv-user
    - debian/patches/9002-better_default_uri_virsh.patch
  * debian/control: Add libnl-route-3-dev ass a build depends.
  * debian/patches/libnl3-build-fix.patch: Fix build with libnl3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * qemu_monitor_json.h: interaction with QEMU monitor console
3
3
 *
4
 
 * Copyright (C) 2006-2009, 2011 Red Hat, Inc.
 
4
 * Copyright (C) 2006-2009, 2011-2012 Red Hat, Inc.
5
5
 * Copyright (C) 2006 Daniel P. Berrange
6
6
 *
7
7
 * This library is free software; you can redistribute it and/or
28
28
# include "internal.h"
29
29
 
30
30
# include "qemu_monitor.h"
 
31
# include "bitmap.h"
31
32
 
32
33
int qemuMonitorJSONIOProcess(qemuMonitorPtr mon,
33
34
                             const char *data,
41
42
 
42
43
int qemuMonitorJSONSetCapabilities(qemuMonitorPtr mon);
43
44
 
44
 
int qemuMonitorJSONCheckHMP(qemuMonitorPtr mon);
 
45
int qemuMonitorJSONCheckCommands(qemuMonitorPtr mon,
 
46
                                 virBitmapPtr qemuCaps,
 
47
                                 int *json_hmp);
45
48
 
46
49
int qemuMonitorJSONStartCPUs(qemuMonitorPtr mon,
47
50
                             virConnectPtr conn);
58
61
int qemuMonitorJSONGetVirtType(qemuMonitorPtr mon,
59
62
                               int *virtType);
60
63
int qemuMonitorJSONGetBalloonInfo(qemuMonitorPtr mon,
61
 
                                  unsigned long *currmem);
 
64
                                  unsigned long long *currmem);
62
65
int qemuMonitorJSONGetMemoryStats(qemuMonitorPtr mon,
63
66
                                  virDomainMemoryStatPtr stats,
64
67
                                  unsigned int nr_stats);
65
68
int qemuMonitorJSONGetBlockInfo(qemuMonitorPtr mon,
66
 
                                const char *devname,
67
 
                                struct qemuDomainDiskInfo *info);
 
69
                                virHashTablePtr table);
68
70
int qemuMonitorJSONGetBlockStatsInfo(qemuMonitorPtr mon,
69
71
                                     const char *dev_name,
70
72
                                     long long *rd_req,
224
226
int qemuMonitorJSONDeleteSnapshot(qemuMonitorPtr mon, const char *name);
225
227
 
226
228
int qemuMonitorJSONDiskSnapshot(qemuMonitorPtr mon,
 
229
                                virJSONValuePtr actions,
227
230
                                const char *device,
228
 
                                const char *file);
 
231
                                const char *file,
 
232
                                const char *format,
 
233
                                bool reuse);
 
234
int qemuMonitorJSONTransaction(qemuMonitorPtr mon, virJSONValuePtr actions);
229
235
 
230
236
int qemuMonitorJSONArbitraryCommand(qemuMonitorPtr mon,
231
237
                                    const char *cmd_str,
244
250
 
245
251
int qemuMonitorJSONBlockJob(qemuMonitorPtr mon,
246
252
                            const char *device,
247
 
                            unsigned long bandwidth,
 
253
                            const char *base,
 
254
                            unsigned long long speed,
248
255
                            virDomainBlockJobInfoPtr info,
249
 
                            int mode);
 
256
                            qemuMonitorBlockJobCmd mode,
 
257
                            bool modern)
 
258
    ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
250
259
 
251
260
int qemuMonitorJSONSetLink(qemuMonitorPtr mon,
252
261
                           const char *name,
265
274
                                      const char *device,
266
275
                                      virDomainBlockIoTuneInfoPtr reply);
267
276
 
 
277
int qemuMonitorJSONSystemWakeup(qemuMonitorPtr mon);
 
278
 
268
279
#endif /* QEMU_MONITOR_JSON_H */