/usr/share/gtk-doc/html/Libvirt-gconfig/GVirConfigDomain.html is in libvirt-glib-1.0-dev 0.1.6-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GVirConfigDomain</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
<link rel="home" href="index.html" title="Libvirt-gconfig Reference Manual">
<link rel="up" href="ch01.html" title="Libvirt-gconfig">
<link rel="prev" href="GVirConfigObject.html" title="GVirConfigObject">
<link rel="next" href="GVirConfigDomainSnapshot.html" title="GVirConfigDomainSnapshot">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GVirConfigObject.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Libvirt-gconfig Reference Manual</th>
<td><a accesskey="n" href="GVirConfigDomainSnapshot.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GVirConfigDomain.synopsis" class="shortcut">Top</a>
|
<a href="#GVirConfigDomain.description" class="shortcut">Description</a>
|
<a href="#GVirConfigDomain.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GVirConfigDomain.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="GVirConfigDomain"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GVirConfigDomain.top_of_page"></a>GVirConfigDomain</span></h2>
<p>GVirConfigDomain</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GVirConfigDomain.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="GVirConfigDomain.html#GVirConfigDomain-struct" title="struct GVirConfigDomain">GVirConfigDomain</a>;
struct <a class="link" href="GVirConfigDomain.html#GVirConfigDomainClass" title="struct GVirConfigDomainClass">GVirConfigDomainClass</a>;
enum <a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleAction" title="enum GVirConfigDomainLifecycleAction">GVirConfigDomainLifecycleAction</a>;
enum <a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent" title="enum GVirConfigDomainLifecycleEvent">GVirConfigDomainLifecycleEvent</a>;
enum <a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType" title="enum GVirConfigDomainVirtType">GVirConfigDomainVirtType</a>;
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-add-device" title="gvir_config_domain_add_device ()">gvir_config_domain_add_device</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GVirConfigDomainDevice</span> *device</code></em>);
<span class="returnvalue">GVirConfigDomainCpu</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-cpu" title="gvir_config_domain_get_cpu ()">gvir_config_domain_get_cpu</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);
<span class="returnvalue">guint64</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-current-memory" title="gvir_config_domain_get_current_memory ()">gvir_config_domain_get_current_memory</a>
(<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-custom-xml" title="gvir_config_domain_get_custom_xml ()">gvir_config_domain_get_custom_xml</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *ns_uri</code></em>);
const <span class="returnvalue">char</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-description" title="gvir_config_domain_get_description ()">gvir_config_domain_get_description</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);
<span class="returnvalue">GList</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-devices" title="gvir_config_domain_get_devices ()">gvir_config_domain_get_devices</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);
<span class="returnvalue">GStrv</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-features" title="gvir_config_domain_get_features ()">gvir_config_domain_get_features</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);
<span class="returnvalue">guint64</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-memory" title="gvir_config_domain_get_memory ()">gvir_config_domain_get_memory</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);
const <span class="returnvalue">char</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-name" title="gvir_config_domain_get_name ()">gvir_config_domain_get_name</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);
<span class="returnvalue">GVirConfigDomainOs</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-os" title="gvir_config_domain_get_os ()">gvir_config_domain_get_os</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);
const <span class="returnvalue">char</span> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-title" title="gvir_config_domain_get_title ()">gvir_config_domain_get_title</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);
<span class="returnvalue">guint64</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-vcpus" title="gvir_config_domain_get_vcpus ()">gvir_config_domain_get_vcpus</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);
<a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType" title="enum GVirConfigDomainVirtType"><span class="returnvalue">GVirConfigDomainVirtType</span></a> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-get-virt-type" title="gvir_config_domain_get_virt_type ()">gvir_config_domain_get_virt_type</a>
(<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);
<a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="returnvalue">GVirConfigDomain</span></a> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-new" title="gvir_config_domain_new ()">gvir_config_domain_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="returnvalue">GVirConfigDomain</span></a> * <a class="link" href="GVirConfigDomain.html#gvir-config-domain-new-from-xml" title="gvir_config_domain_new_from_xml ()">gvir_config_domain_new_from_xml</a> (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-clock" title="gvir_config_domain_set_clock ()">gvir_config_domain_set_clock</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GVirConfigDomainClock</span> *klock</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-cpu" title="gvir_config_domain_set_cpu ()">gvir_config_domain_set_cpu</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GVirConfigDomainCpu</span> *cpu</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-current-memory" title="gvir_config_domain_set_current_memory ()">gvir_config_domain_set_current_memory</a>
(<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">guint64</span> memory</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-custom-xml" title="gvir_config_domain_set_custom_xml ()">gvir_config_domain_set_custom_xml</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *ns</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *ns_uri</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-description" title="gvir_config_domain_set_description ()">gvir_config_domain_set_description</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *description</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-devices" title="gvir_config_domain_set_devices ()">gvir_config_domain_set_devices</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GList</span> *devices</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-features" title="gvir_config_domain_set_features ()">gvir_config_domain_set_features</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code>const <span class="type">GStrv</span> features</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-lifecycle" title="gvir_config_domain_set_lifecycle ()">gvir_config_domain_set_lifecycle</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent" title="enum GVirConfigDomainLifecycleEvent"><span class="type">GVirConfigDomainLifecycleEvent</span></a> event</code></em>,
<em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleAction" title="enum GVirConfigDomainLifecycleAction"><span class="type">GVirConfigDomainLifecycleAction</span></a> action</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-memory" title="gvir_config_domain_set_memory ()">gvir_config_domain_set_memory</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">guint64</span> memory</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-name" title="gvir_config_domain_set_name ()">gvir_config_domain_set_name</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-os" title="gvir_config_domain_set_os ()">gvir_config_domain_set_os</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GVirConfigDomainOs</span> *os</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-power-management" title="gvir_config_domain_set_power_management ()">gvir_config_domain_set_power_management</a>
(<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GVirConfigDomainPowerManagement</span> *pm</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-seclabel" title="gvir_config_domain_set_seclabel ()">gvir_config_domain_set_seclabel</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GVirConfigDomainSeclabel</span> *seclabel</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-title" title="gvir_config_domain_set_title ()">gvir_config_domain_set_title</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *title</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-vcpus" title="gvir_config_domain_set_vcpus ()">gvir_config_domain_set_vcpus</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">guint64</span> vcpu_count</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GVirConfigDomain.html#gvir-config-domain-set-virt-type" title="gvir_config_domain_set_virt_type ()">gvir_config_domain_set_virt_type</a> (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType" title="enum GVirConfigDomainVirtType"><span class="type">GVirConfigDomainVirtType</span></a> type</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GVirConfigDomain.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----<a class="link" href="GVirConfigObject.html" title="GVirConfigObject">GVirConfigObject</a>
+----GVirConfigDomain
</pre>
</div>
<div class="refsect1">
<a name="GVirConfigDomain.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--current-memory" title='The "current-memory" property'>current-memory</a>" <span class="type">guint64</span> : Read / Write
"<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--description" title='The "description" property'>description</a>" <span class="type">gchar</span>* : Read / Write
"<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--features" title='The "features" property'>features</a>" <span class="type">GStrv</span> : Read / Write
"<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--memory" title='The "memory" property'>memory</a>" <span class="type">guint64</span> : Read / Write
"<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--name" title='The "name" property'>name</a>" <span class="type">gchar</span>* : Read / Write
"<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--title" title='The "title" property'>title</a>" <span class="type">gchar</span>* : Read / Write
"<a class="link" href="GVirConfigDomain.html#GVirConfigDomain--vcpu" title='The "vcpu" property'>vcpu</a>" <span class="type">guint64</span> : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GVirConfigDomain.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="GVirConfigDomain.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GVirConfigDomain-struct"></a><h3>struct GVirConfigDomain</h3>
<pre class="programlisting">struct GVirConfigDomain;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigDomainClass"></a><h3>struct GVirConfigDomainClass</h3>
<pre class="programlisting">struct GVirConfigDomainClass {
GVirConfigObjectClass parent_class;
gpointer padding[20];
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigDomainLifecycleAction"></a><h3>enum GVirConfigDomainLifecycleAction</h3>
<pre class="programlisting">typedef enum {
GVIR_CONFIG_DOMAIN_LIFECYCLE_DESTROY,
GVIR_CONFIG_DOMAIN_LIFECYCLE_RESTART,
GVIR_CONFIG_DOMAIN_LIFECYCLE_PRESERVE,
GVIR_CONFIG_DOMAIN_LIFECYCLE_RENAME_RESTART,
GVIR_CONFIG_DOMAIN_LIFECYCLE_COREDUMP_DESTROY,
GVIR_CONFIG_DOMAIN_LIFECYCLE_COREDUMP_RESTART
} GVirConfigDomainLifecycleAction;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigDomainLifecycleEvent"></a><h3>enum GVirConfigDomainLifecycleEvent</h3>
<pre class="programlisting">typedef enum {
GVIR_CONFIG_DOMAIN_LIFECYCLE_ON_POWEROFF, /*< nick=on_poweroff >*/
GVIR_CONFIG_DOMAIN_LIFECYCLE_ON_REBOOT, /*< nick=on_reboot >*/
GVIR_CONFIG_DOMAIN_LIFECYCLE_ON_CRASH /*< nick=on_crash >*/
} GVirConfigDomainLifecycleEvent;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigDomainVirtType"></a><h3>enum GVirConfigDomainVirtType</h3>
<pre class="programlisting">typedef enum {
GVIR_CONFIG_DOMAIN_VIRT_QEMU,
GVIR_CONFIG_DOMAIN_VIRT_KQEMU,
GVIR_CONFIG_DOMAIN_VIRT_KVM,
GVIR_CONFIG_DOMAIN_VIRT_XEN,
GVIR_CONFIG_DOMAIN_VIRT_LXC,
GVIR_CONFIG_DOMAIN_VIRT_UML,
GVIR_CONFIG_DOMAIN_VIRT_OPENVZ,
GVIR_CONFIG_DOMAIN_VIRT_VSERVER,
GVIR_CONFIG_DOMAIN_VIRT_LDOM,
GVIR_CONFIG_DOMAIN_VIRT_TEST,
GVIR_CONFIG_DOMAIN_VIRT_VMWARE,
GVIR_CONFIG_DOMAIN_VIRT_HYPERV,
GVIR_CONFIG_DOMAIN_VIRT_VBOX,
GVIR_CONFIG_DOMAIN_VIRT_ONE,
GVIR_CONFIG_DOMAIN_VIRT_PHYP
} GVirConfigDomainVirtType;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-add-device"></a><h3>gvir_config_domain_add_device ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_add_device (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GVirConfigDomainDevice</span> *device</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-get-cpu"></a><h3>gvir_config_domain_get_cpu ()</h3>
<pre class="programlisting"><span class="returnvalue">GVirConfigDomainCpu</span> * gvir_config_domain_get_cpu (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre>
<p>
Gets the CPU configuration of <em class="parameter"><code>domain</code></em>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <span class="type">GVirConfigDomainCpu</span>. The returned object
should be unreffed with <code class="function">g_object_unref()</code> when no longer needed. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-get-current-memory"></a><h3>gvir_config_domain_get_current_memory ()</h3>
<pre class="programlisting"><span class="returnvalue">guint64</span> gvir_config_domain_get_current_memory
(<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>current amount of RAM in kilobytes (i.e. blocks of 1024 bytes).</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-get-custom-xml"></a><h3>gvir_config_domain_get_custom_xml ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * gvir_config_domain_get_custom_xml (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *ns_uri</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-get-description"></a><h3>gvir_config_domain_get_description ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> * gvir_config_domain_get_description (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-get-devices"></a><h3>gvir_config_domain_get_devices ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> * gvir_config_domain_get_devices (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre>
<p>
Gets the list of devices attached to <em class="parameter"><code>domain</code></em>. The returned list should
be freed with <code class="function">g_list_free()</code>, after its elements have been unreffed with
<code class="function">g_object_unref()</code>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly allocated <span class="type">GList</span> of <span class="type">GVirConfigDomainDevice</span>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> LibvirtGConfig.DomainDevice][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-get-features"></a><h3>gvir_config_domain_get_features ()</h3>
<pre class="programlisting"><span class="returnvalue">GStrv</span> gvir_config_domain_get_features (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The returned list should be freed with
<code class="function">g_strfreev()</code> when no longer needed. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-get-memory"></a><h3>gvir_config_domain_get_memory ()</h3>
<pre class="programlisting"><span class="returnvalue">guint64</span> gvir_config_domain_get_memory (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>maximum amount of RAM in kilobytes (i.e. blocks of 1024 bytes).</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-get-name"></a><h3>gvir_config_domain_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> * gvir_config_domain_get_name (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-get-os"></a><h3>gvir_config_domain_get_os ()</h3>
<pre class="programlisting"><span class="returnvalue">GVirConfigDomainOs</span> * gvir_config_domain_get_os (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre>
<p>
Gets the operating system configuration of <em class="parameter"><code>domain</code></em>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <span class="type">GVirConfigDomainOs</span>. The returned
object should be unreffed with <code class="function">g_object_unref()</code> when no longer needed. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-get-title"></a><h3>gvir_config_domain_get_title ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> * gvir_config_domain_get_title (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-get-vcpus"></a><h3>gvir_config_domain_get_vcpus ()</h3>
<pre class="programlisting"><span class="returnvalue">guint64</span> gvir_config_domain_get_vcpus (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-get-virt-type"></a><h3>gvir_config_domain_get_virt_type ()</h3>
<pre class="programlisting"><a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType" title="enum GVirConfigDomainVirtType"><span class="returnvalue">GVirConfigDomainVirtType</span></a> gvir_config_domain_get_virt_type
(<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-new"></a><h3>gvir_config_domain_new ()</h3>
<pre class="programlisting"><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="returnvalue">GVirConfigDomain</span></a> * gvir_config_domain_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-new-from-xml"></a><h3>gvir_config_domain_new_from_xml ()</h3>
<pre class="programlisting"><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="returnvalue">GVirConfigDomain</span></a> * gvir_config_domain_new_from_xml (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-clock"></a><h3>gvir_config_domain_set_clock ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_clock (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GVirConfigDomainClock</span> *klock</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>klock</code></em> :</span></p></td>
<td>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-cpu"></a><h3>gvir_config_domain_set_cpu ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_cpu (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GVirConfigDomainCpu</span> *cpu</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cpu</code></em> :</span></p></td>
<td>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-current-memory"></a><h3>gvir_config_domain_set_current_memory ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_current_memory
(<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">guint64</span> memory</code></em>);</pre>
<p>
Sets the current amount of RAM allocated to <em class="parameter"><code>domain</code></em> in kilobytes (i.e.
blocks of 1024 bytes). This can be set to less than the maximum domain
memory to allow to balloon the guest memory on the fly. Be aware that
libvirt will set it automatically if it's not explictly set, which means
you may need to set this value in addition to 'memory' if you want to
change the available domain memory after creation.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>memory</code></em> :</span></p></td>
<td>The current amount of RAM in kilobytes.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-custom-xml"></a><h3>gvir_config_domain_set_custom_xml ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> gvir_config_domain_set_custom_xml (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *ns</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *ns_uri</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-description"></a><h3>gvir_config_domain_set_description ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_description (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *description</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>description</code></em> :</span></p></td>
<td>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-devices"></a><h3>gvir_config_domain_set_devices ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_devices (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GList</span> *devices</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>devices</code></em> :</span></p></td>
<td>. <span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> LibvirtGConfig.DomainDevice]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-features"></a><h3>gvir_config_domain_set_features ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_features (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code>const <span class="type">GStrv</span> features</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-lifecycle"></a><h3>gvir_config_domain_set_lifecycle ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_lifecycle (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleEvent" title="enum GVirConfigDomainLifecycleEvent"><span class="type">GVirConfigDomainLifecycleEvent</span></a> event</code></em>,
<em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainLifecycleAction" title="enum GVirConfigDomainLifecycleAction"><span class="type">GVirConfigDomainLifecycleAction</span></a> action</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-memory"></a><h3>gvir_config_domain_set_memory ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_memory (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">guint64</span> memory</code></em>);</pre>
<p>
Sets the maximum amount of RAM allocated to <em class="parameter"><code>domain</code></em> in kilobytes (i.e.
blocks of 1024 bytes).
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>memory</code></em> :</span></p></td>
<td>The maximum amount of RAM in kilobytes.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-name"></a><h3>gvir_config_domain_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_name (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-os"></a><h3>gvir_config_domain_set_os ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_os (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GVirConfigDomainOs</span> *os</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>os</code></em> :</span></p></td>
<td>the os configuration to set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-power-management"></a><h3>gvir_config_domain_set_power_management ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_power_management
(<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GVirConfigDomainPowerManagement</span> *pm</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pm</code></em> :</span></p></td>
<td>a <span class="type">GVirPowerManagement</span> instance. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-seclabel"></a><h3>gvir_config_domain_set_seclabel ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_seclabel (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">GVirConfigDomainSeclabel</span> *seclabel</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>seclabel</code></em> :</span></p></td>
<td>the security label configuration to set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-title"></a><h3>gvir_config_domain_set_title ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_title (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *title</code></em>);</pre>
<p>
Sets the title of the domain. This is an optional short textual description of the domain. Passing a NULL <em class="parameter"><code>title</code></em>
unsets the current domain title.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>title of the domain. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-vcpus"></a><h3>gvir_config_domain_set_vcpus ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_vcpus (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><span class="type">guint64</span> vcpu_count</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gvir-config-domain-set-virt-type"></a><h3>gvir_config_domain_set_virt_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gvir_config_domain_set_virt_type (<em class="parameter"><code><a class="link" href="GVirConfigDomain.html" title="GVirConfigDomain"><span class="type">GVirConfigDomain</span></a> *domain</code></em>,
<em class="parameter"><code><a class="link" href="GVirConfigDomain.html#GVirConfigDomainVirtType" title="enum GVirConfigDomainVirtType"><span class="type">GVirConfigDomainVirtType</span></a> type</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="GVirConfigDomain.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GVirConfigDomain--current-memory"></a><h3>The <code class="literal">"current-memory"</code> property</h3>
<pre class="programlisting"> "current-memory" <span class="type">guint64</span> : Read / Write</pre>
<p>Current Guest Memory (in kilobytes).</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigDomain--description"></a><h3>The <code class="literal">"description"</code> property</h3>
<pre class="programlisting"> "description" <span class="type">gchar</span>* : Read / Write</pre>
<p>Some human readable description (could be anything).</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigDomain--features"></a><h3>The <code class="literal">"features"</code> property</h3>
<pre class="programlisting"> "features" <span class="type">GStrv</span> : Read / Write</pre>
<p>Hypervisor Features.</p>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigDomain--memory"></a><h3>The <code class="literal">"memory"</code> property</h3>
<pre class="programlisting"> "memory" <span class="type">guint64</span> : Read / Write</pre>
<p>Maximum Guest Memory (in kilobytes).</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigDomain--name"></a><h3>The <code class="literal">"name"</code> property</h3>
<pre class="programlisting"> "name" <span class="type">gchar</span>* : Read / Write</pre>
<p>Domain Name.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigDomain--title"></a><h3>The <code class="literal">"title"</code> property</h3>
<pre class="programlisting"> "title" <span class="type">gchar</span>* : Read / Write</pre>
<p>A short description - title - of the domain.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GVirConfigDomain--vcpu"></a><h3>The <code class="literal">"vcpu"</code> property</h3>
<pre class="programlisting"> "vcpu" <span class="type">guint64</span> : Read / Write</pre>
<p>Maximum Number of Guest Virtual CPUs.</p>
<p>Default value: 1</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|