Changeset 35885 in vbox for trunk/include/VBox
- Timestamp:
- Feb 8, 2011 1:20:04 AM (14 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/log.h
r34219 r35885 120 120 /** PCI Device group. */ 121 121 LOG_GROUP_DEV_PCI, 122 /** PCI Raw Device group. */ 123 LOG_GROUP_DEV_PCI_RAW, 122 124 /** PCNet Device group. */ 123 125 LOG_GROUP_DEV_PCNET, … … 395 397 "DEV_PC_BIOS", \ 396 398 "DEV_PCI", \ 399 "DEV_PCI_RAW", \ 397 400 "DEV_PCNET", \ 398 401 "DEV_PIC", \ -
trunk/include/VBox/settings.h
r35146 r35885 693 693 694 694 /** 695 * NOTE: If you add any fields in here, you must update a) the constructor and b) 696 * the operator== which is used by MachineConfigFile::operator==(), or otherwise 697 * your settings might never get saved. 698 */ 699 struct HostPciDeviceAttachment 700 { 701 HostPciDeviceAttachment() 702 : uHostAddress(0), 703 uGuestAddress(0) 704 {} 705 706 bool operator==(const HostPciDeviceAttachment &a) const 707 { 708 return ( (uHostAddress == a.uHostAddress) 709 && (uGuestAddress == a.uGuestAddress) 710 && (strDeviceName == a.strDeviceName) 711 ); 712 } 713 714 com::Utf8Str strDeviceName; 715 uint32_t uHostAddress; 716 uint32_t uGuestAddress; 717 }; 718 typedef std::list<HostPciDeviceAttachment> HostPciDeviceAttachmentList; 719 720 /** 695 721 * Representation of Machine hardware; this is used in the MachineConfigFile.hardwareMachine 696 722 * field. … … 761 787 762 788 IoSettings ioSettings; // requires settings version 1.10 (VirtualBox 3.2) 789 HostPciDeviceAttachmentList pciAttachments; // requires settings version 1.12 (VirtualBox 4.1) 763 790 }; 764 791
Note:
See TracChangeset
for help on using the changeset viewer.