Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
osv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Verlässliche Systemsoftware
projects
osv
Commits
1311706f
Commit
1311706f
authored
12 years ago
by
Avi Kivity
Browse files
Options
Downloads
Patches
Plain Diff
virtio: drop bogus 'using namespace pci' from header
parent
e7f5d083
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/virtio-device.hh
+2
-4
2 additions, 4 deletions
drivers/virtio-device.hh
with
2 additions
and
4 deletions
drivers/virtio-device.hh
+
2
−
4
View file @
1311706f
...
...
@@ -9,8 +9,6 @@
#include
"drivers/virtio-vring.hh"
using
namespace
pci
;
namespace
virtio
{
enum
VIRTIO_CONFIG
{
...
...
@@ -98,7 +96,7 @@ namespace virtio {
const
unsigned
max_virtqueues_nr
=
64
;
class
virtio_device
:
public
pci_device
{
class
virtio_device
:
public
pci
::
pci_device
{
public:
// The remaining space is defined by each driver as the per-driver
...
...
@@ -152,7 +150,7 @@ namespace virtio {
protected
:
vring
*
_queues
[
max_virtqueues_nr
];
u32
_num_queues
;
pci_bar
*
_bar1
;
pci
::
pci_bar
*
_bar1
;
bool
_cap_indirect_buf
;
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment