Giter Site home page Giter Site logo

libxenbe's People

Contributors

al1img avatar arminn avatar klogg avatar lorc avatar rshym avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

libxenbe's Issues

Need to upgrade Catch

During the upgrade of yocto to kirkstone we met an issue in Catch. For now, it is workarounded by hard-coded constants.
But it's obvious that we need to solve it in the proper way - to upgrade the Catch test-framework.

Apply Xen Code style

In order to be upstreamed to community, xen coding style should be used.
Apply Xen code style. Described in xen/CODING_STYLE document.

Reimplement frontend xenstore handling

There are some issues with frontend handling:

  • on xl shutdown DomU we have:

10.07.17 16:07:12.849 | XenStore | DBG - Path triggered: /local/domain/0/backend/vdispl/72/0/state
10.07.17 16:07:12.849 | XenStore | DBG - Path triggered: /local/domain/0/backend/vdispl/72/0/online
10.07.17 16:07:12.849 | XenStore | DBG - Path triggered: /local/domain/0/backend/vdispl/72/0/online
10.07.17 16:07:12.849 | XenStore | DBG - Stop
10.07.17 16:07:12.850 | DisplFrontend | ERR - Dom(72/0) Resource deadlock avoided
10.07.17 16:07:12.850 | DisplFrontend | INF - Dom(72/0) Set backend state to: [Closing]
10.07.17 16:07:12.850 | XenStore | DBG - Write int /local/domain/0/backend/vdispl/72/0/state : 5
10.07.17 16:07:12.850 | XenStore | DBG - Write string /local/domain/0/backend/vdispl/72/0/state : 5
10.07.17 16:07:12.851 | XenStore | DBG - Path triggered: /local/domain/0/backend/vdispl/72/0/state
10.07.17 16:07:12.851 | XenStore | DBG - Path triggered: /local/domain/0/backend/vdispl/72/0/state
10.07.17 16:07:12.851 | DisplFrontend | DBG - On frontend closing : 72
10.07.17 16:07:12.851 | DisplFrontend | INF - Dom(72/0) Set backend state to: [Closed]
10.07.17 16:07:12.851 | XenStore | DBG - Write int /local/domain/0/backend/vdispl/72/0/state : 6
10.07.17 16:07:12.851 | XenStore | DBG - Write string /local/domain/0/backend/vdispl/72/0/state : 6
10.07.17 16:07:12.851 | XenStore | DBG - Path triggered: /local/domain/0/backend/vdispl/72/0/state

and there is zombie xen store entries:

/local/domain/0/backend/vdispl = ""
/local/domain/0/backend/vdispl/72 = ""
/local/domain/0/backend/vdispl/72/0 = ""
/local/domain/0/backend/vdispl/72/0/state = "6"
/local/domain/0/backend/vdispl/73 = ""
/local/domain/0/backend/vdispl/73/0 = ""
/local/domain/0/backend/vdispl/73/0/state = "6"

When starts backend again:

10.07.17 16:25:26.663 | ShellSurface | DBG - Config handler, edges: 0, width: 1280, height: 1024
10.07.17 16:25:26.663 | Display | DBG - Dispatch events: 5
10.07.17 16:25:26.663 | XenStore | DBG - Set watch: /local/domain/0/backend/vdispl
10.07.17 16:25:26.663 | XenStore | DBG - Path triggered: /local/domain/0/backend/vdispl
10.07.17 16:25:26.663 | InputManager | DBG - Create
10.07.17 16:25:26.663 | XenStore | DBG - Watch triggered: /local/domain/0/backend/vdispl
10.07.17 16:25:26.663 | DisplBackend | DBG - Frontend list changed
10.07.17 16:25:26.663 | XenStore | DBG - Create xen store
10.07.17 16:25:26.663 | VkbdBackend | DBG - Create backend, device: vkbd, dom Id: 0
10.07.17 16:25:26.663 | XenStore | DBG - Start
10.07.17 16:25:26.663 | XenStore | DBG - Set watch: /local/domain/0/backend/vkbd
10.07.17 16:25:26.663 | XenStore | DBG - Set watch: /local/domain/0/backend/vdispl/72
10.07.17 16:25:26.663 | XenStore | DBG - Set watch: /local/domain/0/backend/vdispl/73
10.07.17 16:25:26.663 | XenStore | DBG - Path triggered: /local/domain/0/backend/vkbd
10.07.17 16:25:26.663 | XenStore | DBG - Watch triggered: /local/domain/0/backend/vkbd
10.07.17 16:25:26.663 | VkbdBackend | DBG - Frontend list changed
10.07.17 16:25:26.663 | XenStore | DBG - Path triggered: /local/domain/0/backend/vdispl/72
10.07.17 16:25:26.664 | XenStore | DBG - Watch triggered: /local/domain/0/backend/vdispl/72
10.07.17 16:25:26.664 | DisplBackend | DBG - Device list changed
10.07.17 16:25:26.664 | DisplBackend | INF - Create new frontend: Dom(72/0)
10.07.17 16:25:26.664 | XenStore | DBG - Create xen store
10.07.17 16:25:26.664 | DisplFrontend | DBG - Dom(72/0) Create frontend handler
10.07.17 16:25:26.664 | DisplFrontend | DBG - Frontend path: /local/domain/72/device/vdispl/0
10.07.17 16:25:26.664 | DisplFrontend | DBG - Backend path: /local/domain/0/backend/vdispl/72/0
10.07.17 16:25:26.664 | XenStore | DBG - Stop
10.07.17 16:25:26.664 | XenStore | DBG - Delete xen store
10.07.17 16:25:26.664 | DisplBackend | ERR - Can't read from: /local/domain/72/name
10.07.17 16:25:26.664 | XenStore | DBG - Path triggered: /local/domain/0/backend/vdispl/73
10.07.17 16:25:26.664 | XenStore | DBG - Watch triggered: /local/domain/0/backend/vdispl/73
10.07.17 16:25:26.664 | DisplBackend | DBG - Device list changed
10.07.17 16:25:26.664 | DisplBackend | INF - Create new frontend: Dom(73/0)
10.07.17 16:25:26.664 | XenStore | DBG - Create xen store
10.07.17 16:25:26.664 | DisplFrontend | DBG - Dom(73/0) Create frontend handler
10.07.17 16:25:26.665 | DisplFrontend | DBG - Frontend path: /local/domain/73/device/vdispl/0
10.07.17 16:25:26.665 | DisplFrontend | DBG - Backend path: /local/domain/0/backend/vdispl/73/0
10.07.17 16:25:26.665 | XenStore | DBG - Stop
10.07.17 16:25:26.665 | XenStore | DBG - Delete xen store
10.07.17 16:25:26.665 | DisplBackend | ERR - Can't read from: /local/domain/73/name

Compilation fails with XEN 4.11

I'm getting error

src/XenGnttab.cpp:149:55: error: 'GNTDEV_DMA_FLAG_WC' was not declared in this scope

I think, #41 is a good workaround.

XenGnttabBuffer - make class final

Class does not have a virtual dtor, this is the reason why it is not possible to inherit it.
Add 'final' declaration to check the inheritance at compile time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.