~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to include/VBox/err.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-12-18 16:44:29 UTC
  • mfrom: (0.3.3 upstream) (0.4.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091218164429-jd34ccexpv5na11a
Tags: 3.1.2-dfsg-1ubuntu1
* Merge from Debian unstable (LP: #498219), remaining changes:
  - Disable update action
    - debian/patches/u01-disable-update-action.dpatch
  - VirtualBox should go in Accessories, not in System tools (LP: #288590)
    - debian/virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add Apport hook
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Add Launchpad integration
    - debian/control
    - debian/lpi-bug.xpm
    - debian/patches/u02-lp-integration.dpatch
* Fixes the following bugs:
  - Kernel module fails to build with Linux >= 2.6.32 (LP: #474625)
  - X.Org drivers need to be rebuilt against X-Server 1.7 (LP: #495935)
  - The *-source packages try to build the kernel modules even though the
    kernel headers aren't available (LP: #473334)
* Replace *-source packages with transitional packages for *-dkms.
* Adapt u01-disable-update-action.dpatch and u02-lp-integration.dpatch for
  new upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
/** Indicating that the VM is being turned off and that the EM should
126
126
 * exit to the VM awaiting the destruction request. */
127
127
#define VINF_EM_OFF                         1109
 
128
/** Indicating that the VM has been suspended and that the the thread
 
129
 * should wait for request telling it what to do next. */
 
130
#define VINF_EM_SUSPEND                     1110
128
131
/** Indicating that the VM has been reset and that scheduling goes
129
132
 * back to startup defaults. */
130
 
#define VINF_EM_RESET                       1110
131
 
/** Indicating that the VM has been suspended and that the the thread
132
 
 * should wait for request telling it what to do next. */
133
 
#define VINF_EM_SUSPEND                     1111
 
133
#define VINF_EM_RESET                       1111
134
134
/** Indicating that the VM has executed a halt instruction and that
135
135
 * the emulation thread should wait for an interrupt before resuming
136
136
 * execution. */
488
488
#define VERR_SSM_UNIT_NOT_FOUND                 (-1801)
489
489
/** The specified data unit wasn't owned by caller. */
490
490
#define VERR_SSM_UNIT_NOT_OWNER                 (-1802)
 
491
 
491
492
/** General saved state file integrity error. */
492
493
#define VERR_SSM_INTEGRITY                      (-1810)
493
494
/** The saved state file magic was not recognized. */
496
497
#define VERR_SSM_INTEGRITY_VERSION              (-1812)
497
498
/** The saved state file size didn't match the one in the header. */
498
499
#define VERR_SSM_INTEGRITY_SIZE                 (-1813)
499
 
/** The CRC of the saved state file did match. */
 
500
/** The CRC of the saved state file did not match. */
500
501
#define VERR_SSM_INTEGRITY_CRC                  (-1814)
501
 
/** The current virtual machine id didn't match the virtual machine id. */
 
502
/** The machine uuid field wasn't null. */
502
503
#define VERR_SMM_INTEGRITY_MACHINE              (-1815)
 
504
/** Saved state header integrity error. */
 
505
#define VERR_SSM_INTEGRITY_HEADER               (-1816)
 
506
/** Unit header integrity error. */
 
507
#define VERR_SSM_INTEGRITY_UNIT                 (-1817)
503
508
/** Invalid unit magic (internal data tag). */
504
 
#define VERR_SSM_INTEGRITY_UNIT_MAGIC           (-1816)
 
509
#define VERR_SSM_INTEGRITY_UNIT_MAGIC           (-1818)
505
510
/** The file contained a data unit which no-one wants. */
506
 
#define VERR_SSM_INTEGRITY_UNIT_NOT_FOUND       (-1817)
507
 
/** Incorrect type sizes in the header. */
508
 
#define VERR_SSM_INTEGRITY_SIZES                (-1818)
 
511
#define VERR_SSM_INTEGRITY_UNIT_NOT_FOUND       (-1819)
509
512
/** Incorrect version numbers in the header. */
510
 
#define VERR_SSM_INTEGRITY_VBOX_VERSION         (-1819)
 
513
#define VERR_SSM_INTEGRITY_VBOX_VERSION         (-1820)
 
514
/** Footer integrity error. */
 
515
#define VERR_SSM_INTEGRITY_FOOTER               (-1821)
 
516
/** Record header integrity error. */
 
517
#define VERR_SSM_INTEGRITY_REC_HDR              (-1822)
 
518
/** Termination record integrity error. */
 
519
#define VERR_SSM_INTEGRITY_REC_TERM             (-1823)
 
520
/** Termination record CRC mismatch. */
 
521
#define VERR_SSM_INTEGRITY_REC_TERM_CRC         (-1824)
 
522
/** Decompression interity error.  */
 
523
#define VERR_SSM_INTEGRITY_DECOMPRESSION        (-1825)
 
524
/** Saved state directory iintegrity error.  */
 
525
#define VERR_SSM_INTEGRITY_DIR                  (-1826)
 
526
/** The saved state directory magic is wrong. */
 
527
#define VERR_SSM_INTEGRITY_DIR_MAGIC            (-1827)
 
528
 
511
529
/** A data unit in the saved state file was defined but didn't any
512
530
 * routine for processing it. */
513
 
#define VERR_SSM_NO_LOAD_EXEC                   (-1820)
 
531
#define VERR_SSM_NO_LOAD_EXEC                   (-1830)
514
532
/** A restore routine attempted to load more data then the unit contained. */
515
 
#define VERR_SSM_LOADED_TOO_MUCH                (-1821)
516
 
/** Not in the correct state for the attempted operation. */
517
 
#define VERR_SSM_INVALID_STATE                  (-1822)
 
533
#define VERR_SSM_LOADED_TOO_MUCH                (-1831)
 
534
/** Not in the correct state for the attempted operation. */
 
535
#define VERR_SSM_INVALID_STATE                  (-1832)
 
536
/** Not in the correct state for the attempted operation. */
 
537
#define VERR_SSM_LOADED_TOO_LITTLE              (-1833)
518
538
 
519
539
/** Unsupported data unit version.
520
540
 * A SSM user returns this if it doesn't know the u32Version. */
521
 
#define VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION  (-1823)
 
541
#define VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION  (-1840)
522
542
/** The format of a data unit has changed.
523
543
 * A SSM user returns this if it's not able to read the format for
524
544
 * other reasons than u32Version. */
525
 
#define VERR_SSM_DATA_UNIT_FORMAT_CHANGED       (-1824)
 
545
#define VERR_SSM_DATA_UNIT_FORMAT_CHANGED       (-1841)
526
546
/** The CPUID instruction returns different information when loading than when saved.
527
547
 * Normally caused by hardware changes on the host, but could also be caused by
528
548
 * changes in the BIOS setup. */
529
 
#define VERR_SSM_LOAD_CPUID_MISMATCH            (-1825)
 
549
#define VERR_SSM_LOAD_CPUID_MISMATCH            (-1842)
530
550
/** The RAM size differes between the saved state and the VM config. */
531
 
#define VERR_SSM_LOAD_MEMORY_SIZE_MISMATCH      (-1826)
 
551
#define VERR_SSM_LOAD_MEMORY_SIZE_MISMATCH      (-1843)
532
552
/** The state doesn't match the VM configuration in one or another way.
533
553
 * (There are certain PCI reconfiguration which the OS could potentially
534
554
 * do which can cause this problem. Check this out when it happens.) */
535
 
#define VERR_SSM_LOAD_CONFIG_MISMATCH           (-1827)
 
555
#define VERR_SSM_LOAD_CONFIG_MISMATCH           (-1844)
536
556
/** The virtual clock freqency differs too much.
537
557
 * The clock source for the virtual time isn't reliable or the code have changed. */
538
 
#define VERR_SSM_VIRTUAL_CLOCK_HZ               (-1828)
 
558
#define VERR_SSM_VIRTUAL_CLOCK_HZ               (-1845)
539
559
/** A timeout occured while waiting for async IDE operations to finish. */
540
 
#define VERR_SSM_IDE_ASYNC_TIMEOUT              (-1829)
 
560
#define VERR_SSM_IDE_ASYNC_TIMEOUT              (-1846)
541
561
/** One of the structure magics was wrong. */
542
 
#define VERR_SSM_STRUCTURE_MAGIC                (-1830)
 
562
#define VERR_SSM_STRUCTURE_MAGIC                (-1847)
543
563
/** The data in the saved state doesn't confirm to expectations. */
544
 
#define VERR_SSM_UNEXPECTED_DATA                (-1831)
 
564
#define VERR_SSM_UNEXPECTED_DATA                (-1848)
545
565
/** Trying to read a 64-bit guest physical address into a 32-bit variable. */
546
 
#define VERR_SSM_GCPHYS_OVERFLOW                (-1832)
 
566
#define VERR_SSM_GCPHYS_OVERFLOW                (-1849)
547
567
/** Trying to read a 64-bit guest virtual address into a 32-bit variable. */
548
 
#define VERR_SSM_GCPTR_OVERFLOW                 (-1833)
 
568
#define VERR_SSM_GCPTR_OVERFLOW                 (-1850)
 
569
/** Vote for another pass.  */
 
570
#define VINF_SSM_VOTE_FOR_ANOTHER_PASS          1851
 
571
/** Vote for done tell SSM not to call again until the final pass. */
 
572
#define VINF_SSM_VOTE_DONE_DONT_CALL_AGAIN      1852
 
573
/** Vote for giving up.  */
 
574
#define VERR_SSM_VOTE_FOR_GIVING_UP             (-1853)
 
575
/** Don't call again until the final pass. */
 
576
#define VINF_SSM_DONT_CALL_AGAIN                1854
 
577
/** Giving up a live snapshot/teleportation attempt because of too many
 
578
 * passes. */
 
579
#define VERR_SSM_TOO_MANY_PASSES                (-1855)
 
580
/** Giving up a live snapshot/teleportation attempt because the state grew to
 
581
 * big. */
 
582
#define VERR_SSM_STATE_GREW_TOO_BIG             (-1856)
 
583
/** Giving up a live snapshot attempt because we're low on disk space.  */
 
584
#define VERR_SSM_LOW_ON_DISK_SPACE              (-1857)
 
585
/** The operation was cancelled. */
 
586
#define VERR_SSM_CANCELLED                      (-1858)
 
587
/** Nothing that can be cancelled.  */
 
588
#define VERR_SSM_NO_PENDING_OPERATION           (-1859)
 
589
/** The operation has already been cancelled. */
 
590
#define VERR_SSM_ALREADY_CANCELLED              (-1860)
 
591
/** The machine was powered off while saving. */
 
592
#define VERR_SSM_LIVE_POWERED_OFF               (-1861)
 
593
/** The live snapshot/teleportation operation was aborted because of a guru
 
594
 *  meditation. */
 
595
#define VERR_SSM_LIVE_GURU_MEDITATION           (-1862)
 
596
/** The live snapshot/teleportation operation was aborted because of a fatal
 
597
 *  runtime error. */
 
598
#define VERR_SSM_LIVE_FATAL_ERROR               (-1863)
 
599
/** The VM was suspended before or while saving, don't resume execution. */
 
600
#define VINF_SSM_LIVE_SUSPENDED                  1864
 
601
/** Complex SSM field fed to SSMR3PutStruct or SSMR3GetStruct.  Use the
 
602
 * extended API. */
 
603
#define VERR_SSM_FIELD_COMPLEX                  (-1864)
 
604
/** Invalid size of a SSM field with the specified transformation. */
 
605
#define VERR_SSM_FIELD_INVALID_SIZE             (-1865)
 
606
/** The specified field is outside the structure.  */
 
607
#define VERR_SSM_FIELD_OUT_OF_BOUNDS            (-1866)
 
608
/** The field does not follow immediately the previous one. */
 
609
#define VERR_SSM_FIELD_NOT_CONSECUTIVE          (-1867)
 
610
/** The field contains an invalid callback or transformation index. */
 
611
#define VERR_SSM_FIELD_INVALID_CALLBACK         (-1868)
 
612
/** The field contains an invalid padding size. */
 
613
#define VERR_SSM_FIELD_INVALID_PADDING_SIZE     (-1869)
 
614
/** The field contains a value that is out of range. */
 
615
#define VERR_SSM_FIELD_INVALID_VALUE            (-1870)
549
616
/** @} */
550
617
 
551
618
 
980
1047
/** The device doesn't support runtime driver attaching.
981
1048
 * The PDMDEVREG::pfnAttach callback function is NULL. */
982
1049
#define VERR_PDM_DEVICE_NO_RT_ATTACH                (-2853)
983
 
/** The device doesn't support runtime driver detaching.
984
 
 * The PDMDEVREG::pfnDetach callback function is NULL. */
985
 
#define VERR_PDM_DEVICE_NO_RT_DETACH                (-2854)
 
1050
/** The driver doesn't support runtime driver attaching.
 
1051
 * The PDMDRVREG::pfnAttach callback function is NULL. */
 
1052
#define VERR_PDM_DRIVER_NO_RT_ATTACH                (-2854)
986
1053
/** Invalid host interface version. */
987
1054
#define VERR_PDM_HIF_INVALID_VERSION                (-2855)
988
1055
 
1012
1079
/** The driver properties were invalid, and as a consequence construction
1013
1080
 * failed. Caused my unusable media or similar problems. */
1014
1081
#define VERR_PDM_DRIVER_INVALID_PROPERTIES          (-2866)
 
1082
/** Too many instances of a device. */
 
1083
#define VERR_PDM_TOO_MANY_DEVICE_INSTANCES          (-2867)
 
1084
/** Too many instances of a driver. */
 
1085
#define VERR_PDM_TOO_MANY_DRIVER_INSTANCES          (-2868)
 
1086
/** Too many instances of a usb device. */
 
1087
#define VERR_PDM_TOO_MANY_USB_DEVICE_INSTANCES      (-2869)
1015
1088
/** @} */
1016
1089
 
1017
1090
 
1321
1394
 */
1322
1395
/** Unable to start VM execution. */
1323
1396
#define VERR_SVM_UNABLE_TO_START_VM                 (-4050)
1324
 
/** SVM bit not set in K6_EFER MSR */
 
1397
/** AMD-V bit not set in K6_EFER MSR */
1325
1398
#define VERR_SVM_ILLEGAL_EFER_MSR                   (-4051)
1326
 
/** SVM CPU extension not available. */
 
1399
/** AMD-V CPU extension not available. */
1327
1400
#define VERR_SVM_NO_SVM                             (-4052)
1328
 
/** SVM CPU extension disabled (by BIOS). */
 
1401
/** AMD-V CPU extension disabled (by BIOS). */
1329
1402
#define VERR_SVM_DISABLED                           (-4053)
 
1403
/** AMD-V CPU extension in-use. */
 
1404
#define VERR_SVM_IN_USE                             (-4054)
1330
1405
/** @} */
1331
1406
 
1332
1407
 
1374
1449
 * @{
1375
1450
 */
1376
1451
/** Switch back to host */
1377
 
#define VINF_PARAV_SWITCH_TO_HOST                     4400
 
1452
#define VINF_PARAV_SWITCH_TO_HOST                   4400
1378
1453
 
1379
1454
/** @} */
1380
1455
 
1382
1457
 * @{
1383
1458
 */
1384
1459
/** command processing is pending, a completion handler will be called */
1385
 
#define VINF_VHWA_CMD_PENDING                        4500
1386
 
 
 
1460
#define VINF_VHWA_CMD_PENDING                       4500
 
1461
 
 
1462
/** @} */
 
1463
 
 
1464
 
 
1465
/** @name VBox Webservice Status Codes
 
1466
 * @{
 
1467
 */
 
1468
/** Object not found. */
 
1469
#define VERR_COM_OBJECT_NOT_FOUND                  (-4601)
 
1470
/** Invalid machine state. */
 
1471
#define VERR_COM_INVALID_VM_STATE                  (-4602)
 
1472
/** VM error. */
 
1473
#define VERR_COM_VM_ERROR                          (-4603)
 
1474
/** File error. */
 
1475
#define VERR_COM_FILE_ERROR                        (-4604)
 
1476
/** IPRT error. */
 
1477
#define VERR_COM_IPRT_ERROR                        (-4605)
 
1478
/** PDM error. */
 
1479
#define VERR_COM_PDM_ERROR                         (-4606)
 
1480
/** Invalid object state. */
 
1481
#define VERR_COM_INVALID_OBJECT_STATE              (-4607)
 
1482
/** Host error. */
 
1483
#define VERR_COM_HOST_ERROR                        (-4608)
 
1484
/** Not supported. */
 
1485
#define VERR_COM_NOT_SUPPORTED                     (-4609)
 
1486
/** XML error. */
 
1487
#define VERR_COM_XML_ERROR                         (-4610)
 
1488
/** Invalid session state. */
 
1489
#define VERR_COM_INVALID_SESSION_STATE             (-4611)
 
1490
/** Invalid session state. */
 
1491
#define VERR_COM_OBJECT_IN_USE                     (-4612)
1387
1492
/** @} */
1388
1493
 
1389
1494
/* SED-END */