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

« back to all changes in this revision

Viewing changes to tests/qdev-monitor-test.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2014-01-27 09:10:37 UTC
  • Revision ID: package-import@ubuntu.com-20140127091037-qf1lsx2iau13d3sk
Tags: 1.7.0+dfsg-2ubuntu8
* SECURITY UPDATE: denial of service via virtio device hot-plugging
  - debian/patches/CVE-2013-4377.patch: upstream commits to refactor
    virtio device unplugging.
  - CVE-2013-4377

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
                   "}}");
33
33
    g_assert(response);
34
34
    error = qdict_get_qdict(response, "error");
35
 
    g_assert(!strcmp(qdict_get_try_str(error, "class") ?: "",
36
 
                     "GenericError"));
37
35
    g_assert(!strcmp(qdict_get_try_str(error, "desc") ?: "",
38
 
                     "Device initialization failed."));
 
36
                     "Device needs media, but drive is empty"));
39
37
    QDECREF(response);
40
38
 
41
39
    /* Delete the drive */