Uploaded image for project: 'OASIS Virtual I/O Device (VIRTIO) TC'
  1. OASIS Virtual I/O Device (VIRTIO) TC
  2. VIRTIO-28

Implement new balloon device (ID 13)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: virtio 1.0 csprd01
    • Fix Version/s: virtio 1.0 csprd02
    • Labels:
      None
    • Proposal:
      Hide

      https://lists.oasis-open.org/archives/virtio/201402/msg00193.html

      If accepted, this removes issues VIRTIO-24 and VIRTIO-25, since the old balloon device is now legacy-only.

      Show
      https://lists.oasis-open.org/archives/virtio/201402/msg00193.html If accepted, this removes issues VIRTIO-24 and VIRTIO-25 , since the old balloon device is now legacy-only.
    • Resolution:
      Hide

      Passed in minutes of 2014-02-25 meeting, committed as r279 (deprecation and introduction of new number for future device).

      Show
      Passed in minutes of 2014-02-25 meeting, committed as r279 (deprecation and introduction of new number for future device).

      Description

      The current virtio balloon device is bad enough that fixing it yields something completely incompatible:
      1) The page size is 4096, always, rather than some configurable page size.
      2) Page numbers are 32 bits.
      3) The deflate queue is not actually used by any device implementation (see issue virtio-25).
      4) The "actual" number is kind of useless, and (along with the deflate queue) requires the guest to track pages, rather than just faulting them in.
      5) The config is little-endian by mistake (may not matter).

      We could just move the entire thing to legacy, and have a new balloon device, like:
      1) An incoming queue for balloon size updates or stats request.
      2) An outgoing queue for giving 64 bit address/length pairs to balloon, answering stats.
      3) No config space, no features.

      Thoughts?

        Attachments

          Activity

            People

            • Assignee:
              rusty Rusty Russell (Inactive)
              Reporter:
              rusty Rusty Russell (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: